skills/feature/SKILL.md
Implement a feature using TDD. Works standalone (user describes what to build) or as part of the orchestrated pipeline (story and context provided). Handles complexity scaling, design, stubs, tests, implementation, migrations, refactoring, and review. Use when building a feature in an existing codebase.
npx skillsauth add sofer/.agents featureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Implement a feature using test-driven development with complexity-appropriate workflow.
This skill operates in two modes depending on how it's invoked:
When a user invokes this skill directly (e.g., /feature), the skill:
When orchestrate invokes this skill for a story, context is already provided:
Gather minimal information:
Required:
Optional (can be inferred):
If the user hasn't provided enough detail, ask brief clarifying questions.
Understand the project before writing code:
Before making code changes, ensure you're on a feature branch:
main/master: create a feature branch using commit branch| Size | Criteria | Workflow | |------|----------|----------| | S | Single file, <50 lines, isolated | Direct implementation | | M | 2-5 files, clear scope, follows patterns | TDD cycle with lightweight design | | L | 5+ files, new patterns, architectural impact | TDD cycle with full design + review |
implement + test → quick review → commit
feat(scope): descriptionlightweight design → stubs → RED → GREEN → refactor → review → user-test → PR
.sdlc/)skills/user-test/SKILL.md)design → design-review → stubs → RED → GREEN → refactor → review → user-test → PR
skills/user-test/SKILL.md)When invoked by orchestrate with story context:
Expect from orchestrate:
commit:branch)Report back to orchestrate:
When a manifest exists, read from it:
feature_cycle:
tdd:
strict: true
test_runner: "pytest"
migrations:
enabled: true
framework: "alembic"
require_rollback: true
review:
fresh_context: true
require_human_approval: true
commits:
conventional: true
sign: false
When no manifest exists, use sensible defaults:
tools
Check whether Claude and Codex have equivalent access to shared agent resources, skills, hooks, plugins, MCP servers, permissions, startup behaviour, and provider-specific adapter config. Use when comparing agent environments, debugging missing capabilities after restart, or deciding whether to symlink a resource or configure a runtime.
testing
Record substantive skill use in an append-only local log. Use after choosing or invoking a non-system skill for real work, when a skill is inspected but not used, or when a skill fails to apply. Do not use for routine system skills or incidental file reads.
testing
Turn a vague or underspecified request into a self-contained problem statement. Use when the user has a rough idea, when a request would fail if handed directly to an agent, or before non-trivial work that needs shared understanding.
data-ai
Append a one-line learning to ~/.agents/learning-log.md. Use when the user types /learning, or when something genuinely worth remembering surfaced during work and the user confirms it should be captured.