feature-implementer
Implement feature steps using git worktrees, build and test adaptively, update implementation plan, and generate test plans. This skill should be used when ready to implement one or more steps from an implementation plan, automatically adapting to any framework, language, or project structure.
What this skill does
# Feature Implementer Skill
## Purpose
Execute implementation steps from a plan, manage git worktrees for parallel development, adaptively build and test code, maintain plan progress, and generate comprehensive test plans. Works with any language, framework, or architecture through intelligent adaptation.
## When to Use This Skill
Use this skill when:
- Implementation plan is ready (created by `implementation-planner`)
- Ready to implement one or more steps from the plan
- Need to create git worktrees for parallel development
- Want automatic build/test execution after implementation
- Need to update plan progress systematically
- Want to generate test plans based on implementation changes
## Implementation Workflow
### Phase 1: Setup and Preparation
1. **Read the Implementation Plan**
- Locate plan file (Plan.md, implementation-plan.md, etc.)
- Identify next step(s) to implement
- Check dependencies are satisfied
- Identify if worktree is needed
2. **Create Git Worktree (if needed)**
- Use `git-workflow-manager` skill for worktree creation
- Follow GitFlow conventions: `feature/{name}`, `fix/{name}`, etc.
- Switch to worktree directory
3. **Understand Project Structure**
- Identify project type by reading config files
- Find build commands (package.json, Makefile, .csproj, etc.)
- Find test commands
- Locate where to implement changes
**Adaptive Discovery:**
```
- React/Node: Read package.json → scripts.build, scripts.test
- .NET: Find *.csproj → dotnet build, dotnet test
- Python: Look for setup.py, pyproject.toml, Makefile
- Go: Check go.mod → go build, go test
- Rust: Find Cargo.toml → cargo build, cargo test
- Generic: Look for Makefile, build scripts
```
### Phase 2: Implementation
1. **Implement the Step**
- Follow the step description from plan
- Create/modify files as specified
- Apply design patterns identified in research
- Follow existing code conventions in the project
2. **Document Changes**
- Add comments where complex logic exists
- Update related documentation if needed
- Note any deviations from original plan
**Key Principle:** Trust developer judgment for implementation details. The plan provides "what" and "where", developer provides "how".
### Phase 3: Build and Test
1. **Build the Project**
- Execute build command discovered in Phase 1
- Capture build output
- If build fails: Fix errors, rebuild
- If build succeeds: Proceed to testing
2. **Run Relevant Tests**
- Execute test command discovered in Phase 1
- Run tests related to changes (unit, integration)
- Capture test results
- If tests fail: Fix and re-run
- If tests pass: Proceed to plan update
**Adaptive Testing:**
```bash
# Examples of adaptive test execution
# JavaScript/TypeScript
npm test
# .NET
dotnet test
# Python
pytest
python -m pytest
# Go
go test ./...
# Rust
cargo test
# Generic
make test
./run-tests.sh
```
**If Build/Test Commands Unknown:**
- Search for scripts in project root
- Check CI/CD config files (.github/workflows, .gitlab-ci.yml)
- Ask user: "How do you build/test this project?"
### Phase 4: Update Plan Progress
1. **Mark Step Complete**
- Update checkbox in plan: `- [ ]` → `- [x]`
- Update phase progress percentage
- Note any blockers discovered
- Document any deviations from plan
2. **Check Next Steps**
- Identify if more steps can be done now
- Check if dependencies are satisfied
- Determine if iteration continues or pauses
**Plan Update Example:**
```markdown
## Phase 2: Backend Implementation
- [x] Step 2.1: Create EmailService class ✅
- [x] Step 2.2: Implement SendEmail method ✅
- [ ] Step 2.3: Add email queueing (next)
**Progress:** 2/3 steps complete (67%)
```
### Phase 5: Generate Test Plan
1. **Use `test-plan-generator` Skill**
- Analyze changes made (git diff)
- Determine types of tests needed
- Generate test-plan.md with checkboxes
- Avoid duplicate test coverage
2. **Test Plan Contents**
- API tests (if backend changes)
- E2E tests (if user-facing changes)
- Unit tests (if complex logic added)
- Performance tests (if performance-critical)
See `test-plan-generator` skill for detailed test plan generation.
### Phase 6: Documentation Update
When the plan includes a Documentation phase (it should always be the last phase), execute it using the following process.
**Skip condition:** If no `[DOC]-*` directory exists at the project root, skip this phase entirely and note it in the plan.
#### 1. Detect the Obsidian Vault
- Look for a `[DOC]-*` directory at the project root
- Identify the vault structure: list subdirectories (00-MOC/, 02-Database/, 03-Architecture/, 04-Features/, 05-API/, 06-ADR/, 08-Dev/, 10-Archives/)
- Locate templates: `[DOC]-*/_Templates/TPL-*.md`
#### 2. Scan for Related Documentation
Glob each relevant subdirectory for documents related to the implemented feature:
```
[DOC]-*/04-Features/FEAT-*.md → Feature specifications
[DOC]-*/06-ADR/ADR-*.md → Architecture Decision Records
[DOC]-*/02-Database/DB-*.md → Database schemas
[DOC]-*/03-Architecture/ARCH-*.md → Architecture documentation
[DOC]-*/05-API/API-*.md → API endpoint documentation
[DOC]-*/08-Dev/DEV-*.md → Development notes
[DOC]-*/00-MOC/MOC-*.md → Index files
```
Read each potentially related document to understand what is currently documented.
#### 3. Compare Code vs Documentation (Identifier → Comparer → Décider)
For each document found:
- **Read the document** to extract what it claims
- **Read the actual code** it references (files, classes, endpoints, schemas)
- **Compare** and classify:
- Code = Doc → **SKIP** (no action needed)
- Code ≠ Doc → **UPDATE** the document to match code
- Code exists, no Doc → **CREATE** new document
- Doc exists, code removed → **ARCHIVE** (move to 10-Archives/)
**Critical:** NEVER trust only plan descriptions. Always verify actual file contents with the Read tool. The code is the source of truth.
#### 4. Execute Documentation Changes
**For UPDATES:**
- Edit the existing document to match current code reality
- Update the `updated` field in YAML frontmatter to today's date
- Keep existing document structure, only modify content that diverged
- Content in FRENCH
**For CREATES:**
1. Read the appropriate template: `[DOC]-*/_Templates/TPL-{Type}.md`
2. Detect next available number: glob existing files in target folder, find max number, increment
3. Create document following template structure with naming convention `PREFIX-XXX-Titre.md`
4. Fill YAML frontmatter with proper metadata:
```yaml
---
title: Titre du document
type: feature|adr|database|arch|api|dev
status: draft
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags:
- relevant-tags
---
```
5. ALL content must be in **FRENCH**
6. Add wikilinks `[[Document-Name]]` to related documents
**For ARCHIVES:**
- Move file to `[DOC]-*/10-Archives/`
- Update any MOC that referenced the archived document (remove or mark as archived)
#### 5. Update MOC Indexes
- Read `[DOC]-*/00-MOC/MOC-Principal.md`
- Add wikilinks for all newly created documents in the appropriate sections
- Update domain-specific MOCs if they exist (e.g., MOC-Architecture, MOC-API)
- Remove references to archived documents
#### 6. Validate and Mark Complete
- Verify all created/updated documents have valid YAML frontmatter
- Verify wikilinks resolve correctly (referenced documents exist)
- Mark documentation steps complete in the plan: `- [ ]` → `- [x]`
- Update phase progress percentage
**Key Conventions:**
- **Language**: ALL documentation content in FRENCH (variable names and code excerpts stay in original language)
- **Naming**: `PREFIX-XXX-Titre.md` (3-digit zero-padded numbers)
- **Frontmatter**: Required fields: title, type, status, created, updated, tags
- **Links**: `[[Document-Name]]` format (no .md extension, no path prefix)
- **Philosophy**: Code = Source deRelated in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.