SC
scaffold-feature
Scaffold a complete full-stack feature: FastAPI endpoint, dashboard Web Component, i18n keys, test stubs, and documentation checks.
Install
mkdir -p .claude/skills/scaffold-feature && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15245" && unzip -o skill.zip -d .claude/skills/scaffold-feature && rm skill.zipInstalls to .claude/skills/scaffold-feature
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Scaffold a complete full-stack feature: FastAPI endpoint, dashboard Web Component, i18n keys, test stubs, and documentation checks.131 charsno explicit “when” trigger
About this skill
Scaffold Feature Skill
Creates the skeleton for a complete full-stack openZero feature.
Steps
-
Ask for:
- Feature name (e.g. "Weather Dashboard").
- Brief description of what it does.
- Whether it needs a backend endpoint, frontend component, or both.
-
Backend endpoint (if needed): Use the
new-endpointskill template at.github/skills/new-endpoint/references/endpoint-template.py.- Create route in
src/backend/app/api/dashboard.py. - Create Pydantic request/response models.
- Create service function stub in
src/backend/app/services/.
- Create route in
-
Dashboard component (if needed): Use the
new-componentskill template at.github/skills/new-component/references/component-template.ts.- Create component in
src/dashboard/components/. - Register lazy-load in
vite.config.ts. - Wire up
fetchData()to the new API endpoint.
- Create component in
-
i18n keys:
- Add title and any user-facing string keys to
_ENand_DEinsrc/backend/app/services/translations.py.
- Add title and any user-facing string keys to
-
Test stubs:
- Add test cases or a test file for the new feature.
- Ensure existing test suites still pass.
-
Documentation check:
- If the feature introduces new env vars or setup steps, update
BUILD.md. - If it's architecturally significant, create or update a
docs/artifacts/file.
- If the feature introduces new env vars or setup steps, update
-
Verify:
cd src/dashboard && npx tsc --noEmit ruff check src/backend/ pytest tests/test_i18n_coverage.py -v