Skip to content

chore(#30): add skill sync script and improve phase detection - #55

Merged
admarble merged 2 commits into
mainfrom
feature/30-chore-add-skill-sync-script-and-improve-phase-dete
Jan 10, 2026
Merged

admarble merged 2 commits into
mainfrom
feature/30-chore-add-skill-sync-script-and-improve-phase-dete

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

  • Add npm run sync:skills command to copy templates/skills/* to .claude/skills/
  • Add security-review phase detection based on security-related labels (security, auth, authentication, permissions, admin)
  • Add recommended-workflow.md reference to /spec skill showing expected output format
  • Add comprehensive unit tests for parseRecommendedWorkflow() and detectPhasesFromLabels() functions

Test plan

  • npm run sync:skills successfully copies skill templates
  • Security labels trigger security-review phase in detectPhasesFromLabels()
  • Workflow reference doc exists at templates/skills/spec/references/recommended-workflow.md
  • parseRecommendedWorkflow tests cover arrow separators, comma separators, quality loop variations, missing sections
  • All 252 tests pass
  • Build succeeds

Closes #30

🤖 Generated with Claude Code

- Add `npm run sync:skills` script to copy templates/skills to .claude/skills
- Add security label detection (security, auth, permissions, admin)
- Add security-review phase to Phase type union
- Add recommended-workflow.md reference for /spec output format
- Add comprehensive unit tests for parseRecommendedWorkflow and detectPhasesFromLabels

Closes #30

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Run sync:skills to copy template reference to active skills directory.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@admarble
admarble merged commit 88c076c into main Jan 10, 2026
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.

chore: Add skill sync script and improve phase detection

1 participant