backend-endpoint
Create REST/GraphQL API endpoint with validation, error handling, and tests. Auto-invoke when user says "add endpoint", "create API", "new route", or "add…
Generate new Navigator slash commands following project conventions. Use when user says "add slash command", "create command", "new /nav command", or "add /nav:[name] command".
$ npx -y skills add alekspetrov/navigator --skill plugin-slash-command --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/plugin-slash-commandContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate new Navigator slash commands following project conventions. Use when user says "add slash command", "create command", "new /nav command", or "add /nav:[name] command".
name: plugin-slash-command description: Generate new Navigator slash commands following project conventions. Use when user says "add slash command", "create command", "new /nav command", or "add /nav:[name] command". allowed-tools: Read, Write, Edit, Grep, Glob, Bash version: 1.0.0
Generate new slash commands for the Navigator plugin following established conventions and patterns.
Auto-invoke when user says:
1. Asks for command details (name, purpose, complexity) 2. Analyzes existing commands for pattern matching 3. Generates command markdown file with proper structure 4. Validates YAML frontmatter and formatting 5. Shows usage example
Ask user:
Use Task agent to find similar commands:
"Find existing Navigator commands similar to [purpose]: - Commands in commands/*.md - Similar complexity level - Common structure patterns - Return 2-3 best examples"
**What to extract from examples**:
Based on complexity level:
**Simple commands**:
- YAML frontmatter (description) - Title - What This Does (2-3 sentences) - Usage (basic syntax + examples) - When to Use (2-3 scenarios) - Expected Output - Troubleshooting (2-3 common issues) - Closing statement
**Medium commands**:
- YAML frontmatter - Title + overview - What This Does (detailed explanation) - When to Use (5-6 scenarios with examples) - Usage / Execution Steps - Output Format - Integration notes (if applicable) - Troubleshooting (4-5 issues) - Best Practices - Closing statement
**Complex commands**:
- YAML frontmatter - Title + comprehensive overview - What This Does (with comparisons) - Execution Plan (multi-step) - Pre-flight checks - Step-by-step implementation - Validation steps - Integration with PM tools (if applicable) - Success criteria - Troubleshooting (comprehensive) - Edge cases - Performance notes - Closing statement
**Use predefined function**: `functions/command_generator.py`
# Generates command markdown following Navigator conventions
generate_command(
name="[command-name]",
description="[one-line purpose]",
complexity="simple|medium|complex",
sections={
"what_this_does": "...",
"when_to_use": [...],
"usage": "...",
"execution_steps": [...],
"troubleshooting": [...]
}
)**File location**: `commands/[command-name].md`
**Structure**: 1. YAML frontmatter with description 2. Title (# Command Name - Navigator Context) 3. Overview paragraph (what user is doing) 4. Content sections (based on complexity) 5. Closing statement (emoji + key takeaway)
**Use predefined function**: `functions/command_validator.py`
Checks:
Display:
✅ Slash Command Created: /nav:[command-name] File: commands/[command-name].md Lines: [count] Complexity: [simple/medium/complex] Try it: /nav:[command-name] What it does: [brief description] Next steps: 1. Test the command manually 2. Update plugin documentation if public-facing 3. Add to CLAUDE.md command list if needed
---
**User**: "Add a slash command for showing Navigator version"
**Execution**:
1. **Gather requirements**:
Name: version Purpose: Display current Navigator plugin version Complexity: Simple Type: User-facing
2. **Analyze similar** (via Task agent):
Found similar: marker.md (simple, informational) Pattern: Short description → Usage → When to use → Output
3. **Design structure**:
- Frontmatter - Title: "Navigator Version Info" - What This Does: 1 paragraph - Usage: Basic syntax - When to Use: 2-3 scenarios - Output Format: Example - Closing statement
4. **Generate**: `commands/version.md`
--- description: Display Navigator plugin version and system info --- # Navigator Version Info Check which version of Navigator you're running. ## What This Does Displays the current Navigator plugin version, Claude Code version, and system configuration. ## Usage ```bash /nav:version
**Reporting issues**:
**Checking updates**:
**System diagnostics**:
Finish What You Start Sessions that last. AI that learns. Features that ship.
Repo: alekspetrov/navigator
Create REST/GraphQL API endpoint with validation, error handling, and tests. Auto-invoke when user says "add endpoint", "create API", "new route", or "add…
Generate backend tests (unit, integration, mocks) for existing code. Auto-invoke when user says "write test for", "add test", "test this", or "create test".
Create database migration with schema changes and rollback. Auto-invoke when user says "create migration", "add table", "modify schema", or "change database".
Create React/Vue component with TypeScript, tests, and styles. Auto-invoke when user says "create component", "add component", "new component", or "build…
Generate frontend component tests (React Testing Library, Vue Test Utils, snapshot) for existing components. Auto-invoke when user says "test this component",…
Render a one-screen intent brief (Goal/Scope/Approach/Limits/Verify/Won't-do/Contradiction) before implementing ambiguous task-shaped prompts, triggered by the…