بنقرة واحدة
workflow-protocol
7-step workflow protocol with validation checkpoints [validation, workflow, commit, review, TODO.md]
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
7-step workflow protocol with validation checkpoints [validation, workflow, commit, review, TODO.md]
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Read files BEFORE asking questions. Inspect to assist, not just to plan [reading, inspection, context, workflow, collaborative editing]
Design First, Code Second - explore options before implementation
Assist with interactive git rebase [git, rebase, history, cleanup, squash, reorder]
Always read Makefile before proposing commands [Makefile, build, test, docker, workflow]
Session retrospective following desk/retro.md [feedback, session review, improvement, workflow, validation]
Write semantic git commits following conventional format
استنادا إلى تصنيف SOC المهني
| name | workflow-protocol |
| description | 7-step workflow protocol with validation checkpoints [validation, workflow, commit, review, TODO.md] |
| license | MIT |
| compatibility | opencode |
| metadata | {"related":"desk/AGENTS.md, skill:task-closing, skill:semantic-commit"} |
I enforce the 7-step workflow protocol for every task to ensure traceability and user alignment.
Use this skill at the start of every new task or feature request.
Full documentation: desk/AGENTS.md ## Workflow Protocol (7 steps)
Core steps:
(En cours 🚧) in TODO.md + propose plan (Plan mode)go test ./...)(En revue 📋) in TODO.md + present summary + request user approval(Terminé ✅) + 1 line summary with doc link (after validation & commit)| Action | Ask | Example |
|---|---|---|
| File write/edit/delete | ✅ Before commit | "Review my changes in X?" |
| Git commit | ✅ Always, ONE at a time | "OK for commit: 'feat: ...'?" |
| After ANY commit | ✅ Before next action | "Continue with next subtask?" |
| Test failure | ✅ Immediately | "Test failed. Fix or record for later?" (never accept) |
| Plan deviation | ✅ Before coding | "This differs from plan. Continue?" |
| TODO.md status change | ✅ Before editing | "Je propose de marquer cette tâche comme terminée" |
(Terminé ✅) before user reviewed AND approved❌ Bad Pattern - Assuming approval carries forward:
User: "OK, commit" (approval for code commit)
Agent: Commits code ✅
Agent: Updates TODO.md "(Terminé ✅)" → Commits TODO.md ❌
↑
(assumed "OK commit" applies to TODO.md too!)
Problem: User approved code commit, NOT TODO.md change. TODO.md commit happened without explicit approval.
✅ Good Pattern - One approval = One commit:
User: "OK, commit" (approval for code commit)
Agent: Commits code ✅
Agent: "Je propose de marquer cette tâche comme terminée dans TODO.md"
User: "OK" (explicit approval for TODO.md change)
Agent: Updates TODO.md → "Peux-tu review ?" → User review → Commit TODO.md ✅
Why: Each commit requires separate, explicit approval. Authorization does NOT carry forward.
✅ Good Pattern:
Agent: Code changes → "Peux-tu review mes changements ?" (code review first)
User: Reviews code → "OK, validé" (explicit approval)
Agent: Commits code
Agent: "Je propose de marquer cette tâche comme terminée" (announce)
User: "OK" or "Validé" (explicit approval)
Agent: Update TODO.md "(Terminé ✅)" → "Peux-tu review ?" → User review → Commit TODO.md
Why: TODO.md is like any other file: modification → review → commit. Status (Terminé ✅) means "validated AND committed", not "I finished coding".
Rule: Before updating TODO.md (even just checking a box):
❌ Dishonest Pattern - Marking task done before completion:
Agent: Implements feature → Updates TODO.md subtask "[x] Done" → "Review my code?"
↑
(Task marked done BEFORE review!)
Problem: This is dishonest. The task is NOT done - it's still pending review, approval, and commit. Marking it as done creates false progress.
✅ Honest Pattern - Status reflects reality:
Agent: Implements feature → "Review my code?" → User approves → Commits
Agent: "Je propose de marquer la sous-tâche comme terminée" → User approves → Update TODO.md "[x]"
Why: TODO.md status must reflect the actual state, not the intended state.
Status meanings:
| Status | Meaning |
|---|---|
[ ] (À faire 🚩) | Task not started |
[ ] (En cours 🚧) | Work in progress (steps 1-3) |
[ ] (En revue 📋) | Code done, tests passing, awaiting user review (step 4) |
[x] (Terminé ✅) | Validated by user AND committed (steps 5-7) |
Rule: A subtask is [x] ONLY after:
If any step is pending → Keep [ ]