بنقرة واحدة
story
Create a user story in stories/ linked to architecture components, or update an existing story's status
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a user story in stories/ linked to architecture components, or update an existing story's status
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Review a pull request or pending changes. Performs a focused code review against the current branch's diff (or staged diff if invoked pre-commit), surfacing correctness bugs, missing tests, style violations, and unclear naming. Use when the user asks to "review this", "review the PR", "code review", or before commits/PRs.
Complete a security review of pending changes on the current branch. Focuses on injection, authn/authz, secrets, SSRF, deserialisation, insecure defaults, and supply-chain risk. Use when the user asks to "security review", "security audit", "check for vulns", or before raising a PR.
Pre-commit gate (fmt + clippy + test) then create a conventional commit with explicit file staging.
Create or update ARCHITECTURE.md with system components, data flows, and ADRs
Format Rust code with rustfmt and report what changed.
Full TDD loop — plan, branch, write code + tests, fmt, clippy, test, review, commit.
| name | story |
| description | Create a user story in stories/ linked to architecture components, or update an existing story's status |
Manage user stories in the stories/ directory. Stories are version-controlled markdown files, one per feature or use case.
Invoke as /story <title or description>.
ARCHITECTURE.md to get the list of valid component slugsstories/*.md and parse front matter to determine the next ID (S-001, S-002, …)Using the title/description, produce:
Create stories/S-NNN-<slug>.md where slug is a kebab-case version of the title.
---
id: S-NNN
title: <title>
epic: <epic name or "Uncategorized">
status: backlog
priority: 2
components: [<comma-separated component slugs>]
created: <YYYY-MM-DD>
branch: ~
---
## Use Case
As a [user type], I want [action], so that [benefit].
## Acceptance Criteria
- [ ] ...
- [ ] ...
## Technical Notes
See ARCHITECTURE.md#<component-slug>.
## Tasks
- [ ] ...
- [ ] ...
Status values: idea | backlog | in-progress | review | done
Priority: 1=high, 2=medium, 3=low
Output:
/kanban or /story update S-NNN status=in-progressInvoke as /story update S-NNN <field>=<value>.
Examples:
/story update S-001 status=in-progress/story update S-001 priority=1/story update S-003 status=doneWhen status moves to in-progress:
feature/S-NNN-<slug> (slug from the story filename)git branch --list feature/S-NNN-<slug>git checkout -b feature/S-NNN-<slug>git checkout feature/S-NNN-<slug>status: in-progress, branch: feature/S-NNN-<slug>Update story front matter: status: review
Remind the user: push the branch and run /pr to open the pull request.
Update story front matter: status: done, completed: <YYYY-MM-DD>
Edit the front matter value in place. Do not change other fields.
Invoke as /story show S-NNN.
Pretty-print the full story content including rendered acceptance criteria and task list.
Don't:
in-progressgit add -A or git add . when committing story file changes — stage the specific file