modify-feature

modify-feature is a skill for Claude Code, Codex from ThisIsSadeghi/KMPilot. It costs 16 tokens per session (4,992 once invoked), scanned A, original, MIT.

A workflow for changing an existing KMP feature, with KMP meaning Kotlin Multiplatform, by checking its specification before implementation and updating it afterward.

In plain words
What is it for?
Use it to modify an existing feature after checking its spec, understanding its design, drafting the change, implementing it, validating it, and updating the spec.
Why use it?
It prevents changes from being made without a feature specification and requires approval before editing code.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/thisissadeghi/kmpilot/modify-feature
Any agent
npx skills add ThisIsSadeghi/KMPilot --skill modify-feature
Clone the repo
git clone --depth 1 https://github.com/ThisIsSadeghi/KMPilot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for modify-feature

README.md
[![agentmods](https://agentmods.dev/badge/skills/thisissadeghi/kmpilot/modify-feature.svg)](https://agentmods.dev/skills/thisissadeghi/kmpilot/modify-feature)
Your own site
<a href="https://agentmods.dev/skills/thisissadeghi/kmpilot/modify-feature"><img src="https://agentmods.dev/badge/skills/thisissadeghi/kmpilot/modify-feature.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,992 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.04992
Opus 5 $0.00008 $0.02496
Sonnet 5 $0.00003 $0.00998
Haiku 4.5 $0.00002 $0.00499

Measured 4d ago against content hash 02a51455231e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

modify-feature scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/modify-feature/SKILL.md · 225 lines

How it starts

The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

touch /tmp/.claude-kmpilot-skill-active

After completion (or on any early exit), remove it:

rm -f /tmp/.claude-kmpilot-skill-active

Workflow

ParseSpec CheckDesign Artifact DetectionUnderstandPlanDraft Spec → [USER APPROVES] → Activate markerImplementValidateUpdate SpecRemove 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? blueprintConsumed Mode
Yes false Design-aware mode — blueprint drives UI implementation
Yes true Normal mode — blueprint already consumed
No N/A Normal mode — no design artifact

If entering design-aware mode, log:

Design artifact detected: .claude/docs/{featurename}/designs/{featurename}_blueprint.md
Entering design-aware mode. Blueprint will drive UI implementation.

Step 4: Understand Current Implementation

Read spec sections: Requirements, Architecture, State Management, Navigation

Read the full file on GitHub · 225 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 225 lines · 16 tokens per session scan A 02a51455231e

Subscribe to this mod's changes

modify-feature is a skill published in the GitHub repository ThisIsSadeghi/KMPilot (56 stars, last pushed 26d ago), licensed MIT. It adds 16 tokens to every session and 4,992 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

implementing-android-code

This skill should be used when implementing Android code in Bitwarden. Covers critical patterns, gotchas, and anti-patterns unique to this codebase. Triggered by "How do I implement a ViewModel?", "Create a new screen", "Add navigation", "Write a repository", "BaseViewModel pattern", "State-Action-Event", "type-safe…

bitwarden/android · 169 tokens

compose-multiplatform

Use when building one shared Compose UI in Kotlin across Android, iOS, and desktop — commonMain @Composables, expect/actual, source-set placement, native interop, multiplatform ViewModel/navigation/Koin. NOT a single-platform native build (that is kotlin-android / swift-ios), and NOT Dart/Flutter cross-platform UI…

ericrisco/rsc-harness · 80 tokens

claude-android-ninja

Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle. Use for new projects or modules, Compose screens and ViewModels, Room 3 and RemoteMediator, API 37 / targetSdk migration, Play Integrity client wiring…

Drjacky/claude-android-ninja · 123 tokens

dagger-hilt-expert

Expert guidance for Dagger and Hilt dependency injection in Android. Use when implementing DI, creating modules, configuring scopes, optimizing performance, testing with Hilt, setting up multi-module architecture, using assisted injection, or debugging DI issues. Triggers on "dagger", "hilt", "dependency injection"…

JosephSanjaya/skills · 145 tokens

modern-jetpack-compose

Guides writing, reviewing, and reasoning about modern Android UI code using Jetpack Compose. Covers best practices for state management, side effects, recomposition, navigation, Material 3 design, accessibility, and performance. Use when reading, writing, or reviewing any Jetpack Compose project.

anhvt52/jetpack-compose-skills · 63 tokens

wear-compose-m3

Expert guidance for working with Wear OS Compose Material3. Use this skill when creating, updating, or migrating Wear OS projects. This includes the androidx.wear.compose.material3, androidx.wear.compose.foundation, and androidx.wear.compose.navigation3 libraries. Also working with core components such as AppScaffold…

arindamxd/camerax-android · 101 tokens