Skip to content
Back to skills

Coding

ASecurity

Use to add or change a feature in an existing system with the least risk. Find the seam, pin the surrounding behaviour, use a flag or branch by abstraction where it lowers risk, then follow the normal S01 to S08 path at small scale.

  • 24 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 22, 2026
ai-agentsgorefactoringsecurity

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add andreibesleaga/GABBE --skill coding --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coding
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-coding-a3800f23/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-coding-a3800f23)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: incremental-feature
description: Use to add or change a feature in an existing system with the least risk. Find the seam, pin the surrounding behaviour, use a flag or branch by abstraction where it lowers risk, then follow the normal S01 to S08 path at small scale.
triggers: [add feature to existing system, incremental feature, feature in legacy code, seam, feature flag existing code, change existing behaviour, extend existing module]
tags: [coding, brownfield, feature]
core: true
context_cost: medium
---
# Incremental Feature Skill

## Goal
Deliver one feature in an existing codebase without breaking what already works. This is stage B4 of `guides/processes/brownfield-lifecycle.md`. The feature goes through the normal lifecycle, sized to the change.

## Steps
1. **State the feature.** Write it as EARS lines in `project/EARS_REQUIREMENTS.md` ("WHEN ... THE SYSTEM SHALL ..."). Ask the human to approve them (S01 gate). Done when the approval is in `AUDIT_LOG.md`.
2. **Find the seam.** Using `CODEBASE_MAP.md`, find the smallest place where the feature can attach: a new function behind an existing interface, a new route, a new handler, an extension point. List the files to change and the files that call them (`grep -rn "<symbol>"`).
3. **Write a short design.** Half a page in `PLAN.md`: the seam, the files, the data change if any, the rollback. If a significant decision is made (new dependency, new storage), write an ADR (`adr-writer.skill`). The human approves at S02.
4. **Pin the surroundings.** Run `characterization-tests.skill` for the units the change touches, if they are not already pinned. Tests green before the first line of feature code.
5. **Choose the risk control.**
   - Behaviour visible to users and risky: put it behind a flag (`feature-flag-management.skill`), default off.
   - Replacing a used implementation: branch by abstraction as in `safe-refactoring.skill`.
   - Small, additive, internal: no flag needed; say why in `PLAN.md`.
6. **Implement test-first.** For each requirement run `tdd-cycle.skill`: failing test, minimal code, refactor. Coverage of new and changed lines must meet `coverage_min` in `AGENTS.md` (the new-code rule is 99%).
7. **Run the gates.** Full suite, lint, types, complexity, dependency check. Characterisation tests pass unchanged; if one fails, the feature changed old behaviour: stop and ask the human.
8. **Review and security.** Security review (S07) and human review (S08) at the size of the change; list changed files and the tests that cover them.
9. **Ship only when asked.** Staging (S09) and production (S10) follow the normal gates. Production: the human says "deploy now" in that request. Prepare the exact commands and the rollback, and hand them over.

## Constraints
- One feature per run. Cleanups and upgrades found on the way go to `project/TASKS.md` as separate items.
- The diff touches only files named in the plan. A needed extra file is added to the plan first.
- No behaviour of existing code changes unless the requirement says so and the human approved it.
- Never commit, push, tag or deploy unless the human asks for it in that request.

## Output Format
Approved EARS lines and `PLAN.md`, tests and code for the feature, gate results, a rollback note, and a list of follow-ups in `project/TASKS.md`.

## Limits and safety
- A flag left in code after the rollout is debt: record its removal as a task with a date.
- A data change (new column, backfill) is a migration: `db-migration.skill`, backup first, human's yes before it runs anywhere but a local copy.
- If the seam cannot be found without a large refactor, stop and propose `safe-refactoring.skill` as a separate, approved piece of work.

Files in this skill

  • agent-trajectory-eval.skill.md4.6 KB
  • artisan-commands.skill.md2.3 KB
  • assurance-ladder.skill.md5 KB
  • browser-tdd.skill.md5.4 KB
  • chaos-fault-injection.skill.md7 KB
  • characterization-tests.skill.md4.3 KB
  • ci-autofix.skill.md2.8 KB
  • clean-coder.skill.md2.8 KB
  • code-review.skill.md4.2 KB
  • debug.skill.md4.6 KB
  • design-by-contract.skill.md3.5 KB
  • documentation.skill.md5.2 KB
  • eval-driven-development.skill.md5.5 KB
  • evals/code-review.eval.yaml1 KB
  • excalidraw.skill.md3.7 KB
  • file-processing.skill.md2.5 KB
  • formal-spec-lightweight.skill.md3.9 KB
  • fuzz-differential-testing.skill.md3.9 KB
  • git-workflow.skill.md5.4 KB
  • incremental-feature.skill.md3.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.