بنقرة واحدة
create-story
Create a new user story in the backlog with technical tasks, test scenarios, and epic integration.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a new user story in the backlog with technical tasks, test scenarios, and epic integration.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implement a backlog story following the layer order (Domain, Database, API, Frontend, E2E) with TDD.
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.
| name | create-story |
| description | Create a new user story in the backlog with technical tasks, test scenarios, and epic integration. |
The user provides (or this is invoked from /discuss-feature):
The agent derives everything else by analyzing the codebase.
docs/backlog/README.md, epic READMEs) to understand current statedocs/backlog/ directoriesdocs/backlog/epic-NN-<slug>/README.md following the format of docs/backlog/epic-01-foundation/README.mdE2-US08)docs/backlog/epic-NN-<slug>/EN-USXX-<slug>.md using the template belowREADME.md story table with the new entrydocs/backlog/README.md implementation order with the new story# EN-USXX: <Title>
**User Story**: As a <role>, I want <feature> so that <benefit>.
**Acceptance Criteria**:
- [ ] <criterion 1>
- [ ] <criterion 2>
**Technical Tasks**:
| Layer | Task | File(s) |
|-------|------|---------|
| Domain | ... | ... |
| Database | ... | ... |
| API | ... | ... |
| Frontend | ... | ... |
| Mobile | ... | ... |
| E2E | ... | ... |
| E2E Mobile | ... | ... |
**Dependencies**: <story IDs or "None">
**Complexity**: <XS/S/M/L/XL>
**Status**: Pending
**Test Scenarios**:
```gherkin
Scenario: ...
Given ...
When ...
Then ...
## Notes
- Always use the naming conventions from `docs/backlog/README.md`
- Column naming for any new DB fields: `snake_case`
- Story complexity uses the reference table in the PRD