modify-feature

Solid

Modify existing KMP features with spec-first workflow. Invoke with /modify-feature.

AI & Automation 37 stars 5 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
53
Recency 20%
90
Frontmatter 20%
40
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Modify Feature Apply changes to existing features using spec-first workflow. **Architecture Reference:** @../_shared/patterns.md ## Hook Marker (Required) Before editing any feature files, activate the skill marker so the PreToolUse hook allows edits: ```bash touch /tmp/.claude-kmpilot-skill-active ``` After completion (or on any early exit), remove it: ```bash rm -f /tmp/.claude-kmpilot-skill-active ``` ## Workflow **Parse** → **Spec Check** → **Design Artifact Detection** → **Understand** → **Plan** → **Draft Spec** → [USER APPROVES] → **Activate marker** → **Implement** → **Validate** → **Update Spec** → **Remove marker** → Done ### Step 1: Parse Feature Name Extract from request: "add sorting to productlist" → `productlist` Validate: `ls feature/{featurename}/src/commonMain/kotlin/` ### Step 2: Spec Check Load `.claude/docs/{featurename}/spec.md` If missing, **stop and instruct the user**: ``` No spec found for '{featurename}'. Please run /audit-spec {featurename} first to generate one, then re-invoke /modify-feature. ``` Do NOT auto-invoke `/audit-spec` — skills do not call each other; the user controls the pipeline. ### Step 3: Design Artifact Detection Check for a Stitch design blueprint: 1. **Check blueprint exists**: `.claude/docs/{featurename}/designs/{featurename}_blueprint.md` 2. **Check stitch-project.json**: `.claude/docs/_project/stitch-project.json` — read `features[featurename].blueprintConsumed` 3. **Determine mode**: | Blueprint exists? | `...

Details

Author
ThisIsSadeghi
Repository
ThisIsSadeghi/KMPilot
Created
6 months ago
Last Updated
1 weeks ago
Language
Kotlin
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

create-feature

Creates complete KMP features with Clean Architecture through PRD generation, task breakdown, orchestrated implementation, and spec-driven cleanup. Invoke with /create-feature.

37 Updated 1 weeks ago
ThisIsSadeghi
AI & Automation Solid

implement-feature

Implement a feature from an existing design doc. Reads the design, analyzes the codebase, validates assumptions via interactive quiz, plans execution with parallelization, implements tasks, and validates. Use after running /design-feature.

149 Updated yesterday
janekbaraniewski
Code & Development Listed

feature

End-to-end feature workflow around the agent — spec by interview, a plan of 2–5-minute tasks, test-first execution with checkpoint commits, then an evidence-gated finish. Effort-scaled: a one-sentence diff skips straight to implementation; a real feature gets spec.md → plan.md → task-by-task TDD, with all state in out/dev/<change>/ so any later session resumes at the first unchecked task. Human-in-the-loop: the spec and the plan are approved (and editable) before any code is written, and nothing ships without the done gate. Use when the user wants to build, add, or implement a feature or start non-trivial coding work — e.g. "/feature add rate limiting", "implement X", "build a Y that Z", "resume the <change> feature". For fixing something broken use bugfix; for just the end-of-session shipping gate use done; for this whole loop end-to-end without approval stops, suggest the user run /autopilot (explicit invocation only).

7 Updated yesterday
duthaho