skill-registry
When to Use
- When adding a new skill to the project registry
- When searching for skills by name or description
- After creating a new skill to register it automatically
Critical Patterns
- Maintain a JSON file with skill names and descriptions
- Use commands to add new skills to the registry
- Search functionality to find skills based on queries
Integration with skill-creator
This skill is designed to work in conjunction with skill-creator. After using skill-creator to create a new skill, use this skill to automatically add the new skill to the JSON registry. This ensures that all skills are tracked and searchable.
Example workflow:
- Use
skill-creatorto create a new skill folder and SKILL.md. - Extract the name and description from the new SKILL.md.
- Use the add command to update
assets/registry.json.
Code Examples
No code examples needed, as this is a management skill.
Commands
# Add a new skill to the registry (from project root)
jq '.skills += [{"name": "new-skill", "description": "Description of new skill"}]' .agents/skills/skill-registry/assets/registry.json > temp.json && mv temp.json .agents/skills/skill-registry/assets/registry.json
# Search for skills
jq '.skills[] | select(.name | contains("search-term"))' .agents/skills/skill-registry/assets/registry.json
More from phar-dev/phardev.dot
safe-refactor
Performs safe code refactoring with comprehensive safety measures.
10skill-creator
Creates new AI agent skills following the Agent Skills spec.
7git-master
MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with delegate_task(category='quick', load_skills=['git-master'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'who wrote', 'when was X added', 'find the commit that'.
7skill-finder
Helps the agent find and recommend the most appropriate skill for a given task or user query by searching the skill-registry.
6command-creator
Creates new opencode command files with proper structure, templates, and validation. Generates .md files in .opencode/commands/ with YAML frontmatter and actionable templates.
6