Materials for the AI Workflow workshop by CodeCubicle.ch and ProAgile.se.
This repository is a portable SDLC playbook: reusable skills (markdown workflows) that guide an AI assistant from early discovery through implementation and verification. The same skill definitions work across Cursor, OpenAI Codex CLI, Claude Code, and Google Gemini CLI—each tool loads shared project instructions and, where supported, discovers individual skills on disk.
Canonical skill definitions live under skills/<skill-name>/SKILL.md. AGENTS.md is the shared index: phase order, default file paths, operating rules, and links to every skill.
| Item | Description |
|---|---|
| AGENTS.md | Root instructions for coding agents: artifact locations, SDLC order, and pointers to each skill. OpenAI Codex loads this automatically in the repo (plus optional global guidance under ~/.codex/AGENTS.md). |
| CLAUDE.md | Claude Code entry point; pulls in shared content via @AGENTS.md so project rules stay in one place. |
| GEMINI.md | Gemini CLI entry point; includes @AGENTS.md. You can also add AGENTS.md to context.fileName in Gemini settings for tools that only read that filename. |
| docs/architecture.md | Technical contract for implementers: pinned stack (React 19.2, Vite 7.3.x, Vitest latest, Tailwind CSS latest, React Compiler, Node.js > 24 for app/CI/tests), repo layout, NFRs, and boundaries. implement-story and check-story-size rely on it. |
| docs/testing-guide.md | How to run and write tests for that stack (Vitest + Vite mergeConfig, RTL, React Compiler–safe assertions, Tailwind-friendly checks). test-story must read this before any test work. It also states that formal test plans use a test-to-feature matrix, and story -test.md reports should mirror TC ↔ feature ↔ AC when a plan exists. |
skills/<name>/SKILL.md |
Source-of-truth instructions per workflow (wishlist → PRD → stories → test planning → code → tests). Edit here first. |
.cursor/skills/ |
Mirror for Cursor skill discovery (/<skill-name> or @). |
.claude/skills/ |
Mirror for Claude Code skill discovery. |
.agents/skills/ |
Mirror for OpenAI Codex skill discovery ($<skill-name> or /skills). |
| scripts/sync-skills.js | Cross-platform Node script: copies skills/ into .cursor/skills, .claude/skills, and .agents/skills. Run after skill changes, before commit. Requires Node.js 16.7+ (script only; the application toolchain in docs/architecture.md expects Node > 24). |
Planning and execution stay aligned when:
create-testplan(one story per file) copies the story’s summary and acceptance criteria, derives feature bullets (F1, F2, …), and fills a required matrix: each test case TC-* maps to a feature id and an AC number. Detail sections under test types may only reference TC-ids from that matrix—no orphan tests.test-storymaps results back: indocs/stories/<slug>-test.md, coverage tables include AC #, feature (F#), optional plan TC-id, and evidence (test file / name). Ifdocs/test-plans/<slug>.mdexists for the story, use its matrix as the checklist.
See the skills create-testplan and test-story for full rules and templates.
Skills write or update these unless your team standardizes different locations:
| Area | Typical path |
|---|---|
| Wishes | docs/wishlist.md |
| Product requirements | docs/prd.md |
| PRD review | docs/prd-validation.md |
| Backlog items | docs/stories/*.md |
| Story reviews / sizing / test reports | docs/stories/<slug>-validation.md, -sizing.md, -test.md |
| QA strategy (per story, matrix TC ↔ feature ↔ AC) | docs/test-plans/<slug>.md |
Use the sequence below for an end-to-end run, or open a single skill when that is all you need.
| Step | Skill | What it does |
|---|---|---|
| 1 | create-wishlist |
Interactive capture of stakeholder wishes → structured docs/wishlist.md. |
| 2 | create-prd |
Builds a traceable PRD with quality gates → docs/prd.md. |
| 3 | validate-prd |
Structured PRD review → docs/prd-validation.md (verdict and fixes). |
| 4 | create-story |
Splits work into one markdown file per story under docs/stories/. |
| 5 | validate-story |
Reviews a single story for clarity and testability. |
| 6 | check-story-size |
Decides if a story should be split and suggests execution order. |
| 7 | create-testplan |
One story at a time: writes docs/test-plans/<slug>.md with mandatory test-to-feature traceability—features F*, acceptance criteria, and a TC-* matrix (regression, UAT, integration, contract testing, etc.). Every planned test links to feature + AC; wider release scope only if explicitly requested. |
| 8 | implement-story |
Implements one story in code, following docs/architecture.md. |
| 9 | test-story |
Reads docs/testing-guide.md first; runs or adds tests; writes docs/stories/<slug>-test.md with AC / feature / TC-id coverage aligned to the story (and to docs/test-plans/ when present). |
- Instructions: AGENTS.md
- Skills path:
.cursor/skills/<skill-name>/SKILL.md - Invoke:
/<skill-name>(e.g./create-prd) or attach with@ - Docs: Cursor Skills
- Instructions: AGENTS.md (loaded automatically; optional global file at
~/.codex/AGENTS.md) - Skills path:
.agents/skills/<skill-name>/SKILL.md(repo mirror fromskills/) - Invoke:
$<skill-name>(e.g.$create-prd),/skillsto pick one, or describe the task so Codex can match on the skilldescription - Personal skills (any repo):
~/.agents/skills/ - Docs: Build skills, AGENTS.md
- Instructions: CLAUDE.md (includes
@AGENTS.md) - Skills path:
.claude/skills/<skill-name>/SKILL.md - Docs: Claude Code memory
- Instructions: GEMINI.md (includes
@AGENTS.md) - Skills are not auto-discovered the same way; point Gemini at AGENTS.md / the relevant
skills/<name>/SKILL.mdwhen needed - Docs: GEMINI.md context files
- Edit
skills/<skill-name>/SKILL.md(source of truth). - From the repository root:
node scripts/sync-skills.js— refreshes.cursor/skills,.claude/skills, and.agents/skills. - Commit
skills/together with all three mirrors so clones stay consistent across Cursor, Claude Code, and Codex.
(c) by CodeCubicle.ch & ProAgile.se, 2026 — AI Workflow workshop