nav-skill-creator
Skill355 starsChanged 13 months agoMITView on GitHub
Analyze codebase patterns and create custom skills for repetitive workflows. Use when project needs automation or pattern enforcement. Auto-invoke when user says "create a skill for...", "automate this workflow", or "we keep doing X manually".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- alekspetrov/navigatorword for word, first seen Oct 31, 2025
Other versions1 project uses a version of this.
Word for word · 1
- alekspetrov/navigator★ 355100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- backend-endpointSkill
- backend-testSkill
- database-migrationSkill
- frontend-componentSkill
- frontend-testSkill
- nav-briefSkill
- nav-compactSkill
- nav-deep-researchSkill
- nav-diagnoseSkill
- nav-featuresSkill
- nav-graphSkill
- nav-initSkill
- nav-loopSkill
- nav-markerSkill
- nav-onboardSkill
- nav-pilotSkill
- nav-profileSkill
- nav-releaseSkill
- nav-simplifySkill
- nav-sopSkill
- nav-startSkill
- nav-statsSkill
- nav-sync-claudeSkill
- nav-taskSkill
- nav-trizSkill
- nav-upgradeSkill
- nav-workflowSkill
- plugin-slash-commandSkill
- product-designSkill
- visual-regressionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
29 rules. About 0 are common, 27 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈27
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Create project-specific skills by analyzing codebase patterns and automating repetitive workflows.
- Distinctive: line 213
Run through skill steps
- Distinctive: line 214
Verify functions work correctly
- Distinctive: line 215
Check output matches template
- Distinctive: line 228
CLAUDE.md: - Add to skills section:
- Distinctive: line 236
README.md: - Add to skills list:
- Distinctive: line 241
.agent/system/plugin-patterns.md: - Add to skill registry:
- Distinctive: line 314
Document: Update CLAUDE.md, README.md, plugin-patterns.md
- Distinctive: line 326
Test library? (Jest, React Testing Library, etc.)
- Distinctive: line 369
Document: Update project docs
- Distinctive: line 410
Use Task agent for codebase exploration (saves 60-80% tokens)
- Distinctive: line 411
Look at 3-5 examples minimum (find patterns vs outliers)
- Distinctive: line 416
Keep skills focused (one pattern per skill)
- Very specific: line 428
Use clear placeholders (${VAR_NAME})
- Distinctive: line 430
Follow project style guide
- Distinctive: line 434
Test with real project context
- Distinctive: line 436
Check output against best practices
- Distinctive: line 482
Check description has clear trigger phrases
- Very specific: line 483
Verify plugin.json includes skill registration
- Distinctive: line 485
Test with exact trigger phrase from description
- Distinctive: line 492
Check Python syntax is valid
- Distinctive: line 493
Verify function imports are correct
- Distinctive: line 494
Test function independently first
- Distinctive: line 495
Check error messages in execution logs
- Distinctive: line 503
Update templates with correct structure
- Distinctive: line 504
Add more examples showing variations
- Distinctive: line 513
Remove optional features to separate skills
- Distinctive: line 514
Keep core pattern simple
- Distinctive: line 515
Add extensions as separate skills
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Navigator Skill Creator
Create project-specific skills by analyzing codebase patterns and automating repetitive workflows.
When to Invoke
Auto-invoke when user mentions:
- "Create a skill for [pattern]"
- "Automate this workflow"
- "We keep doing X manually"
- "Enforce this pattern"
- "Generate boilerplate for [feature type]"
- "We need consistency for [task type]"
What This Does
- Analyzes codebase to understand project patterns
- Identifies best practices from existing code
- Generates skill with:
- Auto-invocation triggers
- Predefined functions
- Templates
- Examples
- Tests the generated skill
- Documents the new skill
Execution Steps
Step 1: Understand Skill Request
Ask clarifying questions:
- What pattern/workflow to automate?
- What triggers should invoke this skill?
- What output format is expected?
- Are there existing examples in the codebase?
Example dialogue:
User: "Create a skill for adding React components"
Assistant: "I'll analyze your codebase to understand React component patterns.
- What directory are components in?
- Do you use TypeScript or JavaScript?
- Do you want tests generated automatically?
- Are there style files (CSS/SCSS) per component?"Step 2: Analyze Codebase Patterns
Use Task agent to explore (saves 60-80% tokens):
Use Task agent with subagent_type=Explore:
"Find existing [pattern type] in codebase:
- Locate all [files matching pattern]
- Identify common structure
- Extract best practices
- Find configuration files
- Return summary of findings"What to look for:
- File naming conventions (kebab-case, PascalCase, etc.)
- Directory structure patterns
- Import/export patterns
- Testing patterns
- Configuration patterns
- Documentation patterns
Example for React components:
Task agent finds:
- Components in src/components/
- PascalCase naming (UserProfile.tsx)
- Co-located tests (UserProfile.test.tsx)
- Props interfaces defined above component
- Export default at bottomStep 3: Design Skill Structure
Determine skill metadata:
name: [project]-[pattern-type]
description: [When to auto-invoke + what it does]
allowed-tools: [Read, Write, Edit, Grep, Glob, Bash, Task]
version: 1.0.0Plan directory structure:
skills/[skill-name]/
├── SKILL.md # Main instructions
├── functions/ # Python helper scripts
│ └── [generator].py
├── examples/ # Reference implementations
│ └── [example].[ext]
└── templates/ # Output format templates
└── [template].[ext]Design predefined functions:
- What repetitive logic can be automated?
- What validation should be enforced?
- What formatting ensures consistency?
Example functions for frontend-component skill:
component_generator.py- Generate component boilerplatetest_generator.py- Generate test filestyle_generator.py- Generate style filename_validator.py- Validate component naming
Step 4: Generate Skill Files
4.1 Create SKILL.md
---
name: [skill-name]
description: [Auto-invocation triggers + purpose]
allowed-tools: [List of tools]
version: 1.0.0
---
# [Skill Title]
[Brief description of what this skill does]
## When to Invoke
Auto-invoke when user says:
- "[trigger phrase 1]"
- "[trigger phrase 2]"
- "[trigger phrase 3]"
## What This Does
1. [Step 1 overview]
2. [Step 2 overview]
3. [Step 3 overview]
## Execution Steps
### Step 1: [Step Name]
[Detailed instructions for this step]
**Use predefined function**: `functions/[function-name].py`4.2 Create Predefined Functions
# functions/[generator].py
def generate_[output](name, config):
"""
Generate [output type] based on project patterns.
Args:
name: [Description]
config: [Description]
Returns:
[output]: [Description]
"""
# Implementation based on codebase analysis
pass4.3 Create Examples
examples/
└── [reference-implementation].[ext]
- Real example from codebase (best practice)
- Shows expected structure
- Demonstrates conventions4.4 Create Templates
templates/
└── [output-template].[ext]
- Skeleton structure with placeholders
- ${VAR_NAME} for substitution
- Comments explaining sectionsStep 5: Test Generated Skill
5.1 Verify skill loads:
# In project root
grep -r "name: [skill-name]" skills/5.2 Test auto-invocation:
In Claude Code conversation:
"[Use one of the auto-invoke trigger phrases]"
Expected: Skill should be detected and loaded5.3 Test execution:
- Run through skill steps
- Verify functions work correctly
- Check output matches template
- Validate generated code follows patterns
5.4 Iterate if needed:
- Fix function bugs
- Improve templates
- Add missing examples
- Clarify instructions
Step 6: Document New Skill
Update project documentation:
- CLAUDE.md - Add to skills section:
#### [Skill Name]
**Auto-invoke**: "[trigger phrase]"
**Purpose**: [What it does]
**Generates**: [Output type]- README.md - Add to skills list:
- **[skill-name]**: [Brief description]- .agent/system/plugin-patterns.md - Add to skill registry:
### [Skill Name]
**Created**: [Date]
**Pattern**: [What pattern it enforces]
**Functions**: [List of predefined functions]Register in plugin.json (if applicable):
{
"skills": [
{
"name": "[skill-name]",
"path": "skills/[skill-name]/SKILL.md"
}
]
}Example Workflows
Example 1: Create Skill for Adding API Endpoints
User: "Create a skill for adding REST API endpoints"
Execution:
- Clarify:
- Which framework? (Express, Fastify, etc.)
- Where are routes defined?
- Authentication required?
- Testing strategy?
- Analyze (via Task agent):
Find existing API endpoints: - Routes in api/routes/ - Controllers in api/controllers/ - Middleware in api/middleware/ - Tests in tests/api/ - Design:
name: backend-api-endpoint description: Add new REST API endpoint following project conventions. Use when user says "add endpoint", "create API", or "new route". allowed-tools: Read, Write, Edit, Grep, Glob, Bash - Generate:
skills/backend-api-endpoint/ ├── SKILL.md ├── functions/ │ ├── endpoint_generator.py │ └── route_validator.py ├── examples/ │ └── user-endpoint.ts └── templates/ ├── route-template.ts └── test-template.spec.ts - Test:
User: "Add a POST /posts endpoint" Skill: Auto-invoked, generates route + controller + test Verify: Files follow project conventions - Document: Update CLAUDE.md, README.md, plugin-patterns.md
Example 2: Create Skill for React Components
User: "Automate creating new React components"
Execution:
- Clarify:
- TypeScript or JavaScript?
- Functional or class components?
- Style approach? (CSS modules, styled-components, etc.)
- Test library? (Jest, React Testing Library, etc.)
- Analyze (via Task agent):
Find React components: - Components in src/components/ - PascalCase naming - TypeScript (.tsx) - CSS modules (.module.css) - Tests with RTL - Design:
name: frontend-component description: Create new React component with TypeScript, styles, and tests. Use when user says "create component", "add component", or "new React component". allowed-tools: Read, Write, Edit, Grep, Glob, Bash - Generate:
skills/frontend-component/ ├── SKILL.md ├── functions/ │ ├── component_generator.py │ ├── test_generator.py │ └── style_generator.py ├── examples/ │ ├── Button.tsx │ └── Button.test.tsx └── templates/ ├── component-template.tsx ├── test-template.tsx └── style-template.module.css - Test:
User: "Create a UserProfile component" Skill: Auto-invoked, generates component + test + styles Verify: Props interface, exports, naming correct - Document: Update project docs
Output Format
After generating skill, show summary:
✅ Skill Created: [skill-name]
Structure:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📁 skills/[skill-name]/
├── SKILL.md
├── functions/
│ └── [N functions created]
├── examples/
│ └── [N examples added]
└── templates/
└── [N templates created]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Auto-Invocation Triggers:
- "[trigger 1]"
- "[trigger 2]"
- "[trigger 3]"
Next Steps:
1. Test the skill: "[example trigger phrase]"
2. Iterate if needed
3. Documentation updated
Try it now: "[example usage]"Best Practices
Pattern Analysis
- Use Task agent for codebase exploration (saves 60-80% tokens)
- Look at 3-5 examples minimum (find patterns vs outliers)
- Identify conventions explicitly followed
- Note edge cases in comments
Skill Design
- Keep skills focused (one pattern per skill)
- Clear auto-invocation triggers (3-5 phrases)
- Minimal tools needed (add only what's required)
- Progressive disclosure (details in functions, not main instructions)
Function Creation
- One function = one responsibility
- Type hints and docstrings required
- Handle errors gracefully
- Return structured data (not print statements)
Template Design
- Use clear placeholders (${VAR_NAME})
- Include comments explaining sections
- Follow project style guide
- Provide sensible defaults
Testing
- Test with real project context
- Verify auto-invocation works
- Check output against best practices
- Iterate based on actual usage
Common Patterns to Automate
Backend Patterns
- REST API endpoints
- GraphQL resolvers
- Database migrations
- Background jobs
- Middleware functions
- Authentication guards
Frontend Patterns
- React/Vue/Svelte components
- Redux/Vuex store modules
- API client functions
- Form validation schemas
- Route definitions
- Style component creation
Infrastructure Patterns
- Docker service configs
- CI/CD pipeline steps
- Deployment scripts
- Environment configs
- Monitoring setup
Documentation Patterns
- API documentation
- Component documentation
- Architecture decision records (ADRs)
- Runbook entries
- Changelog entries
Troubleshooting
Skill Not Auto-Invoking
Problem: Skill created but doesn't trigger automatically
Solutions:
- Check description has clear trigger phrases
- Verify
plugin.jsonincludes skill registration - Reload Claude Code to refresh skill index
- Test with exact trigger phrase from description
Functions Not Executing
Problem: Predefined functions throw errors
Solutions:
- Check Python syntax is valid
- Verify function imports are correct
- Test function independently first
- Check error messages in execution logs
Templates Not Matching Output
Problem: Generated code doesn't match project conventions
Solutions:
- Re-analyze codebase for missed patterns
- Update templates with correct structure
- Add more examples showing variations
- Validate against linter/formatter
Skill Too Broad
Problem: Skill tries to do too much
Solutions:
- Split into multiple focused skills
- Remove optional features to separate skills
- Keep core pattern simple
- Add extensions as separate skills
Success Criteria
This skill succeeds when:
- New skill auto-invokes correctly
- Generated output follows project conventions
- Functions execute without errors
- Templates produce valid code
- Examples are clear and relevant
- Documentation is updated
- Skill saves time vs manual work
The skill-creator is Navigator's self-improving engine - it learns your patterns and automates them 🔄
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

