home-manager/ai-tools/agent-skills/skills/workflow-patterns/SKILL.md
Patterns for output formats, reflection checkpoints, agent references, and self-evaluation shared across agents and commands.
npx skillsauth add takeokunn/nixos-configuration Workflow PatternsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use ref attribute to reference agent defined in agents/ directory. readonly attribute indicates whether agent can modify files. </example> </pattern>
<pattern name="self_evaluate_phase"> <description>Standard self-evaluation phase for commands and agents that produce reports</description> <example> <phase name="self_evaluate"> <objective>Brief quality assessment of output</objective> <step order="1"> <action>Calculate confidence using decision_criteria factors</action> <tool>Decision criteria evaluation</tool> <output>Confidence score</output> </step> <step order="2"> <action>Identify top 1-2 critical issues if confidence below 80</action> <tool>Gap analysis</tool> <output>Issue list</output> </step> <step order="3"> <action>Append self_feedback section to output</action> <tool>Output formatting</tool> <output>Self-feedback section</output> </step> </phase> </example> </pattern> <pattern name="self_feedback_output"> <description>Standard self-feedback output section for commands that include self-evaluation</description> <example> <self_feedback> <confidence>XX/100 (based on decision_criteria calculation)</confidence> <issues> - [Critical] Issue description (if any, max 2 total) - [Warning] Issue description (if any) </issues> </self_feedback> </example> </pattern> </patterns><best_practices> <practice priority="critical">Use output_format for all agents that return structured results</practice> <practice priority="critical">Include reflection_checkpoint at key workflow decision points</practice> <practice priority="critical">Include prepare_phase for Serena initialization in commands</practice> <practice priority="high">Add self_evaluate_phase for agents producing reports or recommendations</practice> <practice priority="high">Use failure_handling phase in all workflows</practice> <practice priority="medium">Use agent_ref syntax for consistent agent references in commands</practice> </best_practices>
<rules priority="critical"> <rule>Output status must use standard criteria (success >= 80, warning 60-79, error less than 60)</rule> <rule>Reflection checkpoints must include confidence threshold</rule> <rule>Commands must include prepare_phase for Serena initialization</rule> </rules> <rules priority="standard"> <rule>Include failure_handling phase in complex workflows</rule> <rule>Use self_feedback_output format for self-evaluation results</rule> <rule>Use agent_ref with readonly attribute for clarity</rule> </rules> <constraints> <must>Use standard output_status_criteria thresholds</must> <must>Include confidence score in all structured outputs</must> <must>Define threshold in reflection_checkpoints</must> <must>Include prepare_phase in command workflows</must> <avoid>Custom status thresholds that differ from standard</avoid> <avoid>Omitting failure_handling in complex workflows</avoid> <avoid>Omitting Serena initialization in commands</avoid> </constraints><related_skills> <skill name="core-patterns">Base templates for error escalation, decision criteria, enforcement</skill> <skill name="parallelization-patterns">Parallel execution and timeout configuration</skill> <skill name="serena-usage">Serena MCP operations (memory, symbol search, code navigation)</skill> </related_skills>
<related_agents> <agent name="validator">Verify workflow consistency and checkpoint completeness</agent> </related_agents>
tools
This skill should be used when the user asks to parse, search, grep, query, filter, or extract headings, sections, tasks, code blocks, links, or tables from Markdown files. Use when working with mdq, jq-style Markdown querying, section extraction, checklist validation, CI task scripts, or documentation automation pipelines.
development
Practical SBCL (Steel Bank Common Lisp) operations guide. Use this skill whenever the user mentions SBCL execution/debugging, --script usage, REPL workflows, backtraces, ASDF loading, save-lisp-and-die, profiling, or SLY-based Common Lisp development.
tools
Context7 MCP documentation retrieval patterns for up-to-date library and API references. Use this skill whenever current library docs, API signatures, version-specific behavior, or migration notes are needed.
tools
This skill should be used when the user asks to "write typescript", "typescript config", "tsconfig", "type definition", "generics", "utility types", or works with TypeScript language patterns and configuration. Provides comprehensive TypeScript ecosystem patterns and best practices.