feat: implement skills system - #117
Merged
Merged
Conversation
- Implement cross-platform skills system and add initial skills - Implement skill schema and validation logic (Zod-based, YAML frontmatter parsing) - Add MCP tools (list_skills, get_skill) - Add initial skills (TDD, systematic-debugging, writing-plans, executing-plans, etc.) Update adapter documentation (claude-code, codex, cursor) - Add implementation plan documents - Add yaml package dependency close #116
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
implement skills system
📋 Summary
This PR implements a cross-platform skills system that allows AI assistants to access reusable workflows and best practices. Skills are stored as YAML frontmatter + Markdown files and can be accessed via MCP tools (
list_skills,get_skill). The implementation includes comprehensive validation, security checks, and initial skill library.🎯 Reason for Change
The skills system enables consistent development practices across different AI assistants (Claude Code, Codex, Cursor). By providing reusable workflows as structured skills, we can:
🔧 Key Changes
1. Skill Schema and Validation
2. MCP Tools
list_skills: Returns all available skills with name and descriptionget_skill: Retrieves full skill content by name3. Initial Skill Library
Added 9 core skills:
4. Code Organization
containsDangerousKeysto shared security utils (used by both agent and skill schemas)5. Documentation
None
📌 Migration Guide
No migration needed. This is a new feature addition.
✅ Testing
All changes include comprehensive test coverage:
Run tests:
yarn test📦 Changed Files
Core Implementation:
apps/mcp-server/src/rules/skill.schema.ts- Skill schema and validationapps/mcp-server/src/rules/skill.schema.spec.ts- Schema testsapps/mcp-server/src/mcp/mcp-serverless.ts- Skill loading and MCP toolsapps/mcp-server/src/mcp/mcp-serverless.spec.ts- Integration testsapps/mcp-server/src/shared/security.utils.ts- Shared security utilitiesSkills:
packages/rules/.ai-rules/skills/README.md- Skills catalogpackages/rules/.ai-rules/skills/*/SKILL.md- 9 skill filesDocumentation:
packages/rules/.ai-rules/adapters/*.md- Adapter updatesdocs/skills-implementation-plan.md- Implementation planDependencies:
apps/mcp-server/package.json- Addedyamlpackageyarn.lock- Dependency lock fileTotal: 21 files changed, 2717 insertions(+), 48 deletions(-)
🔍 Review Checklist
🔗 Related Issues
Closes #116