smithery.ai

feature_implementation

Full-stack checklist for implementing new features consistently and safely.

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,340 B
  • docs SUMMARY.md 130 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

Feature Implementation

Phase 1: Backend

Follow this order — each step builds on the previous:

  1. Model — backend/models/<entity>.py

- Define SQLAlchemy ORM class extending Base - If schema changed → use database_migration skill

  1. Schema — backend/schemas/<entity>.py

- Pydantic response/request models with ConfigDict(from_attributes=True) - Separate Create, Update, and Response schemas

  1. Repository — backend/repositories/<entity>_repository.py

- Async CRUD operations using AsyncSession - Use selectinload/joinedload to prevent N+1 - Test: backend/tests/unit/repositories/test<entity>repository.py

  1. Service — backend/services/<entity>_service.py (if business logic needed)

- Orchestrates repository calls, external APIs, KPI calculations - Injected via Depends() in routers

  1. Router — backend/routers/v1/<entity>.py

- Use responsemodel on all decorators - Inject service via dependency: service: EntityService = Depends(getentityservice) - Register in backend/main.py with prefix - Test: backend/tests/unit/routers/test<entity>.py

  1. Verify: Run safe_push backend validation
  2. Commit: feat(backend): implement <entity> logic

Phase 2: Frontend

  1. Types — frontend/src/types/<entity>.ts

- Mirror backend Pydantic schemas as TypeScript interfaces

  1. Query Hook — frontend/src/hooks/queries/use<Entity>Query.ts

- TanStack Query v5: useQuery / useSuspenseQuery - Return { data, isLoading, error }

  1. Store (if UI state needed) — frontend/src/store/<entity>Store.ts

- Zustand for client-side state (selections, filters, toggles)

  1. Component — frontend/src/components/<Entity>/

- Tailwind CSS v4, <ResponsiveContainer> for charts - All user-facing text in Norwegian

  1. Route — frontend/src/routes/<path>.tsx

- Use lazy loading: const Page = lazy(() => import(...)) - Add <title> and <meta> for SEO

  1. Verify: Run safe_push frontend validation
  2. Commit: feat(frontend): add <entity> ui

Phase 3: Push

Use the safe_push skill to push commits incrementally.