diff --git a/cmd/generate_changelog/incoming/2178.txt b/cmd/generate_changelog/incoming/2178.txt index d6dbf8e4..cadd83e7 100644 --- a/cmd/generate_changelog/incoming/2178.txt +++ b/cmd/generate_changelog/incoming/2178.txt @@ -1,3 +1,6 @@ -### PR [#2178](https://github.com/danielmiessler/Fabric/pull/2178) by [OdinKral](https://github.com/OdinKral): feat(patterns): add generate_frontmatter for PKM/Obsidian users +### PR [#2178](https://github.com/danielmiessler/Fabric/pull/2178) by [OdinKral](https://github.com/OdinKral) and [ksylvan](https://github.com/ksylvan): feat(patterns): add generate_frontmatter for PKM/Obsidian users -- Adds a new `generate_frontmatter` pattern that produces clean, paste-ready YAML frontmatter — including title, aliases, tags, type, author, source, date, summary, and status fields — from any text input, designed for PKM systems such as Obsidian and Logseq. +- Add `generate_frontmatter` to conversion, extraction, and writing categories +- Document PKM-ready YAML metadata fields in pattern explanations +- Register pattern descriptions and extracts for suggestion workflows +- Credit both contributors in incoming changelog entry diff --git a/data/patterns/pattern_explanations.md b/data/patterns/pattern_explanations.md index e5c6be5b..3898e6ac 100644 --- a/data/patterns/pattern_explanations.md +++ b/data/patterns/pattern_explanations.md @@ -175,84 +175,85 @@ 171. **find_logical_fallacies**: Identifies and analyzes fallacies in arguments, classifying them as formal or informal with detailed reasoning. 172. **fix_typos**: Proofreads and corrects typos, spelling, grammar, and punctuation errors in text. 173. **generate_code_rules**: Compile best-practice coding rules and guardrails for AI-assisted development workflows from the provided content. -174. **get_wow_per_minute**: Determines the wow-factor of content per minute based on surprise, novelty, insight, value, and wisdom, measuring how rewarding the content is for the viewer. -175. **greybeard_secure_prompt_engineer**: Creates secure, production-grade system prompts with NASA-style mission assurance, outputting hardened prompts, injection test suites, and evaluation rubrics. -176. **heal_person**: Develops a comprehensive plan for spiritual and mental healing based on psychological profiles, providing personalized recommendations for mental health improvement and overall life enhancement. -177. **humanize**: Rewrites AI-generated text to sound natural, conversational, and easy to understand, maintaining clarity and simplicity. -178. **identify_dsrp_distinctions**: Encourages creative, systems-based thinking by exploring distinctions, boundaries, and their implications, drawing on insights from prominent systems thinkers. -179. **identify_dsrp_perspectives**: Explores the concept of distinctions in systems thinking, focusing on how boundaries define ideas, influence understanding, and reveal or obscure insights. -180. **identify_dsrp_relationships**: Encourages exploration of connections, distinctions, and boundaries between ideas, inspired by systems thinkers to reveal new insights and patterns in complex systems. -181. **identify_dsrp_systems**: Encourages organizing ideas into systems of parts and wholes, inspired by systems thinkers to explore relationships and how changes in organization impact meaning and understanding. -182. **identify_job_stories**: Identifies key job stories or requirements for roles. -183. **improve_academic_writing**: Refines text into clear, concise academic language while improving grammar, coherence, and clarity, with a list of changes. -184. **improve_prompt**: Improves an LLM/AI prompt by applying expert prompt writing strategies for better results and clarity. -185. **improve_report_finding**: Improves a penetration test security finding by providing detailed descriptions, risks, recommendations, references, quotes, and a concise summary in markdown format. -186. **improve_writing**: Refines text by correcting grammar, enhancing style, improving clarity, and maintaining the original meaning. skills. -187. **judge_output**: Evaluates Honeycomb queries by judging their effectiveness, providing critiques and outcomes based on language nuances and analytics relevance. -188. **label_and_rate**: Labels content with up to 20 single-word tags and rates it based on idea count and relevance to human meaning, AI, and other related themes, assigning a tier (S, A, B, C, D) and a quality score. -189. **md_callout**: Classifies content and generates a markdown callout based on the provided text, selecting the most appropriate type. -190. **model_as_sherlock_freud**: Builds psychological models using detective reasoning and psychoanalytic insight to understand human behavior. -191. **official_pattern_template**: Template to use if you want to create new fabric patterns. -192. **predict_person_actions**: Predicts behavioral responses based on psychological profiles and challenges. -193. **prepare_7s_strategy**: Prepares a comprehensive briefing document from 7S's strategy capturing organizational profile, strategic elements, and market dynamics with clear, concise, and organized content. -194. **provide_guidance**: Provides psychological and life coaching advice, including analysis, recommendations, and potential diagnoses, with a compassionate and honest tone. -195. **rate_ai_response**: Rates the quality of AI responses by comparing them to top human expert performance, assigning a letter grade, reasoning, and providing a 1-100 score based on the evaluation. -196. **rate_ai_result**: Assesses the quality of AI/ML/LLM work by deeply analyzing content, instructions, and output, then rates performance based on multiple dimensions, including coverage, creativity, and interdisciplinary thinking. -197. **rate_content**: Labels content with up to 20 single-word tags and rates it based on idea count and relevance to human meaning, AI, and other related themes, assigning a tier (S, A, B, C, D) and a quality score. -198. **rate_value**: Produces the best possible output by deeply analyzing and understanding the input and its intended purpose. -199. **raw_query**: Fully digests and contemplates the input to produce the best possible result based on understanding the sender's intent. -200. **recommend_artists**: Recommends a personalized festival schedule with artists aligned to your favorite styles and interests, including rationale. -201. **recommend_pipeline_upgrades**: Optimizes vulnerability-checking pipelines by incorporating new information and improving their efficiency, with detailed explanations of changes. -202. **recommend_talkpanel_topics**: Produces a clean set of proposed talks or panel talking points for a person based on their interests and goals, formatted for submission to a conference organizer. -203. **recommend_yoga_practice**: Provides personalized yoga sequences, meditation guidance, and holistic lifestyle advice based on individual profiles. -204. **refine_design_document**: Refines a design document based on a design review by analyzing, mapping concepts, and implementing changes using valid Markdown. -205. **review_design**: Reviews and analyzes architecture design, focusing on clarity, component design, system integrations, security, performance, scalability, and data management. -206. **review_code**: Performs a comprehensive code review, providing detailed feedback on correctness, security, and performance. -207. **sanitize_broken_html_to_markdown**: Converts messy HTML into clean, properly formatted Markdown, applying custom styling and ensuring compatibility with Vite. -208. **suggest_pattern**: Suggests appropriate fabric patterns or commands based on user input, providing clear explanations and options for users. -209. **suggest_gt_command**: Suggest optimal Gas Town (GT) commands based on user intent and task description. -210. **suggest_openclaw_pattern**: Suggests the most appropriate Openclaw CLI command based on user intent, mapping natural language requests to commands for messaging, device management, scheduling, and automation. -211. **summarize**: Summarizes content into a 20-word sentence, main points, and takeaways, formatted with numbered lists in Markdown. -212. **summarize_board_meeting**: Creates formal meeting notes from board meeting transcripts for corporate governance documentation. -213. **summarize_debate**: Summarizes debates, identifies primary disagreement, extracts arguments, and provides analysis of evidence and argument strength to predict outcomes. -214. **summarize_git_changes**: Summarizes recent project updates from the last 7 days, focusing on key changes with enthusiasm. -215. **summarize_git_diff**: Summarizes and organizes Git diff changes with clear, succinct commit messages and bullet points. -216. **summarize_lecture**: Extracts relevant topics, definitions, and tools from lecture transcripts, providing structured summaries with timestamps and key takeaways. -217. **summarize_legislation**: Summarizes complex political proposals and legislation by analyzing key points, proposed changes, and providing balanced, positive, and cynical characterizations. -218. **summarize_meeting**: Analyzes meeting transcripts to extract a structured summary, including an overview, key points, tasks, decisions, challenges, timeline, references, and next steps. -219. **summarize_micro**: Summarizes content into a 20-word sentence, 3 main points, and 3 takeaways, formatted in clear, concise Markdown. -220. **summarize_newsletter**: Extracts the most meaningful, interesting, and useful content from a newsletter, summarizing key sections such as content, opinions, tools, companies, and follow-up items in clear, structured Markdown. -221. **summarize_paper**: Summarizes an academic paper by detailing its title, authors, technical approach, distinctive features, experimental setup, results, advantages, limitations, and conclusion in a clear, structured format using human-readable Markdown. -222. **summarize_prompt**: Summarizes AI chat prompts by describing the primary function, unique approach, and expected output in a concise paragraph. The summary is focused on the prompt's purpose without unnecessary details or formatting. -223. **summarize_pull-requests**: Summarizes pull requests for a coding project by providing a summary and listing the top PRs with human-readable descriptions. -224. **summarize_rpg_session**: Summarizes a role-playing game session by extracting key events, combat stats, character changes, quotes, and more. -225. **t_analyze_challenge_handling**: Provides 8-16 word bullet points evaluating how well challenges are being addressed, calling out any lack of effort. -226. **t_check_dunning_kruger**: Assess narratives for Dunning-Kruger patterns by contrasting self-perception with demonstrated competence and confidence cues. -227. **t_check_metrics**: Analyzes deep context from the TELOS file and input instruction, then provides a wisdom-based output while considering metrics and KPIs to assess recent improvements. -228. **t_create_h3_career**: Summarizes context and produces wisdom-based output by deeply analyzing both the TELOS File and the input instruction, considering the relationship between the two. -229. **t_create_opening_sentences**: Describes from TELOS file the person's identity, goals, and actions in 4 concise, 32-word bullet points, humbly. -230. **t_describe_life_outlook**: Describes from TELOS file a person's life outlook in 5 concise, 16-word bullet points. -231. **t_extract_intro_sentences**: Summarizes from TELOS file a person's identity, work, and current projects in 5 concise and grounded bullet points. -232. **t_extract_panel_topics**: Creates 5 panel ideas with titles and descriptions based on deep context from a TELOS file and input. -233. **t_find_blindspots**: Identify potential blindspots in thinking, frames, or models that may expose the individual to error or risk. -234. **t_find_negative_thinking**: Analyze a TELOS file and input to identify negative thinking in documents or journals, followed by tough love encouragement. -235. **t_find_neglected_goals**: Analyze a TELOS file and input instructions to identify goals or projects that have not been worked on recently. -236. **t_give_encouragement**: Analyze a TELOS file and input instructions to evaluate progress, provide encouragement, and offer recommendations for continued effort. -237. **t_red_team_thinking**: Analyze a TELOS file and input instructions to red-team thinking, models, and frames, then provide recommendations for improvement. -238. **t_threat_model_plans**: Analyze a TELOS file and input instructions to create threat models for a life plan and recommend improvements. -239. **t_visualize_mission_goals_projects**: Analyze a TELOS file and input instructions to create an ASCII art diagram illustrating the relationship of missions, goals, and projects. -240. **t_year_in_review**: Analyze a TELOS file to create insights about a person or entity, then summarize accomplishments and visualizations in bullet points. -241. **to_flashcards**: Create Anki flashcards from a given text, focusing on concise, optimized questions and answers without external context. -242. **transcribe_minutes**: Extracts (from meeting transcription) meeting minutes, identifying actionables, insightful ideas, decisions, challenges, and next steps in a structured format. -243. **translate**: Translates sentences or documentation into the specified language code while maintaining the original formatting and tone. -244. **tweet**: Provides a step-by-step guide on crafting engaging tweets with emojis, covering Twitter basics, account creation, features, and audience targeting. -245. **ultimate_law_safety**: Evaluates actions, policies, or systems against the Ultimate Law framework — a minimal, falsifiable ethical constraint that prohibits creating unwilling victims. -246. **write_essay**: Writes essays in the style of a specified author, embodying their unique voice, vocabulary, and approach. Uses `author_name` variable. -247. **write_essay_pg**: Writes concise, clear essays in the style of Paul Graham, focusing on simplicity, clarity, and illumination of the provided topic. -248. **write_hackerone_report**: Generates concise, clear, and reproducible bug bounty reports, detailing vulnerability impact, steps to reproduce, and exploit details for triagers. -249. **write_latex**: Generates syntactically correct LaTeX code for a new.tex document, ensuring proper formatting and compatibility with pdflatex. -250. **write_micro_essay**: Writes concise, clear, and illuminating essays on the given topic in the style of Paul Graham. -251. **write_nuclei_template_rule**: Generates Nuclei YAML templates for detecting vulnerabilities using HTTP requests, matchers, extractors, and dynamic data extraction. -252. **write_pull-request**: Drafts detailed pull request descriptions, explaining changes, providing reasoning, and identifying potential bugs from the git diff command output. -253. **write_semgrep_rule**: Creates accurate and working Semgrep rules based on input, following syntax guidelines and specific language considerations. -254. **youtube_summary**: Create concise, timestamped Youtube video summaries that highlight key points. +174. **generate_frontmatter**: Generates paste-ready YAML frontmatter for PKM notes, with title, aliases, tags, type, summary, and status fields. +175. **get_wow_per_minute**: Determines the wow-factor of content per minute based on surprise, novelty, insight, value, and wisdom, measuring how rewarding the content is for the viewer. +176. **greybeard_secure_prompt_engineer**: Creates secure, production-grade system prompts with NASA-style mission assurance, outputting hardened prompts, injection test suites, and evaluation rubrics. +177. **heal_person**: Develops a comprehensive plan for spiritual and mental healing based on psychological profiles, providing personalized recommendations for mental health improvement and overall life enhancement. +178. **humanize**: Rewrites AI-generated text to sound natural, conversational, and easy to understand, maintaining clarity and simplicity. +179. **identify_dsrp_distinctions**: Encourages creative, systems-based thinking by exploring distinctions, boundaries, and their implications, drawing on insights from prominent systems thinkers. +180. **identify_dsrp_perspectives**: Explores the concept of distinctions in systems thinking, focusing on how boundaries define ideas, influence understanding, and reveal or obscure insights. +181. **identify_dsrp_relationships**: Encourages exploration of connections, distinctions, and boundaries between ideas, inspired by systems thinkers to reveal new insights and patterns in complex systems. +182. **identify_dsrp_systems**: Encourages organizing ideas into systems of parts and wholes, inspired by systems thinkers to explore relationships and how changes in organization impact meaning and understanding. +183. **identify_job_stories**: Identifies key job stories or requirements for roles. +184. **improve_academic_writing**: Refines text into clear, concise academic language while improving grammar, coherence, and clarity, with a list of changes. +185. **improve_prompt**: Improves an LLM/AI prompt by applying expert prompt writing strategies for better results and clarity. +186. **improve_report_finding**: Improves a penetration test security finding by providing detailed descriptions, risks, recommendations, references, quotes, and a concise summary in markdown format. +187. **improve_writing**: Refines text by correcting grammar, enhancing style, improving clarity, and maintaining the original meaning. skills. +188. **judge_output**: Evaluates Honeycomb queries by judging their effectiveness, providing critiques and outcomes based on language nuances and analytics relevance. +189. **label_and_rate**: Labels content with up to 20 single-word tags and rates it based on idea count and relevance to human meaning, AI, and other related themes, assigning a tier (S, A, B, C, D) and a quality score. +190. **md_callout**: Classifies content and generates a markdown callout based on the provided text, selecting the most appropriate type. +191. **model_as_sherlock_freud**: Builds psychological models using detective reasoning and psychoanalytic insight to understand human behavior. +192. **official_pattern_template**: Template to use if you want to create new fabric patterns. +193. **predict_person_actions**: Predicts behavioral responses based on psychological profiles and challenges. +194. **prepare_7s_strategy**: Prepares a comprehensive briefing document from 7S's strategy capturing organizational profile, strategic elements, and market dynamics with clear, concise, and organized content. +195. **provide_guidance**: Provides psychological and life coaching advice, including analysis, recommendations, and potential diagnoses, with a compassionate and honest tone. +196. **rate_ai_response**: Rates the quality of AI responses by comparing them to top human expert performance, assigning a letter grade, reasoning, and providing a 1-100 score based on the evaluation. +197. **rate_ai_result**: Assesses the quality of AI/ML/LLM work by deeply analyzing content, instructions, and output, then rates performance based on multiple dimensions, including coverage, creativity, and interdisciplinary thinking. +198. **rate_content**: Labels content with up to 20 single-word tags and rates it based on idea count and relevance to human meaning, AI, and other related themes, assigning a tier (S, A, B, C, D) and a quality score. +199. **rate_value**: Produces the best possible output by deeply analyzing and understanding the input and its intended purpose. +200. **raw_query**: Fully digests and contemplates the input to produce the best possible result based on understanding the sender's intent. +201. **recommend_artists**: Recommends a personalized festival schedule with artists aligned to your favorite styles and interests, including rationale. +202. **recommend_pipeline_upgrades**: Optimizes vulnerability-checking pipelines by incorporating new information and improving their efficiency, with detailed explanations of changes. +203. **recommend_talkpanel_topics**: Produces a clean set of proposed talks or panel talking points for a person based on their interests and goals, formatted for submission to a conference organizer. +204. **recommend_yoga_practice**: Provides personalized yoga sequences, meditation guidance, and holistic lifestyle advice based on individual profiles. +205. **refine_design_document**: Refines a design document based on a design review by analyzing, mapping concepts, and implementing changes using valid Markdown. +206. **review_design**: Reviews and analyzes architecture design, focusing on clarity, component design, system integrations, security, performance, scalability, and data management. +207. **review_code**: Performs a comprehensive code review, providing detailed feedback on correctness, security, and performance. +208. **sanitize_broken_html_to_markdown**: Converts messy HTML into clean, properly formatted Markdown, applying custom styling and ensuring compatibility with Vite. +209. **suggest_pattern**: Suggests appropriate fabric patterns or commands based on user input, providing clear explanations and options for users. +210. **suggest_gt_command**: Suggest optimal Gas Town (GT) commands based on user intent and task description. +211. **suggest_openclaw_pattern**: Suggests the most appropriate Openclaw CLI command based on user intent, mapping natural language requests to commands for messaging, device management, scheduling, and automation. +212. **summarize**: Summarizes content into a 20-word sentence, main points, and takeaways, formatted with numbered lists in Markdown. +213. **summarize_board_meeting**: Creates formal meeting notes from board meeting transcripts for corporate governance documentation. +214. **summarize_debate**: Summarizes debates, identifies primary disagreement, extracts arguments, and provides analysis of evidence and argument strength to predict outcomes. +215. **summarize_git_changes**: Summarizes recent project updates from the last 7 days, focusing on key changes with enthusiasm. +216. **summarize_git_diff**: Summarizes and organizes Git diff changes with clear, succinct commit messages and bullet points. +217. **summarize_lecture**: Extracts relevant topics, definitions, and tools from lecture transcripts, providing structured summaries with timestamps and key takeaways. +218. **summarize_legislation**: Summarizes complex political proposals and legislation by analyzing key points, proposed changes, and providing balanced, positive, and cynical characterizations. +219. **summarize_meeting**: Analyzes meeting transcripts to extract a structured summary, including an overview, key points, tasks, decisions, challenges, timeline, references, and next steps. +220. **summarize_micro**: Summarizes content into a 20-word sentence, 3 main points, and 3 takeaways, formatted in clear, concise Markdown. +221. **summarize_newsletter**: Extracts the most meaningful, interesting, and useful content from a newsletter, summarizing key sections such as content, opinions, tools, companies, and follow-up items in clear, structured Markdown. +222. **summarize_paper**: Summarizes an academic paper by detailing its title, authors, technical approach, distinctive features, experimental setup, results, advantages, limitations, and conclusion in a clear, structured format using human-readable Markdown. +223. **summarize_prompt**: Summarizes AI chat prompts by describing the primary function, unique approach, and expected output in a concise paragraph. The summary is focused on the prompt's purpose without unnecessary details or formatting. +224. **summarize_pull-requests**: Summarizes pull requests for a coding project by providing a summary and listing the top PRs with human-readable descriptions. +225. **summarize_rpg_session**: Summarizes a role-playing game session by extracting key events, combat stats, character changes, quotes, and more. +226. **t_analyze_challenge_handling**: Provides 8-16 word bullet points evaluating how well challenges are being addressed, calling out any lack of effort. +227. **t_check_dunning_kruger**: Assess narratives for Dunning-Kruger patterns by contrasting self-perception with demonstrated competence and confidence cues. +228. **t_check_metrics**: Analyzes deep context from the TELOS file and input instruction, then provides a wisdom-based output while considering metrics and KPIs to assess recent improvements. +229. **t_create_h3_career**: Summarizes context and produces wisdom-based output by deeply analyzing both the TELOS File and the input instruction, considering the relationship between the two. +230. **t_create_opening_sentences**: Describes from TELOS file the person's identity, goals, and actions in 4 concise, 32-word bullet points, humbly. +231. **t_describe_life_outlook**: Describes from TELOS file a person's life outlook in 5 concise, 16-word bullet points. +232. **t_extract_intro_sentences**: Summarizes from TELOS file a person's identity, work, and current projects in 5 concise and grounded bullet points. +233. **t_extract_panel_topics**: Creates 5 panel ideas with titles and descriptions based on deep context from a TELOS file and input. +234. **t_find_blindspots**: Identify potential blindspots in thinking, frames, or models that may expose the individual to error or risk. +235. **t_find_negative_thinking**: Analyze a TELOS file and input to identify negative thinking in documents or journals, followed by tough love encouragement. +236. **t_find_neglected_goals**: Analyze a TELOS file and input instructions to identify goals or projects that have not been worked on recently. +237. **t_give_encouragement**: Analyze a TELOS file and input instructions to evaluate progress, provide encouragement, and offer recommendations for continued effort. +238. **t_red_team_thinking**: Analyze a TELOS file and input instructions to red-team thinking, models, and frames, then provide recommendations for improvement. +239. **t_threat_model_plans**: Analyze a TELOS file and input instructions to create threat models for a life plan and recommend improvements. +240. **t_visualize_mission_goals_projects**: Analyze a TELOS file and input instructions to create an ASCII art diagram illustrating the relationship of missions, goals, and projects. +241. **t_year_in_review**: Analyze a TELOS file to create insights about a person or entity, then summarize accomplishments and visualizations in bullet points. +242. **to_flashcards**: Create Anki flashcards from a given text, focusing on concise, optimized questions and answers without external context. +243. **transcribe_minutes**: Extracts (from meeting transcription) meeting minutes, identifying actionables, insightful ideas, decisions, challenges, and next steps in a structured format. +244. **translate**: Translates sentences or documentation into the specified language code while maintaining the original formatting and tone. +245. **tweet**: Provides a step-by-step guide on crafting engaging tweets with emojis, covering Twitter basics, account creation, features, and audience targeting. +246. **ultimate_law_safety**: Evaluates actions, policies, or systems against the Ultimate Law framework — a minimal, falsifiable ethical constraint that prohibits creating unwilling victims. +247. **write_essay**: Writes essays in the style of a specified author, embodying their unique voice, vocabulary, and approach. Uses `author_name` variable. +248. **write_essay_pg**: Writes concise, clear essays in the style of Paul Graham, focusing on simplicity, clarity, and illumination of the provided topic. +249. **write_hackerone_report**: Generates concise, clear, and reproducible bug bounty reports, detailing vulnerability impact, steps to reproduce, and exploit details for triagers. +250. **write_latex**: Generates syntactically correct LaTeX code for a new.tex document, ensuring proper formatting and compatibility with pdflatex. +251. **write_micro_essay**: Writes concise, clear, and illuminating essays on the given topic in the style of Paul Graham. +252. **write_nuclei_template_rule**: Generates Nuclei YAML templates for detecting vulnerabilities using HTTP requests, matchers, extractors, and dynamic data extraction. +253. **write_pull-request**: Drafts detailed pull request descriptions, explaining changes, providing reasoning, and identifying potential bugs from the git diff command output. +254. **write_semgrep_rule**: Creates accurate and working Semgrep rules based on input, following syntax guidelines and specific language considerations. +255. **youtube_summary**: Create concise, timestamped Youtube video summaries that highlight key points. diff --git a/data/patterns/suggest_pattern/system.md b/data/patterns/suggest_pattern/system.md index c9273daa..82cfbe38 100644 --- a/data/patterns/suggest_pattern/system.md +++ b/data/patterns/suggest_pattern/system.md @@ -81,7 +81,7 @@ Match the request to one or more of these primary categories: **CLASSIFICATION**: apply_ul_tags -**CONVERSION**: clean_text, convert_to_markdown, create_graph_from_input, create_slides, export_data_as_csv, extract_videoid, humanize, md_callout, sanitize_broken_html_to_markdown, to_flashcards, transcribe_minutes, translate, tweet, write_latex +**CONVERSION**: clean_text, convert_to_markdown, create_graph_from_input, create_slides, export_data_as_csv, extract_videoid, generate_frontmatter, humanize, md_callout, sanitize_broken_html_to_markdown, to_flashcards, transcribe_minutes, translate, tweet, write_latex **CR THINKING**: audit_consent, audit_transparency, capture_thinkers_work, check_falsifiability, create_idea_compass, create_markmap_visualization, create_upgrade_pack, detect_mind_virus, detect_silent_victims, dialog_with_socrates, extract_alpha, extract_controversial_ideas, extract_ethical_framework, extract_extraordinary_claims, extract_predictions, extract_primary_problem, extract_wisdom_nometa, find_hidden_message, find_logical_fallacies, summarize_debate, t_analyze_challenge_handling, t_check_dunning_kruger, t_find_blindspots, t_find_negative_thinking, t_find_neglected_goals, t_red_team_thinking, ultimate_law_safety @@ -91,7 +91,7 @@ Match the request to one or more of these primary categories: **DEVOPS**: analyze_terraform_plan -**EXTRACT**: analyze_comments, create_aphorisms, create_golden_rules, create_tags, create_upgrade_pack, create_video_chapters, extract_affiliate_products, extract_algorithm_update_recommendations, extract_all_quotes, extract_alpha, extract_article_wisdom, extract_bd_ideas, extract_book_ideas, extract_book_recommendations, extract_business_ideas, extract_characters, extract_controversial_ideas, extract_core_message, extract_ctf_writeup, extract_domains, extract_ethical_framework, extract_extraordinary_claims, extract_ideas, extract_insights, extract_insights_dm, extract_instructions, extract_jokes, extract_latest_video, extract_main_activities, extract_main_idea, extract_mcp_servers, extract_most_redeeming_thing, extract_patterns, extract_poc, extract_predictions, extract_primary_problem, extract_primary_solution, extract_product_features, extract_questions, extract_recipe, extract_recommendations, extract_references, extract_skills, extract_song_meaning, extract_sponsors, extract_video_commerce_entities, extract_videoid, extract_wisdom, extract_wisdom_agents, extract_wisdom_dm, extract_wisdom_nometa, extract_wisdom_short, extract_wisdom_with_attribution, generate_code_rules, t_extract_intro_sentences, t_extract_panel_topics +**EXTRACT**: analyze_comments, create_aphorisms, create_golden_rules, create_tags, create_upgrade_pack, create_video_chapters, extract_affiliate_products, extract_algorithm_update_recommendations, extract_all_quotes, extract_alpha, extract_article_wisdom, extract_bd_ideas, extract_book_ideas, extract_book_recommendations, extract_business_ideas, extract_characters, extract_controversial_ideas, extract_core_message, extract_ctf_writeup, extract_domains, extract_ethical_framework, extract_extraordinary_claims, extract_ideas, extract_insights, extract_insights_dm, extract_instructions, extract_jokes, extract_latest_video, extract_main_activities, extract_main_idea, extract_mcp_servers, extract_most_redeeming_thing, extract_patterns, extract_poc, extract_predictions, extract_primary_problem, extract_primary_solution, extract_product_features, extract_questions, extract_recipe, extract_recommendations, extract_references, extract_skills, extract_song_meaning, extract_sponsors, extract_video_commerce_entities, extract_videoid, extract_wisdom, extract_wisdom_agents, extract_wisdom_dm, extract_wisdom_nometa, extract_wisdom_short, extract_wisdom_with_attribution, generate_code_rules, generate_frontmatter, t_extract_intro_sentences, t_extract_panel_topics **GAMING**: create_npc, create_rpg_summary, summarize_rpg_session @@ -117,7 +117,7 @@ Match the request to one or more of these primary categories: **WELLNESS**: analyze_spiritual_text, create_better_frame, extract_wisdom_dm, heal_person, model_as_sherlock_freud, predict_person_actions, provide_guidance, recommend_yoga_practice, t_give_encouragement -**WRITING**: analyze_prose_json, analyze_prose_pinker, apply_ul_tags, clean_text, compare_and_contrast, convert_to_markdown, create_5_sentence_summary, create_academic_paper, create_aphorisms, create_better_frame, create_design_document, create_design_system, create_diy, create_formal_email, create_hormozi_offer, create_keynote, create_micro_summary, create_newsletter_entry, create_prediction_block, create_prd, create_show_intro, create_slides, create_story_about_people_interaction, create_story_explanation, create_summary, create_tags, create_user_story, enrich_blog_post, explain_docs, explain_terms, fix_typos, humanize, improve_academic_writing, improve_writing, label_and_rate, md_callout, official_pattern_template, recommend_talkpanel_topics, refine_design_document, summarize, summarize_debate, summarize_lecture, summarize_legislation, summarize_meeting, summarize_micro, summarize_newsletter, summarize_paper, summarize_rpg_session, t_create_opening_sentences, t_describe_life_outlook, t_extract_intro_sentences, t_extract_panel_topics, t_give_encouragement, t_year_in_review, transcribe_minutes, tweet, write_essay, write_essay_pg, write_hackerone_report, write_latex, write_micro_essay, write_pull-request +**WRITING**: analyze_prose_json, analyze_prose_pinker, apply_ul_tags, clean_text, compare_and_contrast, convert_to_markdown, create_5_sentence_summary, create_academic_paper, create_aphorisms, create_better_frame, create_design_document, create_design_system, create_diy, create_formal_email, create_hormozi_offer, create_keynote, create_micro_summary, create_newsletter_entry, create_prediction_block, create_prd, create_show_intro, create_slides, create_story_about_people_interaction, create_story_explanation, create_summary, create_tags, create_user_story, enrich_blog_post, explain_docs, explain_terms, fix_typos, generate_frontmatter, humanize, improve_academic_writing, improve_writing, label_and_rate, md_callout, official_pattern_template, recommend_talkpanel_topics, refine_design_document, summarize, summarize_debate, summarize_lecture, summarize_legislation, summarize_meeting, summarize_micro, summarize_newsletter, summarize_paper, summarize_rpg_session, t_create_opening_sentences, t_describe_life_outlook, t_extract_intro_sentences, t_extract_panel_topics, t_give_encouragement, t_year_in_review, transcribe_minutes, tweet, write_essay, write_essay_pg, write_hackerone_report, write_latex, write_micro_essay, write_pull-request ## Workflow Suggestions diff --git a/data/patterns/suggest_pattern/user.md b/data/patterns/suggest_pattern/user.md index 65da08f1..b5fb70eb 100644 --- a/data/patterns/suggest_pattern/user.md +++ b/data/patterns/suggest_pattern/user.md @@ -702,6 +702,10 @@ Create glossaries of advanced terms with definitions and analogies. Proofreads and corrects typos, spelling, grammar, and punctuation errors. +### generate_frontmatter + +Generate YAML frontmatter with tags, aliases and summary for PKM notes. + ### humanize Transform technical content into approachable language. diff --git a/scripts/pattern_descriptions/pattern_descriptions.json b/scripts/pattern_descriptions/pattern_descriptions.json index 61cf2a36..038e64c2 100644 --- a/scripts/pattern_descriptions/pattern_descriptions.json +++ b/scripts/pattern_descriptions/pattern_descriptions.json @@ -2108,6 +2108,15 @@ "EXTRACT", "BUSINESS" ] + }, + { + "patternName": "generate_frontmatter", + "description": "Generate YAML frontmatter with tags, aliases and summary for PKM notes.", + "tags": [ + "WRITING", + "EXTRACT", + "CONVERSION" + ] } ] } \ No newline at end of file diff --git a/scripts/pattern_descriptions/pattern_extracts.json b/scripts/pattern_descriptions/pattern_extracts.json index 04fa5796..8c263cc4 100644 --- a/scripts/pattern_descriptions/pattern_extracts.json +++ b/scripts/pattern_descriptions/pattern_extracts.json @@ -1015,6 +1015,10 @@ { "patternName": "extract_video_commerce_entities", "pattern_extract": "# IDENTITY and PURPOSE You are an expert at identifying every commercially relevant entity in a video transcript — the products shown, tools used, plants grown, books referenced, services mentioned, and brands displayed. You think like an affiliate manager reviewing content for placement opportunities. You understand that video content is uniquely rich with implicit product signals: a host reaches for a specific brand of pruners, uses a particular app on screen, wears a recognizable piece of gear. You surface all of it. Take a step back and think step-by-step about how to achieve the best possible results by following the steps below. # STEPS - Read the full transcript and extract all named or clearly implied commercial entities. - For each entity, record: - Name (exact as spoken, or brand inferred from description) - Category: tool / plant / material / book / course / service / software / apparel / food / other - Timestamp or approximate position (early / mid / late) if determinable from context - Mention type: explicit recommendation / casual use / on-screen / background / sponsored - Audience fit: how well this product matches what the video's audience would buy - Group entities by category. - Note any entities mentioned multiple times — repetition is a strong buying signal. - Identify the top 5 entities by purchase likelihood. # OUTPUT SECTIONS ## ENTITIES BY CATEGORY For each category with at least one entity: ### [Category Name] - `Name` | Mention type | Position | Audience fit (high/mid/low) ## REPEATED MENTIONS Entities mentioned more than once — strong conversion signal: - `Name` | Number of mentions | Why it matters ## TOP 5 PURCHASE CANDIDATES The entities most likely to drive a sale, ranked: 1. `Name` — [One sentence: why this audience buys this product] 2. ... ## CONTENT GAPS Needs the creator addressed where no product was named — affiliate placement opportunities: - `Need` | Suggested category # OUTPUT INSTRUCTIONS - Only output Markdown. - Do not output warnings or notes — only the requested sections. - If a section has no entries, write \"None identified.\" - Keep brand names exact. - Audience fit is relative to the video's topic and likely viewer — assess contextually. - Timestamp positions are approximate — use early (0-33%), mid (33-66%), late (66-100%) if exact times aren't determinable. # INPUT INPUT:" + }, + { + "patternName": "generate_frontmatter", + "pattern_extract": "# IDENTITY and PURPOSE You are an expert at knowledge management and note metadata. Given any text — a document, article, essay, book chapter, transcript, meeting notes, or rough draft — you generate clean, well-structured YAML frontmatter suitable for personal knowledge management (PKM) systems such as Obsidian, Logseq, or any markdown-based notes vault. Your output is immediately paste-ready: valid YAML wrapped in `---` delimiters, placed at the top of the note. Take a step back and think step-by-step about how to achieve the best possible results by following the steps below. # STEPS - Read the entire input carefully to understand its content, type, and context. - Infer the most accurate and descriptive title if one is not explicitly present. - Identify the document type (article, chapter, meeting-notes, transcript, essay, reference, idea, etc.). - Extract 3–8 specific, lowercase tags that describe the content. Prefer concrete concepts over vague categories. Avoid single-word generic tags like \"notes\" or \"text\". - Generate 1–3 aliases: alternative titles or short names someone might search for. - Write a one-sentence summary (15–25 words) capturing the core argument or content. - Identify the author or source if present; leave blank if not. - Use today's date or the document date if detectable; otherwise omit the date field. - Note the document's primary domain or area (e.g., productivity, philosophy, technology, science, history). # OUTPUT Output ONLY the YAML frontmatter block. No explanation, no preamble, no commentary after the block. ```yaml --- title: \"Exact or inferred title\" aliases: - \"Short name\" - \"Alternative title\" tags: - specific-tag - another-tag - domain/subtopic type: article # article | chapter | transcript | meeting-notes | essay | reference | idea | book author: \"Author Name\" # omit if unknown source: \"\" # URL or citation if available; omit if not date: YYYY-MM-DD # omit if not determinable summary: \"One sentence capturing the core content or argument of this document.\" status: unprocessed # unprocessed | reading | processed | archived --- ``` # OUTPUT INSTRUCTIONS - Output ONLY the YAML block — nothing before `---` and nothing after the closing `---`. - Use lowercase for all tags. Use hyphens for multi-word tags (e.g., `knowledge-management`, not `KnowledgeManagement`). - For hierarchical tags use slash notation: `philosophy/stoicism`, `technology/ai`. - Be specific: `decision-making` is better than `thinking`; `ancient-rome` is better than `history`. - The summary must be a complete sentence, not a fragment. - Omit fields that cannot be reasonably inferred (author, source, date) rather than guessing. - Do not add any fields not shown in the template above. - Do not give warnings or notes; only output the YAML block. # INPUT INPUT:" } ] } \ No newline at end of file