/polymath-engineering:feature-devfrom polymath-engineering
Build the smallest safe change satisfying a PRD/acceptance criteria via a TDD loop; produces a code diff plus tests.
Ships in polymath-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Implement the smallest safe change that satisfies a PRD's acceptance criteria using a test-driven loop.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
polymath-engineering:feature-dev.CONTRIBUTING.md / AGENTS.md / CLAUDE.md plus the project context's conventions_docs (below). (polymath-core:conventions is the Polymath marketplace's authoring guide — not this repo's conventions.)Before the procedure, resolve the project snapshot —
${POLYMATH_DATA_DIR:-$HOME/.polymath/data}/polymath-core/project-context.json
(ignore it if its _meta.source belongs to another repo; absent → read
.polymath/project.yaml directly; neither → built-in defaults). Then apply
(contract: polymath-core:project-context):
conventions_docs: read roles backend-stack / frontend-stack /
shared-libraries as relevant; the Architecture directive
(target-vs-legacy) constrains where new code lands; Hard rules are
guardrails, not suggestions.read-code skill first.verify-change for lint/type-check/full verification.The diff plus tests per repo conventions, then this summary:
feature-dev: rate-limit /login (docs/prds/rate-limit-login.md)
Baseline: pytest tests/ → 212 passed, 1 failed (test_legacy_export — pre-existing, untouched)
AC-1 6th login attempt in 60 s returns 429 test_blocks_sixth_attempt_in_window red → green
AC-2 counter resets after 15 min test_lock_expires_after_cooldown red → green
AC-3 successful login resets the counter test_success_resets_counter red → green
Changed: src/auth/rate_limit.py (new), src/auth/login.py (+6), tests/auth/test_rate_limit.py (new)
After: pytest tests/ → 215 passed, 1 failed (same pre-existing failure)
Open: Redis vs in-process store → ADR needed before multi-instance deploy (not added silently)
Next: polymath-engineering:verify-change
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-engineering5 skills in this plugin
/code-reviewReview a code change for correctness, simplification, and missing tests; produces a structured review summary keyed to the diff. Reviews a diff; not test-gap hunting (coverage-gap)./read-codeOrient quickly in an unfamiliar codebase area; produce a one-page map of structure, entry points, and the most likely place a change should land./tech-debt-managementTriage technical debt — classify (deliberate/accidental), quantify principal vs interest, and sequence paydown against feature work with a payback rationale.