Skip to content

feat(skills): group skills by category + surface when_to_use - #17

Merged
dcvz merged 3 commits into
mainfrom
feat/skills-category-grouping
Jun 6, 2026
Merged

feat(skills): group skills by category + surface when_to_use#17
dcvz merged 3 commits into
mainfrom
feat/skills-category-grouping

Conversation

@dcvz

@dcvz dcvz commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Parse category and when_to_use from each skill's SKILL.md frontmatter (Skill gains both fields; defaults: categorytool, when_to_use→empty, so un-migrated skills still work).
  • format_skills_xml now groups skills into <skill_group category="…"> blocks in a fixed order (tool, workflow, report, then any extras sorted) and surfaces <when_to_use> per skill — giving the agent the signal to choose/compose skills.
  • cica stays taxonomy-agnostic: it renders whatever category a skill declares (unknown categories still shown); the vocabulary/rules live in the ai-skills repo, not here.

This is Phase A (skills foundation) of the River-style strategy. The companion ai-skills changes (Lean+ SKILL.md contract, curated 7-skill catalog, competitor-brief workflow) land in the ai-skills repo.

Test Plan

  • cargo test --bin cica skills — 12 pass
  • cargo clippy --all-targets -- -D warnings — 0
  • cargo fmt --check — clean
  • Backward-compat: skill with no category renders under tool; empty category: line also defaults to tool
  • After ai-skills merges + router sync: skills appear grouped-by-category in the prompt

🤖 Generated with Claude Code

dcvz and others added 3 commits June 6, 2026 21:25
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… prompt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dcvz
dcvz merged commit 19b6333 into main Jun 6, 2026
7 checks passed
@dcvz
dcvz deleted the feat/skills-category-grouping branch June 6, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant