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…
Manage Navigator task documentation - create implementation plans, archive completed tasks, update task index. Use when user starts new feature, completes work, or says "document this feature".
$ npx -y skills add alekspetrov/navigator --skill nav-task --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nav-taskContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage Navigator task documentation - create implementation plans, archive completed tasks, update task index. Use when user starts new feature, completes work, or says "document this feature".
name: nav-task description: Manage Navigator task documentation - create implementation plans, archive completed tasks, update task index. Use when user starts new feature, completes work, or says "document this feature". allowed-tools: Read, Write, Edit, Bash version: 1.0.0
Create and manage task documentation - implementation plans that capture what was built, how, and why.
Invoke this skill when the user:
**DO NOT invoke** if:
**If user provided task ID** (e.g., "TASK-01", "GH-123"):
**If no ID provided**:
**Creating new task** (starting feature):
User: "Create task doc for OAuth implementation" → Action: CREATE → Generate empty implementation plan template
**Archiving completed task** (feature done):
User: "Document this OAuth feature I just built" → Action: ARCHIVE → Generate implementation plan from conversation
Before writing the plan, query the knowledge graph for memories relevant to this feature — pitfalls and patterns the project has already paid for:
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/cache/navigator-marketplace/navigator}"
[ -d "$PLUGIN_DIR" ] || PLUGIN_DIR="$HOME/.claude/plugins/marketplaces/navigator-marketplace"
if [ -f ".agent/knowledge/graph.json" ]; then
python3 "$PLUGIN_DIR/skills/nav-graph/functions/memory_recall.py" \
--concepts "{comma-separated concepts inferred from the feature description}" \
--format markdown --limit 5
fifamilies as `task_to_graph.extract_concepts_from_task` (auth, database, api, frontend, testing, …) — alias resolution absorbs abbreviations.
the absence.
section in the template below, and **reflect each recalled pitfall in the Implementation phases** (a recalled pitfall that doesn't change the plan wasn't really factored in).
Generate task document from template:
# TASK-{XX}: {Feature Name}
**Status**: 🚧 In Progress
**Created**: {YYYY-MM-DD}
**Assignee**: {from PM tool or "Manual"}
---
## Context
**Problem**:
[What problem does this solve?]
**Goal**:
[What are we building?]
---
## Known Pitfalls & Patterns
<!-- From knowledge graph (Step 2.5). OMIT this section entirely if recall
returned nothing. Each recalled pitfall must be reflected in the
Implementation phases below. -->
- **PITFALL** (90%, mem-XXX): [recalled summary]
---
## Acceptance Criteria
Concrete, checkable outcomes — written so anyone (human or AI) can verify them.
- [ ] [Specific, observable outcome]
- [ ] [Another outcome]
- [ ] [Edge case handled]
---
## Implementation
### Phase 1: {Name}
**Goal**: [What this phase accomplishes]
**Tasks**:
- [ ] [Specific task]
- [ ] [Another task]
**Files**:
- `path/to/file.ts` - [Purpose]
### Phase 2: {Name}
...
---
## Out of Scope
Explicit non-goals — what this task deliberately does not address.
- [What's deferred to a future task]
- [Adjacent change being avoided]
---
## Technical Decisions
| Decision | Options Considered | Chosen | Reasoning |
|----------|-------------------|--------|-----------|
| [What] | [Option A, B, C] | [Chosen] | [Why] |
---
## Verify
Run these commands to validate the implementation:
```bash
# Run tests
[test command for this feature]
# Type check
[type check command]
# Build
[build command]---
Observable outcomes that prove completion:
---
---
[Any additional context, links, references]
---
**Last Updated**: {YYYY-MM-DD}
Save to: `.agent/tasks/TASK-{XX}-{slug}.md`
### Step 3B: Archive Completed Task (If Feature Done)
Generate task document from conversation:
1. **Analyze conversation** (last 30-50 messages):
- What was built?
- How was it implemented?
- What decisions were made?
- What files were modified?
2. **Generate implementation plan**:
```markdown
# TASK-{XX}: {Feature Name}
**Status**: ✅ Completed
**Created**: {YYYY-MM-DD}
**Completed**: {YYYY-MM-DD}
---
## What Was Built
[1-2 paragraph summary of the feature]
---
## Implementation
### Phase 1: {Actual phase completed}
**Completed**: {Date}
**Changes**:
- Created `src/auth/oauth.ts` - OAuth provider integration
- Modified `src/routes/auth.ts` - Added login/logout endpoints
- Updated `src/config/passport.ts` - Passport configuration
**Key Code**:
```typescript
// Example of key implementation
export const oauthLogin = async (req, res) => {
// Implementation details
};...
---
| Decision | Options | Chosen | Reasoning | |----------|---------|--------|-----------| | Auth library | next-auth, passport.js, auth0 | passport.js | Better control over OAuth flow,
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…