بنقرة واحدة
implement-story
Implement a backlog story following the layer order (Domain, Database, API, Frontend, E2E) with TDD.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implement a backlog story following the layer order (Domain, Database, API, Frontend, E2E) with TDD.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Review the backlog to determine what to work on next by checking epic and story statuses in docs/backlog/.
Automates pre-commit workflow: lint, test, review changes, then commit with conventional commit format.
Verify a story is complete by checking acceptance criteria, running all tests, and updating status.
Add end-to-end Playwright tests for a feature using data-testid selectors, with API and UI test patterns.
Add unit tests for domain logic, database adapters, API endpoints, or frontend components using Vitest patterns.
Create a new user story in the backlog with technical tasks, test scenarios, and epic integration.
| name | implement-story |
| description | Implement a backlog story following the layer order (Domain, Database, API, Frontend, E2E) with TDD. |
| disable-model-invocation | true |
main. If on main, create and switch to a feature branch (e.g., feat/e2-us01-jwt-token-security) before proceeding. Never commit directly to main.docs/backlog//add-e2e-tests skill. Must include both API tests (@api tag) and UI browser tests (@ui tag)pnpm lint
pnpm test
pnpm test:e2e
pnpm test:e2e:mobile # if mobile layer is affected
# 1. Write domain test
packages/domain/src/use-cases/__tests__/CreateNote.test.ts
# 2. Write domain implementation
packages/domain/src/use-cases/CreateNote.ts
# 3. Write database test
packages/database/src/adapters/__tests__/DrizzleNoteRepository.test.ts
# 4. Write database adapter
packages/database/src/adapters/DrizzleNoteRepository.ts
# 5. Wire up API controller
packages/api/src/controllers/notes.controller.ts
# 6. Build frontend feature
packages/frontend/src/features/notes/
# 7. Build mobile feature (if applicable)
packages/mobile/src/features/notes/
# 8. Add E2E tests (Playwright for web, Maestro for mobile)
e2e/tests/notes/crud.spec.ts
packages/mobile/maestro/flows/notes/
pnpm test)pnpm lint)@api tagged tests)@ui tagged tests)