[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71J390EGDBENY4SPFBDY1FX":3,"skill-same:01M71J390EGDBENY4SPFBDY1FX":101},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":46,"commitSha":47,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M71J390EGDBENY4SPFBDY1FX","sensei",null,"**WORKFLOW SKILL** — Iteratively improve skill frontmatter compliance using the Ralph loop pattern. WHEN: \"run sensei\", \"sensei help\", \"improve skill\", \"fix frontmatter\", \"skill compliance\", \"frontmatter audit\", \"score skill\", \"check skill tokens\". INVOKES: token counting tools, test runners, git commands. FOR SINGLE OPERATIONS: use token CLI directly for counts\u002Fchecks.","agency-black\u002FSkills","agency-black","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234862658?v=4","01M6HWVFPNGNR5N2CX9ECSAD57","agencia.black","01M719WF77BF3HN0N9FK1APEFY",0,"MIT","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fsensei\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"use","cli","test","check","ralph loop","workflow","ralph","when","improve skill","loop","counting","single","improve","runners","fix","tokens","workflow skill","for","Token Counting","2026-11-10 10:12:30",false,"---\nname: sensei\ndescription: \"**WORKFLOW SKILL** — Iteratively improve skill frontmatter compliance using the Ralph loop pattern. WHEN: \\\"run sensei\\\", \\\"sensei help\\\", \\\"improve skill\\\", \\\"fix frontmatter\\\", \\\"skill compliance\\\", \\\"frontmatter audit\\\", \\\"score skill\\\", \\\"check skill tokens\\\". INVOKES: token counting tools, test runners, git commands. FOR SINGLE OPERATIONS: use token CLI directly for counts\u002Fchecks.\"\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"1.0.5\"\n---\n\n# Sensei\n\n> \"A true master teaches not by telling, but by refining.\" - The Skill Sensei\n\nAutomates skill frontmatter improvement using the [Ralph loop pattern](https:\u002F\u002Fgithub.com\u002Fsoderlind\u002Fralph) - iteratively improving skills until they reach Medium-High compliance with passing tests, then checking token usage and prompting for action.\n\n## Help\n\nWhen user says \"sensei help\" or asks how to use sensei, show this:\n\n```\n╔══════════════════════════════════════════════════════════════════╗\n║  SENSEI - Skill Frontmatter Compliance Improver                  ║\n╠══════════════════════════════════════════════════════════════════╣\n║                                                                  ║\n║  USAGE:                                                          ║\n║    Run sensei on \u003Cskill-name>              # Single skill        ║\n║    Run sensei on \u003Cskill-name> --skip-integration  # Fast mode    ║\n║    Run sensei on \u003Cskill1>, \u003Cskill2>, ...   # Multiple skills     ║\n║    Run sensei on all Low-adherence skills  # Batch by score      ║\n║    Run sensei on all skills                # All skills       ║\n║                                                                  ║\n║  EXAMPLES:                                                       ║\n║    Run sensei on appinsights-instrumentation                     ║\n║    Run sensei on azure-security --skip-integration               ║\n║    Run sensei on azure-security, azure-observability             ║\n║    Run sensei on all Low-adherence skills                        ║\n║                                                                  ║\n║  WHAT IT DOES:                                                   ║\n║    1. READ      - Load skill's SKILL.md, tests, and token count  ║\n║    2. SCORE     - Check compliance (Low\u002FMedium\u002FMedium-High\u002FHigh) ║\n║    3. SCAFFOLD  - Create tests from template if missing          ║\n║    4. IMPROVE   - Add WHEN: triggers (cross-model optimized)     ║\n║    5. TEST      - Run tests, fix if needed                       ║\n║    6. REFERENCES- Validate markdown links                        ║\n║    7. TOKENS    - Check token budget, gather suggestions         ║\n║    8. SUMMARY   - Show before\u002Fafter with suggestions             ║\n║    9. PROMPT    - Ask: Commit, Create Issue, or Skip?            ║\n║   10. REPEAT    - Until Medium-High score + tests pass           ║\n║                                                                  ║\n║  TARGET SCORE: Medium-High                                       ║\n║    ✓ Description > 150 chars, ≤ 60 words                         ║\n║    ✓ Has \"WHEN:\" trigger phrases (preferred)                     ║\n║    ✓ No \"DO NOT USE FOR:\" (unless disambiguation-critical)         ║\n║    ✓ SKILL.md \u003C 500 tokens (soft limit)                          ║\n║                                                                  ║\n║  MORE INFO:                                                      ║\n║    See .github\u002Fskills\u002Fsensei\u002FREADME.md for full documentation    ║\n║                                                                  ║\n╚══════════════════════════════════════════════════════════════════╝\n```\n\n## When to Use\n\n- Improving a skill's frontmatter compliance score\n- Adding trigger phrases and anti-triggers to skill descriptions\n- Batch-improving multiple skills at once\n- Auditing and fixing Low-adherence skills\n\n## Invocation Modes\n\n### Single Skill\n```\nRun sensei on azure-deploy\n```\n\n### Multiple Skills\n```\nRun sensei on azure-security, azure-observability\n```\n\n### By Adherence Level\n```\nRun sensei on all Low-adherence skills\n```\n\n### All Skills\n```\nRun sensei on all skills\n```\n\n### GEPA Mode (Deep Optimization)\n```\nRun sensei on my-skill --gepa\nRun sensei on my-skill --gepa --skip-integration\nRun sensei on all skills --gepa\n```\n\nWhen `--gepa` is used, Step 5 (IMPROVE) is replaced with GEPA evolutionary optimization.\nInstead of template-based improvements, GEPA parses trigger prompt arrays from the existing\ntest harness and combines them with content quality heuristics to build a fitness function.\nAn LLM proposes and evaluates many candidate improvements automatically. Note: GEPA does not\nexecute Jest tests directly — it uses the test data (prompts) as evaluation inputs.\n\n**GEPA score-only mode** (no LLM calls, just evaluate current quality):\n```\nRun sensei score my-skill\nRun sensei score all skills\n```\n\n## The Ralph Loop\n\nFor each skill, execute this loop until score >= Medium-High AND tests pass:\n\n1. **READ** - Load `plugin\u002Fskills\u002F{skill-name}\u002FSKILL.md`, tests, and token count\n2. **SCORE** - Run spec-based compliance check (see [SCORING.md](references\u002FSCORING.md)):\n   - Validate `name` per [agentskills.io spec](https:\u002F\u002Fagentskills.io\u002Fspecification) (no `--`, no start\u002Fend `-`, lowercase alphanumeric)\n   - Check description length and word count (≤60 words)\n   - Check triggers (WHEN: preferred, USE FOR: accepted)\n   - Warn on \"DO NOT USE FOR:\" (risky in multi-skill environments — **exception**: REQUIRED for skills that share trigger overlap with broader skills like `azure-prepare`)\n   - Preserve optional spec fields (`license`, `metadata`, `allowed-tools`) if present\n3. **CHECK** - If score >= Medium-High AND tests pass → go to TOKENS step\n4. **SCAFFOLD** - If `tests\u002F{skill-name}\u002F` doesn't exist, create from `tests\u002F_template\u002F`\n5. **IMPROVE FRONTMATTER** - Add WHEN: triggers (stay under 60 words and 1024 chars)\n5b. **IMPROVE WITH GEPA** (when `--gepa` flag is set) — Replaces step 5 (IMPROVE FRONTMATTER) with automated optimization; step 6 (IMPROVE TESTS) still runs normally:\n   - Auto-discovers `tests\u002F{skill-name}\u002Ftriggers.test.ts` and extracts prompt arrays\n   - Builds a GEPA evaluator scoring content quality + trigger accuracy based on those trigger prompt arrays (not Jest test pass\u002Ffail results)\n   - Runs `python .github\u002Fskills\u002Fsensei\u002Fscripts\u002Fgepa\u002Fauto_evaluator.py optimize --skill {skill-name} --skills-dir plugin\u002Fskills --tests-dir tests`\n   - Shows diff of optimized SKILL.md for user approval\n   - GEPA uses existing test trigger definitions as configuration — it does not execute, replace, or modify Jest tests\n6. **IMPROVE TESTS** - Update `shouldTriggerPrompts` and `shouldNotTriggerPrompts` to match the finalized frontmatter (including any GEPA changes)\n7. **VERIFY** - Run `cd tests && npm test -- --testPathPatterns={skill-name}`\n8. **VALIDATE REFERENCES** - Run `cd scripts && npm run references {skill-name}` to check markdown links\n9. **TOKENS** - Check token budget and line count (\u003C 500 lines per spec), gather optimization suggestions\n10. **SUMMARY** - Display before\u002Fafter comparison with unimplemented suggestions\n11. **PROMPT** - Ask user: Commit, Create Issue, or Skip?\n12. **REPEAT** - Go to step 2 (max 5 iterations per skill)\n\n## Scoring Criteria (Quick Reference)\n\nSensei validates skills against the [agentskills.io specification](https:\u002F\u002Fagentskills.io\u002Fspecification). See [SCORING.md](references\u002FSCORING.md) for full details.\n\n| Score | Requirements |\n|-------|--------------|\n| **Invalid** | Name fails spec validation (consecutive hyphens, start\u002Fend hyphen, uppercase, etc.) |\n| **Low** | Basic description, no explicit triggers |\n| **Medium** | Has trigger keywords\u002Fphrases, description > 150 chars, >60 words |\n| **Medium-High** | Has \"WHEN:\" (preferred) or \"USE FOR:\" triggers, ≤60 words |\n| **High** | Medium-High + compatibility field |\n\n**Target: Medium-High** (distinctive triggers, concise description)\n\n> ⚠️ \"DO NOT USE FOR:\" is **risky in multi-skill environments** (15+ overlapping skills) — causes keyword contamination on fast-pattern-matching models. Safe for small, isolated skill sets. Use positive routing with `WHEN:` for cross-model safety.\n>\n> **Exception — disambiguation-critical skills:** When a skill's `USE FOR` triggers directly overlap with a broader skill (e.g., `azure-prepare` owns \"deploy to Azure\"), `DO NOT USE FOR:` is **REQUIRED** to prevent the broader skill from capturing prompts that belong to the specialized skill. Removing it causes routing regressions. Integration tests validate this routing -- run them before removing any `DO NOT USE FOR:` clause.\n\n**Strongly recommended** (reported as suggestions if missing):\n- `license` — identifies the license applied to the skill\n- `metadata.version` — tracks the skill version for consumers\n\n## Frontmatter Template\n\nPer the [agentskills.io spec](https:\u002F\u002Fagentskills.io\u002Fspecification), required and optional fields:\n\n```yaml\n---\nname: skill-name\ndescription: \"[ACTION VERB] [UNIQUE_DOMAIN]. [One clarifying sentence]. WHEN: \\\"trigger 1\\\", \\\"trigger 2\\\", \\\"trigger 3\\\".\"\nlicense: MIT\nmetadata:\n  version: \"1.0\"\n# Other optional spec fields — preserve if already present:\n# metadata.author: example-org\n# allowed-tools: Bash(git:*) Read\n---\n```\n\n> **IMPORTANT:** Use inline double-quoted strings for descriptions. Do NOT use `>-` folded scalars (incompatible with skills.sh). Do NOT use `|` literal blocks (preserves newlines). Keep total description under 1024 characters and ≤60 words.\n\n> ⚠️ **\"DO NOT USE FOR:\" carries context-dependent risk.** In multi-skill environments (10+ skills with overlapping domains), anti-trigger clauses introduce the very keywords that cause wrong-skill activation on Claude Sonnet and fast-pattern-matching models ([evidence](https:\u002F\u002Fgist.github.com\u002Fkvenkatrajan\u002F52e6e77f5560ca30640490b4cc65d109)). For small, isolated skill sets (1-5 skills), the risk is low. When in doubt, use positive routing with `WHEN:` and distinctive quoted phrases.\n>\n> **Exception:** `DO NOT USE FOR:` is **REQUIRED** when a specialized skill's triggers overlap with a broader skill (e.g., `azure-hosted-copilot-sdk` vs. `azure-prepare` on \"deploy to Azure\"). Without the negative discriminator, the broader skill captures prompts that should route to the specialized one. Always run integration tests before removing a `DO NOT USE FOR:` clause.\n\n## Test Scaffolding\n\nWhen tests don't exist, scaffold from `tests\u002F_template\u002F`:\n\n```bash\ncp -r tests\u002F_template tests\u002F{skill-name}\n```\n\nThen update:\n1. `SKILL_NAME` constant in all test files\n2. `shouldTriggerPrompts` - 5+ prompts matching new frontmatter triggers\n3. `shouldNotTriggerPrompts` - 5+ prompts matching anti-triggers\n\n**Commit Messages:**\n```\nsensei: improve {skill-name} frontmatter\n```\n\n## Constraints\n\n- Only modify `plugin\u002Fskills\u002F` - these are the Azure skills used by Copilot\n- `.github\u002Fskills\u002F` contains meta-skills like sensei for developer tooling\n- Max 5 iterations per skill before moving on\n- Description must stay under 1024 characters\n- SKILL.md should stay under 500 tokens (soft limit)\n- Tests must pass before prompting for action\n- User chooses: Commit, Create Issue, or Skip after each skill\n\n## Flags\n\n| Flag | Description |\n|------|-------------|\n| `--skip-integration` | Skip integration tests for faster iteration. Only runs unit and trigger tests. |\n| `--gepa` | Use GEPA evolutionary optimization instead of template-based improvement. Auto-discovers tests and builds evaluator at runtime. |\n\n> ⚠️ Skipping integration tests speeds up the loop but may miss runtime issues. Consider running full tests before final commit.\n\n## Reference Documentation\n\n- [SCORING.md](references\u002FSCORING.md) - Detailed scoring criteria\n- [LOOP.md](references\u002FLOOP.md) - Ralph loop workflow details\n- [EXAMPLES.md](references\u002FEXAMPLES.md) - Before\u002Fafter examples\n- [TOKEN-INTEGRATION.md](references\u002FTOKEN-INTEGRATION.md) - Token budget integration\n\n## Related Skills\n\n- [markdown-token-optimizer](\u002F.github\u002Fskills\u002Fmarkdown-token-optimizer) - Token analysis and optimization\n- [skill-authoring](\u002F.github\u002Fskills\u002Fskill-authoring) - Skill writing guidelines\n","# Sensei\n\n> \"A true master teaches not by telling, but by refining.\" - The Skill Sensei\n\nAutomates skill frontmatter improvement using the [Ralph loop pattern](https:\u002F\u002Fgithub.com\u002Fsoderlind\u002Fralph) - iteratively improving skills until they reach Medium-High compliance with passing tests, then checking token usage and prompting for action.\n\n## Help\n\nWhen user says \"sensei help\" or asks how to use sensei, show this:\n\n```\n╔══════════════════════════════════════════════════════════════════╗\n║  SENSEI - Skill Frontmatter Compliance Improver                  ║\n╠══════════════════════════════════════════════════════════════════╣\n║                                                                  ║\n║  USAGE:                                                          ║\n║    Run sensei on \u003Cskill-name>              # Single skill        ║\n║    Run sensei on \u003Cskill-name> --skip-integration  # Fast mode    ║\n║    Run sensei on \u003Cskill1>, \u003Cskill2>, ...   # Multiple skills     ║\n║    Run sensei on all Low-adherence skills  # Batch by score      ║\n║    Run sensei on all skills                # All skills       ║\n║                                                                  ║\n║  EXAMPLES:                                                       ║\n║    Run sensei on appinsights-instrumentation                     ║\n║    Run sensei on azure-security --skip-integration               ║\n║    Run sensei on azure-security, azure-observability             ║\n║    Run sensei on all Low-adherence skills                        ║\n║                                                                  ║\n║  WHAT IT DOES:                                                   ║\n║    1. READ      - Load skill's SKILL.md, tests, and token count  ║\n║    2. SCORE     - Check compliance (Low\u002FMedium\u002FMedium-High\u002FHigh) ║\n║    3. SCAFFOLD  - Create tests from template if missing          ║\n║    4. IMPROVE   - Add WHEN: triggers (cross-model optimized)     ║\n║    5. TEST      - Run tests, fix if needed                       ║\n║    6. REFERENCES- Validate markdown links                        ║\n║    7. TOKENS    - Check token budget, gather suggestions         ║\n║    8. SUMMARY   - Show before\u002Fafter with suggestions             ║\n║    9. PROMPT    - Ask: Commit, Create Issue, or Skip?            ║\n║   10. REPEAT    - Until Medium-High score + tests pass           ║\n║                                                                  ║\n║  TARGET SCORE: Medium-High                                       ║\n║    ✓ Description > 150 chars, ≤ 60 words                         ║\n║    ✓ Has \"WHEN:\" trigger phrases (preferred)                     ║\n║    ✓ No \"DO NOT USE FOR:\" (unless disambiguation-critical)         ║\n║    ✓ SKILL.md \u003C 500 tokens (soft limit)                          ║\n║                                                                  ║\n║  MORE INFO:                                                      ║\n║    See .github\u002Fskills\u002Fsensei\u002FREADME.md for full documentation    ║\n║                                                                  ║\n╚══════════════════════════════════════════════════════════════════╝\n```\n\n## When to Use\n\n- Improving a skill's frontmatter compliance score\n- Adding trigger phrases and anti-triggers to skill descriptions\n- Batch-improving multiple skills at once\n- Auditing and fixing Low-adherence skills\n\n## Invocation Modes\n\n### Single Skill\n```\nRun sensei on azure-deploy\n```\n\n### Multiple Skills\n```\nRun sensei on azure-security, azure-observability\n```\n\n### By Adherence Level\n```\nRun sensei on all Low-adherence skills\n```\n\n### All Skills\n```\nRun sensei on all skills\n```\n\n### GEPA Mode (Deep Optimization)\n```\nRun sensei on my-skill --gepa\nRun sensei on my-skill --gepa --skip-integration\nRun sensei on all skills --gepa\n```\n\nWhen `--gepa` is used, Step 5 (IMPROVE) is replaced with GEPA evolutionary optimization.\nInstead of template-based improvements, GEPA parses trigger prompt arrays from the existing\ntest harness and combines them with content quality heuristics to build a fitness function.\nAn LLM proposes and evaluates many candidate improvements automatically. Note: GEPA does not\nexecute Jest tests directly — it uses the test data (prompts) as evaluation inputs.\n\n**GEPA score-only mode** (no LLM calls, just evaluate current quality):\n```\nRun sensei score my-skill\nRun sensei score all skills\n```\n\n## The Ralph Loop\n\nFor each skill, execute this loop until score >= Medium-High AND tests pass:\n\n1. **READ** - Load `plugin\u002Fskills\u002F{skill-name}\u002FSKILL.md`, tests, and token count\n2. **SCORE** - Run spec-based compliance check (see [SCORING.md](references\u002FSCORING.md)):\n   - Validate `name` per [agentskills.io spec](https:\u002F\u002Fagentskills.io\u002Fspecification) (no `--`, no start\u002Fend `-`, lowercase alphanumeric)\n   - Check description length and word count (≤60 words)\n   - Check triggers (WHEN: preferred, USE FOR: accepted)\n   - Warn on \"DO NOT USE FOR:\" (risky in multi-skill environments — **exception**: REQUIRED for skills that share trigger overlap with broader skills like `azure-prepare`)\n   - Preserve optional spec fields (`license`, `metadata`, `allowed-tools`) if present\n3. **CHECK** - If score >= Medium-High AND tests pass → go to TOKENS step\n4. **SCAFFOLD** - If `tests\u002F{skill-name}\u002F` doesn't exist, create from `tests\u002F_template\u002F`\n5. **IMPROVE FRONTMATTER** - Add WHEN: triggers (stay under 60 words and 1024 chars)\n5b. **IMPROVE WITH GEPA** (when `--gepa` flag is set) — Replaces step 5 (IMPROVE FRONTMATTER) with automated optimization; step 6 (IMPROVE TESTS) still runs normally:\n   - Auto-discovers `tests\u002F{skill-name}\u002Ftriggers.test.ts` and extracts prompt arrays\n   - Builds a GEPA evaluator scoring content quality + trigger accuracy based on those trigger prompt arrays (not Jest test pass\u002Ffail results)\n   - Runs `python .github\u002Fskills\u002Fsensei\u002Fscripts\u002Fgepa\u002Fauto_evaluator.py optimize --skill {skill-name} --skills-dir plugin\u002Fskills --tests-dir tests`\n   - Shows diff of optimized SKILL.md for user approval\n   - GEPA uses existing test trigger definitions as configuration — it does not execute, replace, or modify Jest tests\n6. **IMPROVE TESTS** - Update `shouldTriggerPrompts` and `shouldNotTriggerPrompts` to match the finalized frontmatter (including any GEPA changes)\n7. **VERIFY** - Run `cd tests && npm test -- --testPathPatterns={skill-name}`\n8. **VALIDATE REFERENCES** - Run `cd scripts && npm run references {skill-name}` to check markdown links\n9. **TOKENS** - Check token budget and line count (\u003C 500 lines per spec), gather optimization suggestions\n10. **SUMMARY** - Display before\u002Fafter comparison with unimplemented suggestions\n11. **PROMPT** - Ask user: Commit, Create Issue, or Skip?\n12. **REPEAT** - Go to step 2 (max 5 iterations per skill)\n\n## Scoring Criteria (Quick Reference)\n\nSensei validates skills against the [agentskills.io specification](https:\u002F\u002Fagentskills.io\u002Fspecification). See [SCORING.md](references\u002FSCORING.md) for full details.\n\n| Score | Requirements |\n|-------|--------------|\n| **Invalid** | Name fails spec validation (consecutive hyphens, start\u002Fend hyphen, uppercase, etc.) |\n| **Low** | Basic description, no explicit triggers |\n| **Medium** | Has trigger keywords\u002Fphrases, description > 150 chars, >60 words |\n| **Medium-High** | Has \"WHEN:\" (preferred) or \"USE FOR:\" triggers, ≤60 words |\n| **High** | Medium-High + compatibility field |\n\n**Target: Medium-High** (distinctive triggers, concise description)\n\n> ⚠️ \"DO NOT USE FOR:\" is **risky in multi-skill environments** (15+ overlapping skills) — causes keyword contamination on fast-pattern-matching models. Safe for small, isolated skill sets. Use positive routing with `WHEN:` for cross-model safety.\n>\n> **Exception — disambiguation-critical skills:** When a skill's `USE FOR` triggers directly overlap with a broader skill (e.g., `azure-prepare` owns \"deploy to Azure\"), `DO NOT USE FOR:` is **REQUIRED** to prevent the broader skill from capturing prompts that belong to the specialized skill. Removing it causes routing regressions. Integration tests validate this routing -- run them before removing any `DO NOT USE FOR:` clause.\n\n**Strongly recommended** (reported as suggestions if missing):\n- `license` — identifies the license applied to the skill\n- `metadata.version` — tracks the skill version for consumers\n\n## Frontmatter Template\n\nPer the [agentskills.io spec](https:\u002F\u002Fagentskills.io\u002Fspecification), required and optional fields:\n\n```yaml\n---\nname: skill-name\ndescription: \"[ACTION VERB] [UNIQUE_DOMAIN]. [One clarifying sentence]. WHEN: \\\"trigger 1\\\", \\\"trigger 2\\\", \\\"trigger 3\\\".\"\nlicense: MIT\nmetadata:\n  version: \"1.0\"\n# Other optional spec fields — preserve if already present:\n# metadata.author: example-org\n# allowed-tools: Bash(git:*) Read\n---\n```\n\n> **IMPORTANT:** Use inline double-quoted strings for descriptions. Do NOT use `>-` folded scalars (incompatible with skills.sh). Do NOT use `|` literal blocks (preserves newlines). Keep total description under 1024 characters and ≤60 words.\n\n> ⚠️ **\"DO NOT USE FOR:\" carries context-dependent risk.** In multi-skill environments (10+ skills with overlapping domains), anti-trigger clauses introduce the very keywords that cause wrong-skill activation on Claude Sonnet and fast-pattern-matching models ([evidence](https:\u002F\u002Fgist.github.com\u002Fkvenkatrajan\u002F52e6e77f5560ca30640490b4cc65d109)). For small, isolated skill sets (1-5 skills), the risk is low. When in doubt, use positive routing with `WHEN:` and distinctive quoted phrases.\n>\n> **Exception:** `DO NOT USE FOR:` is **REQUIRED** when a specialized skill's triggers overlap with a broader skill (e.g., `azure-hosted-copilot-sdk` vs. `azure-prepare` on \"deploy to Azure\"). Without the negative discriminator, the broader skill captures prompts that should route to the specialized one. Always run integration tests before removing a `DO NOT USE FOR:` clause.\n\n## Test Scaffolding\n\nWhen tests don't exist, scaffold from `tests\u002F_template\u002F`:\n\n```bash\ncp -r tests\u002F_template tests\u002F{skill-name}\n```\n\nThen update:\n1. `SKILL_NAME` constant in all test files\n2. `shouldTriggerPrompts` - 5+ prompts matching new frontmatter triggers\n3. `shouldNotTriggerPrompts` - 5+ prompts matching anti-triggers\n\n**Commit Messages:**\n```\nsensei: improve {skill-name} frontmatter\n```\n\n## Constraints\n\n- Only modify `plugin\u002Fskills\u002F` - these are the Azure skills used by Copilot\n- `.github\u002Fskills\u002F` contains meta-skills like sensei for developer tooling\n- Max 5 iterations per skill before moving on\n- Description must stay under 1024 characters\n- SKILL.md should stay under 500 tokens (soft limit)\n- Tests must pass before prompting for action\n- User chooses: Commit, Create Issue, or Skip after each skill\n\n## Flags\n\n| Flag | Description |\n|------|-------------|\n| `--skip-integration` | Skip integration tests for faster iteration. Only runs unit and trigger tests. |\n| `--gepa` | Use GEPA evolutionary optimization instead of template-based improvement. Auto-discovers tests and builds evaluator at runtime. |\n\n> ⚠️ Skipping integration tests speeds up the loop but may miss runtime issues. Consider running full tests before final commit.\n\n## Reference Documentation\n\n- [SCORING.md](references\u002FSCORING.md) - Detailed scoring criteria\n- [LOOP.md](references\u002FLOOP.md) - Ralph loop workflow details\n- [EXAMPLES.md](references\u002FEXAMPLES.md) - Before\u002Fafter examples\n- [TOKEN-INTEGRATION.md](references\u002FTOKEN-INTEGRATION.md) - Token budget integration\n\n## Related Skills\n\n- [markdown-token-optimizer](\u002F.github\u002Fskills\u002Fmarkdown-token-optimizer) - Token analysis and optimization\n- [skill-authoring](\u002F.github\u002Fskills\u002Fskill-authoring) - Skill writing guidelines\n",{"name":5,"license":15,"metadata":43,"description":7},{"author":44,"version":45},"Microsoft","1.0.5","main","681496e0662f4c45c4758fae9d4510ae87311bf2","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills","https:\u002F\u002Fgithub.com\u002Fagency-black","http:\u002F\u002Fwww.dogma.black","Las grandes ideas merecen una ejecución impecable. Construimos plataformas web, aplicaciones y ecosistemas digitales completos. Esta Trinidad es nuestro dogma.","2026-05-29 16:13:55",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add agency-black\u002FSkills --skill sensei",{"tool":59,"command":60},"bunx","bunx skills add agency-black\u002FSkills --skill sensei",{"tool":62,"command":63},"pnpm","pnpm dlx skills add agency-black\u002FSkills --skill sensei","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fsensei\u002FSKILL.md",true,[67,73,79,83,87,91,95],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},".DS_Store","OTHER","其他",6148,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fsensei\u002F.DS_Store",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"README.md","REFERENCE","参考文档",17133,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fsensei\u002FREADME.md",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002FEXAMPLES.md",15922,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fsensei\u002Freferences\u002FEXAMPLES.md",{"path":84,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002FLOOP.md",19412,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fsensei\u002Freferences\u002FLOOP.md",{"path":88,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002FSCORING.md",17282,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fsensei\u002Freferences\u002FSCORING.md",{"path":92,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002FTOKEN-INTEGRATION.md",4874,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fsensei\u002Freferences\u002FTOKEN-INTEGRATION.md",{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Fgepa\u002Fauto_evaluator.py","SCRIPT","脚本",22877,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fsensei\u002Fscripts\u002Fgepa\u002Fauto_evaluator.py",[102,111,136,162,186,209],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":110},"01M73SXDAGZVNRAJMDVXWEE26Q","x-article-publisher","Publish Markdown articles to X (Twitter) Articles editor with proper formatting. Use when user wants to publish a Markdown file\u002FURL to X Articles, or mentions \"publish to X\", \"post article to Twitter\", \"X article\", or wants help with X Premium article publishing. Handles cover image upload and converts Markdown to rich text automatically.","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fqiaomu-x-article-publisher\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fqiaomu-x-article-publisher\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":38},"01M71JZVZ0TVW7Z5DQBRWSBG8A","zarr-python","Chunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I\u002FO, S3\u002FGCS via fsspec, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fzarr-python\u002FSKILL.md",[],[118,119,120,121,122,123,124,125,19,126,36,127,128,129,130,131,132,133,134,135],"zarr","python","zarr python","scale","write","scientific computing","s3","numpy","s3fs","dask","parallel","edit","read","scientific","workflows","remote","Cloud Storage","arrays",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":140,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":38},"01M71JYXC5VAEJT8KXN5GRK32S","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fxvary-stock-research\u002FSKILL.md",[],[144,145,146,147,148,149,150,151,152,153,132,154,119,155,156,157,158,159,160,161],"xvary stock research","research","stock","xvary","market data","compare","Market","code","analyze","analysis","thesis","equity","community","sec edgar","with","2026","cursor","codex",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":166,"licenseFileUrl":167,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":38},"01M71JVSDPDQ5040YBN6J1ASKY","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[171,172,173,174,175,176,177,178,158,179,180,181,182,183,184,185,36],"webapp","testing","webapp testing","screenshots","applications","behavior","web","playwright","browser","logs","toolkit","debugging","frontend","local","ui",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":166,"licenseFileUrl":190,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":38},"01M71JV64CW7R6FYYK9JWWGW0X","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[194,177,195,196,197,183,198,199,36,200,201,30,202,203,204,205,206,207,208,19],"web artifacts builder","artifacts","artifacts builder","builder","ui components","Tailwind","css","single-file","state management","routing","state","multi","react","components","file",{"skillNo":210,"name":211,"nameZh":6,"description":212,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":213,"categories":214,"keywords":215,"publishedAt":38},"01M71JS4X2FRY41DE84DEP06MN","vercel-react-view-transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.","https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fvercel-react-view-transitions\u002FSKILL.md",[],[216,206,217,218,219,220,207,221,222,223,224,26,225,226,227,228,200,229,230,231],"vercel react view transitions","transitions","vercel","react view transitions","view","libraries","create","route","api","implementing","element","states","types","Animation","back","shared"]