dev-workflow
Skill44 starsChanged 7 months agoApache-2.0View on GitHub
Standard R&D process orchestrator — guides the full development lifecycle from User Story to CD. Invoke when user says "start a new feature", "new requirement", "我要开发一个新功能", "开始需求", "next step?", "研发流程", or resumes work on an existing feature. Also invoke proactively when any non-trivial feature work begins, even if the user just says "let's build X". Do NOT invoke for one-off bug fixes, hotpatches, or purely exploratory tasks with no deliverable.
32 other projects use a version of this.
Adopted by
Most recently taken up by
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
- pandazki/pneuma-skillstheir own version, first seen Nov 6, 2026
- bmsuisse/skillstheir own version, first seen Nov 6, 2026
- openflocon/Flocontheir own version, first seen Nov 1, 2026
- Youngju-Heo/claude-skilltheir own version, first seen Nov 1, 2026
- dzianisv/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use retrospective, brainstorm and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillretrospective
Review how work went and improve the next round. USE WHEN asked for a retro, delays, or process lessons. DO NOT USE for code review or transcript replay.
Also in 3 projects that use this
nicolasestremSkillbrainstorm
Structured idea generation and solution exploration with systematic analysis.
Also in 4 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
HashiCorpSkillchangelog
Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.
Also in 3 projects that use this
VercelSkilldeploy
Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".
Also in 3 projects that use this
GoogleSkillimprove-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
Also in 3 projects that use this
Other versions32 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 32
- ag2ai/faststream★ 5.4ksame name
- xstongxue/best-skills★ 2.9ksame name
- AltimateAI/vscode-dbt-power-user★ 586same name
- openflocon/Flocon★ 379same name
- SmartThingsCommunity/SmartThingsEdgeDrivers★ 349same name
- pandazki/pneuma-skills★ 161same name
- AsiaOstrich/universal-dev-standards★ 84same name
- clarity-digital-development/tworkflow★ 47same name
- muyen/vibe-to-prod★ 34same name
- AsiaOstrich/EngramGraph★ 4same name
22 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- architectSkill
- clean-cacheSkill
- code-reviewSkill
- code-submitSkill
- doc-writingSkill
- embed-ci-setupSkill
- gitlab-ciSkill
- gitlab-mrSkill
- grafanaSkill
- k8s-opsSkill
- local-security-checkSkill
- mock-engineSkill
- multi-worktree-devSkill
- prometheusSkill
- security-compliance-reviewSkill
- sentry-onboardingSkill
- sentrySkill
- sre-agentSkill
- story-craftsmanSkill
- terraform-auditSkill
- testing-strategySkill
- trufflehog-cliSkill
- uat-story-writerSkill
- voc-analysisSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
39 rules. 0 are common, 27 are distinctive, and 12 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
27
Distinctive
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Every run must walk through the entire 9-step checklist — whether it is a new requirement, a new project, or a project already in progress …
- Distinctive: line 20
Mandatory full checklist: Every run must go from Step 1 to Step 9.
- Very specific: line 21
Human confirmation at each step: After displaying the status of each step, wait for human confirmation ([y/N]) before proceeding to the next
- Distinctive: line 23
Documentation before code: Before Step 6 (TDD implementation), all documentation deliverables from Steps 1-5 must exist and be confirmed
- Distinctive: line 24
First-run initialization: When the project has no CLAUDE.md or no workspace skill, automatically run project initialization
- Distinctive: line 152
Update timing: After completing major documentation changes in Steps 1-4, update the workspace skill to keep it in sync.
- Distinctive: line 156
Write the following base rules into the project's CLAUDE.md (skip if these rules already exist):
- Very specific: line 189
Ask the user if they have a Feishu document link.
- Very specific: line 191
If brainstorming is needed, invoke superpowers:brainstorming.
- Very specific: line 192
Write deliverables to docs/product/user-stories/{service}.md (following architect Step 1 standards).
- Very specific: line 213
Write deliverables to docs/architecture/overview.md + docs/architecture/domain-model.md (following architect Step 2 standards).
- Distinctive: line 218
Confirmation: Ask "Tech design complete, proceed to Step 2.5 (UI Design Confirmation)?"
- Distinctive: line 226
Goal: Before technical implementation, complete UI design in Paper based on User Stories and Design System Tokens, and output a component …
- Very specific: line 230
Read relevant User Story documents and tokens from ~/.claude/skills/paper-ui-design/ds_token.md
- Distinctive: line 232
Create a new Page in Paper and incrementally build the UI design mockup organized by visual groups
- Very specific: line 234
Call finish_working_on_nodes for finalization
- Very specific: line 235
After the user confirms the design in Paper, create or update docs/ui/ui-implementation-strategy.md in the project:
- Distinctive: line 236
Add a separate section for this interface
- Distinctive: line 238
Follow the existing file format (if the file already exists, append the new interface section at the end.
- Distinctive: line 244
Confirmation: Ask "UI design confirmed, proceed to Step 3 (Dev Environment)?"
- Distinctive: line 252
If none of the above applies, skip this step.
- Distinctive: line 260
Confirmation: Ask "Dev environment design complete, proceed to Step 4 (Test Plan)?"
- Very specific: line 271
Write deliverables to docs/testing/strategy.md and docs/testing/services/{service}/ (following architect Step 5 standards).
- Distinctive: line 281
Confirmation: Ask "Test plan complete, proceed to Step 5 (Observability Plan)?"
- Distinctive: line 287
Goal: Before coding, define a measurement and observation system that is runnable, verifiable, and optimizable.
- Very specific: line 295
Read project information from docs/architecture/overview.md.
- Distinctive: line 366
After user confirms the event tracking plan, create a ticket in the event management platform for the review and release process.
- Distinctive: line 374
Only log critical business paths — use "event nodes" as the unit.
- Very specific: line 375
Use structured fields: service / trace_id / user_id / action / result
- Distinctive: line 449
Write all deliverables from 5.0-5.6 to:
- Distinctive: line 485
Confirmation: Ask "Observability plan complete, proceed to Step 6 (TDD Implementation)?"
- Distinctive: line 491
Goal: Test-first implementation of all features, preferring Claude Code agent teams for parallel execution.
- Distinctive: line 502
Completion criteria: All User Story L3 E2E tests pass.
- Distinctive: line 504
Confirmation: Ask "Implementation complete, proceed to Step 7 (MR)?"
- Distinctive: line 510
Goal: Create a Merge Request and drive it to a mergeable state.
- Distinctive: line 517
Confirmation: Ask "MR created, proceed to Step 8 (CI Configuration)?"
- Distinctive: line 527
Ensure the following CI stages exist: lint → test (including L1/L2) → build → E2E (L3).
- Distinctive: line 532
Confirmation: Ask "CI configuration complete, proceed to Step 9 (CD)?"
- Very specific: line 543
If a new cluster / full CICD stack is needed, invoke argocd-deploy.
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dev Workflow
Description
Standard R&D process orchestrator — guides the full development lifecycle from User Story to CD, with human confirmation required before proceeding to each step.
Collaboration with other skills: This skill is responsible for "what step are we on, what's next, and which skill to invoke"; architect handles "how to write the actual documents."
Every run must walk through the entire 9-step checklist — whether it is a new requirement, a new project, or a project already in progress — to ensure no critical step is missed (especially observability plans and test coverage).
Rules
- Mandatory full checklist: Every run must go from Step 1 to Step 9; no step may be skipped, even if its status is "Completed"
- Human confirmation at each step: After displaying the status of each step, wait for human confirmation (
[y/N]) before proceeding to the next - Observability is not optional: Step 5 (observability plan) is a required step and must not be skipped with "not needed for now"
- Documentation before code: Before Step 6 (TDD implementation), all documentation deliverables from Steps 1-5 must exist and be confirmed
- First-run initialization: When the project has no
CLAUDE.mdor no workspace skill, automatically run project initialization - All User Stories must have E2E coverage: In Step 4's test plan, every User Story must have a corresponding L3 E2E test case
Examples
Bad — Skipping undiscovered missing steps
User: "Code is all done, MR is merged, help me set up CD"
AI: Directly discusses CD configuration...Problem: Skipped the observability plan (Step 5), test plan check (Step 4), etc., jumping directly to the step the user mentioned.
Good — Enforced full checklist
User: "Code is all done, MR is merged, help me set up CD"
AI:
── Step 1 — User Story ──────────────
Status: Completed
Deliverable: docs/product/user-stories/postcard.md
Do you want to update this step? [y/N (default: skip)]
...(Steps 2-4 display status similarly)...
── Step 5 — Observability Plan ──────────────
Status: Missing
Deliverable: docs/architecture/postcard/observability.md — does not exist
Do you want to update this step? [y/N (default: skip)]Even if the user says "code is done," the observability plan must still be checked for existence.
Bad — Triggering the full workflow for a simple bug fix
User: "Fix the login button color bug"
AI: Triggers dev-workflow, starts from Step 1 with User Story writing...Problem: A single-line bug fix does not need the full R&D workflow; over-orchestration disrupts the user.
Good — Recognizing scope boundaries and avoiding over-triggering
User: "Fix the login button color bug"
AI: Directly fixes the bug following the project's Bug Fix TDD rules (write a failing test first, then fix).
Does not trigger dev-workflow.Bad — Skipping Step 2.5 for UI features
User: "I want to build a new Postcard sharing page"
AI: After Step 2 tech design is done, jumps directly to Step 3 dev environment...Problem: There is a UI change but the Paper design mockup is skipped; the visual approach is not aligned before development, risking repeated rework.
Good — Triggering Step 2.5 when there are UI changes
User: "I want to build a new Postcard sharing page"
AI: After Step 2 completes →
── Step 2.5 — UI Design Confirmation ──────────────
Status: Missing (detected that this requirement includes UI changes)
Trigger paper-ui-design skill to complete the design mockup in Paper...First-Time Project Entry (Project Initialization)
Generate Project-Level Workspace Skill
Generate a project-specific development guide skill at .agents/skills/{project-name}-workspace/SKILL.md. This skill enables new Claude instances (or new engineers) to quickly understand all key project information.
Trigger condition: First time running dev-workflow in the project, or when .agents/skills/{project-name}-workspace/ does not exist.
Information sources: Collect from the following locations:
docs/architecture/overview.md— System architecturedocs/architecture/domain-model.md— Business terminologydocs/architecture/tech-stack.md— Tech stackdocs/deployment/local-dev.md— Local dev environmentCLAUDE.md— Project rulesMakefileorpackage.json— Common commands
Generated Workspace Skill structure:
---
name: {project-name}-workspace
description: {Project Name} project development guide. Automatically triggered when working in the {project-name} project.
Contains project architecture, local environment startup, core business terms, common commands, and development conventions.
New developers or Claude instances entering the project must invoke this skill first.
---
# {Project Name} Development Guide
## Project Overview
[Extracted from docs/architecture/overview.md]
## Quick Start
[Extracted make commands from docs/deployment/local-dev.md]
## Tech Stack
[Extracted from docs/architecture/tech-stack.md]
## Core Business Terms
[Extracted from docs/architecture/domain-model.md]
## Directory Structure
[Auto-scanned and generated]
## Development Standards
[Extracted from CLAUDE.md + dev-workflow rules]
## Common Commands Quick Reference
[Extracted from Makefile / package.json]Location: .agents/skills/{project-name}-workspace/SKILL.md (project-level, committed to Git)
Update timing: After completing major documentation changes in Steps 1-4, update the workspace skill to keep it in sync.
Write the following base rules into the project's CLAUDE.md (skip if these rules already exist):
## Dev Workflow Rules
- All user stories MUST have E2E test coverage (L3 level). No User Story can be marked "implemented" without a corresponding passing E2E test.
- Follow the 9-step dev workflow: User Story → Tech Design → UI Design* → Dev Env* → Test Strategy → Observability → TDD Impl → MR → CI → CD (* conditional)
- Documents must be committed before coding starts (architect rule)Full-Process Checklist (must be executed every time)
Whether it is a new requirement, a new project, or a project already in progress, every run must walk through Step 1 to Step 9 and confirm each step.
For each step, first scan the corresponding paths to determine the current status, then display the status and request confirmation:
| Status | Meaning | Action |
| Completed | Document/deliverable exists and content is complete | Display summary, ask if update is needed |
| Needs Update | Document exists but does not match current requirements | Trigger the corresponding skill to update |
| Missing | Document/deliverable does not exist | Trigger the corresponding skill to create from scratch |
Each step must receive human confirmation ("continue to next step?") before proceeding, even if the status is "Completed." This ensures every step receives conscious review rather than being automatically skipped.
Step 1 — User Story
Goal: Define user experience flows and acceptance criteria (no technical details).
Actions:
- Ask the user if they have a Feishu document link. If so, invoke
lark-mcpto read the document content as input. - Invoke
story-craftsmanfor guided requirements discovery and AC definition. - If brainstorming is needed, invoke
superpowers:brainstorming. - Write deliverables to
docs/product/user-stories/{service}.md(followingarchitectStep 1 standards).
Completion criteria: Each User Story has Background + User Story + AC (Given/When/Then), with no technical implementation details.
Write to CLAUDE.md after completion (if not already present):
- User stories location: docs/product/user-stories/
- Each User Story must have AC in Given/When/Then formatConfirmation: Display the User Story list and ask "User Stories complete, proceed to Step 2 (Tech Design)?"
Step 2 — Technical Design
Goal: Establish architecture boundaries, terminology SSOT, and key design decisions.
Actions:
- Invoke
superpowers:brainstormingto explore architecture options (2-3 options + recommendation). - Invoke
superpowers:writing-plansto convert the plan into an implementation plan. - Write deliverables to
docs/architecture/overview.md+docs/architecture/domain-model.md(followingarchitectStep 2 standards). - Invoke
doc-writingto refine documents using the HWPR/AWOR framework.
Completion criteria: Architecture diagram (Mermaid) + component responsibilities table + terminology mapping, single file ≤ 400 lines.
Confirmation: Ask "Tech design complete, proceed to Step 2.5 (UI Design Confirmation)?"
Step 2.5 — UI Design Confirmation (Conditional Trigger)
Trigger condition: This feature includes user interface changes (mobile pages, modals, cards, detail pages, etc.). If there are no UI changes, skip this step.
Goal: Before technical implementation, complete UI design in Paper based on User Stories and Design System Tokens, and output a component specification document to ensure the visual approach is aligned before development.
Actions:
- Invoke
paper-ui-designskill, completing the full Phase 1 + Phase 2 workflow:- Read relevant User Story documents and tokens from
~/.claude/skills/paper-ui-design/ds_token.md - Guide the user to open the Paper component library (optional skip)
- Create a new Page in Paper and incrementally build the UI design mockup organized by visual groups
- Take screenshots every 2-3 steps, evaluate against 7-item Review Checkpoint and fix issues
- Call
finish_working_on_nodesfor finalization
- Read relevant User Story documents and tokens from
- After the user confirms the design in Paper, create or update
docs/ui/ui-implementation-strategy.mdin the project:- Add a separate section for this interface
- List all components and controls, noting for each: UI component mapping, design system token correspondence
- Follow the existing file format (if the file already exists, append the new interface section at the end; do not overwrite existing content)
Completion criteria:
- Paper design mockup is complete and passes all 7 Review Checkpoints
docs/ui/ui-implementation-strategy.mdhas been created or updated with all component specifications for this UI
Confirmation: Ask "UI design confirmed, proceed to Step 3 (Dev Environment)?"
Step 3 — Dev/Test Environment (Conditional Trigger)
Trigger condition: The project has no existing dev/test environment, or new infrastructure dependencies (database, message queue, new service) or new third-party dependencies have been introduced.
If none of the above applies, skip this step.
Actions:
- Invoke
multi-worktree-devto design the L1/L2/L3 layered local environment plan. - Write deliverables to
docs/deployment/local-dev.md(followingarchitectStep 3 standards).
Completion criteria: make dev-up / make dev-down are functional, and multiple worktree ports do not conflict.
Confirmation: Ask "Dev environment design complete, proceed to Step 4 (Test Plan)?"
Step 4 — Test Plan
Goal: Generate an L2-L4 layered testing strategy where all User Story acceptance criteria have corresponding test cases.
Actions:
- Invoke
testing-strategyto generate a complete layered plan based on project type (Backend+APP / Backend+WEB / Backend+APP+Embedded). - Confirm that every User Story AC has L3 (E2E) test case coverage (hard requirement).
- Write deliverables to
docs/testing/strategy.mdanddocs/testing/services/{service}/(followingarchitectStep 5 standards).
Completion criteria: L1 (unit) + L2 (integration) + L3 (E2E) + L4 (UAT) strategy is complete; User Story count = L3 test case count (1:1 correspondence).
Write to CLAUDE.md after completion (if not already present):
- L3 E2E tests are mandatory for every user story AC
- Test files location: docs/testing/Confirmation: Ask "Test plan complete, proceed to Step 5 (Observability Plan)?"
Step 5 — Observability Plan
Goal: Before coding, define a measurement and observation system that is runnable, verifiable, and optimizable. Output a structured, executable, and traceable Observability Plan.
Execute the following 7 sub-steps in order; have the user confirm each sub-step's output before proceeding.
5.0 Scope & Classification
Read project information from docs/architecture/overview.md. If the file does not exist, infer first, then have the user confirm:
| Item | Description |
| Services/modules involved | Which services does this requirement affect |
| Business priority | P0 / P1 / P2 |
| Is it a core conversion path | Affects payment/activation/retention or other core funnels |
| Is A/B experimentation needed | Based on the A/B experiment platform |
| Is it a high-risk chain | Large failure blast radius, irreversible data, etc. |
Output the scope confirmation table and wait for user confirmation before continuing.
5.1 Measurement Design
Define a measurement_id for this requirement. Format: {feature}_{action}_v{n}, e.g., postcard_share_activation_v1.
Guide the user through the following (provide suggestions based on understanding of the requirement first; user confirms or corrects):
Business objectives (based on the overall requirement, not individual User Story):
- What is the core product/business question?
- What are the key business KPIs?
- Define the critical path (for funnel definition)
If A/B experimentation is needed (based on the A/B experiment platform), additionally define:
| Field | Description |
feature_flag | Feature ID in the A/B experiment platform |
experiment_id | Experiment ID |
targeting | Who enters the experiment |
variant | Experiment groups |
exposure definition | Exposure timing (automatic or manual tracking at key scenarios) |
primary_metric | Primary metric |
guardrail_metrics | Guardrail metrics (optional) |
Proceed after user confirms the Measurement Design.
5.2 Event Tracking Design
- Confirm which new user behavior event tracking is needed for this User Story.
- Present all candidate events in a table for user confirmation:
| event_name | Category | Strategy | Description |
xxx_viewed | Impression | reuse / extend / new | ... |
xxx_clicked | Behavior | reuse / extend / new | ... |
xxx_completed | Outcome | reuse / extend / new | ... |
Each event must be evaluated as:
- reuse existing event — Fully reuse an existing event
- extend properties — Reuse the event but add new properties
- create new event — Create a new event only when necessary
Design each new/extended event structure according to the event tracking schema:
event_name: xxx_yyy
classification: Impression / Behavior / Outcome
properties:
- key: value_type # Description
context:
- user_id
- session_id
- feature_flag (if applicable)
ownership: Defaults to the user's teamAfter user confirms the event tracking plan, create a ticket in the event management platform for the review and release process.
5.3 Logging Strategy
Based on the requirement, define structured logs for critical business paths. Follow these principles:
- Only log critical business paths — use "event nodes" as the unit; not every function needs logging
- Use structured fields:
service/trace_id/user_id/action/result - Log levels:
INFO(normal flow) /WARN(abnormal but recoverable) /ERROR(requires intervention) - Correlation is required:
trace_id+user_id - Prohibited: Logging user privacy information (name, address, personal ID, etc.)
Output the log node list for user confirmation:
| Node | Level | action | result | Notes |
| Create postcard | INFO | postcard_create | success/fail | Includes brand_id |
| ... | ... | ... | ... | ... |
5.4 Tracing & Metrics
Based on the technical architecture, map the system's critical chains and design OTel instrumentation for key nodes/APIs:
Technical metrics (is the system running normally):
| Metric | Type | Description |
http_request_duration_seconds | Histogram | Key API latency |
http_requests_total{status} | Counter | Request volume & error rate |
{feature}_operation_total{result} | Counter | Core operation success/failure |
Business metrics (are KPIs being met):
Map the KPIs from 5.1 to computable metrics:
| KPI | metric_name | Calculation |
| Share completion rate | postcard_share_completed_total | success / attempt |
| ... | ... | ... |
Output the plan for user confirmation.
5.5 Alerts & SLO
Define SLOs (internal targets) based on the system framework and set alert rules:
Severity levels:
- P0 Critical: Service unavailable / core feature down, immediate intervention
- P1 High: Severe impact but not fully unavailable, respond within 30 minutes
- P2 Medium: Issues but not urgent, handle during business hours
- P3 Low: Informational / observational
- Invoke
prometheusto review existing alert rules and confirm whether new PromQL alerts are needed. - Output the alert plan for user confirmation:
| Alert Name | PromQL | Threshold | Severity | Description |
HighErrorRate | rate(errors[5m]) / rate(total[5m]) | > 1% | P1 | ... |
| ... | ... | ... | ... | ... |
5.6 Dashboards
Invoke grafana to confirm whether new panels need to be added to dashboards:
| Panel | Content | Applicable When |
| KPI panel | Core business metric trends | Required |
| Funnel panel | Critical path funnel | Required |
| Experiment panel | Experiment group comparison | Only for A/B experiments |
| Service metrics panel | rate / error / latency | Required |
5.7 Documentation Output
Write all deliverables from 5.0-5.6 to:
docs/architecture/{service}/observability.mdDocument structure:
# Observability Plan — {feature} ({measurement_id})
## Scope & Classification
## Measurement Design
## Event Tracking
## Logging Strategy
## Tracing & Metrics
## Alerts & SLO
## DashboardsCompletion criteria:
- Measurement goal is clear; KPIs can be computed from the defined events
- Core funnel definition is complete
- Necessary events are designed (reuse preferred; do not proliferate new events)
- Critical paths have trace + metrics
- Core SLAs have alert coverage
- Support for experiment groups (if applicable)
observability.mdhas been committed
Write to CLAUDE.md after completion (if not already present):
- Observability: event tracking + OTel + Prometheus alerts
- Observability docs: docs/architecture/{service}/observability.mdConfirmation: Ask "Observability plan complete, proceed to Step 6 (TDD Implementation)?"
Step 6 — TDD Implementation
Goal: Test-first implementation of all features, preferring Claude Code agent teams for parallel execution.
Actions:
- Display the implementation plan (from Step 2's writing-plans deliverable) and ask the user:
- Which tasks can run in parallel?
- Which tasks must run sequentially?
- Based on user confirmation:
- Parallel tasks: invoke
superpowers:dispatching-parallel-agents - Sequential / current session: invoke
superpowers:subagent-driven-development
- Parallel tasks: invoke
- Each task follows
superpowers:test-driven-development(write tests first, then implement).
Completion criteria: All User Story L3 E2E tests pass; L1/L2 tests pass; no broken tests.
Confirmation: Ask "Implementation complete, proceed to Step 7 (MR)?"
Step 7 — MR
Goal: Create a Merge Request and drive it to a mergeable state.
Actions:
- Invoke
gitlab-mr(auto-generates document links, pushes, creates MR, polls CI status, fixes failures).
Completion criteria: MR created successfully, CI all green, no merge conflicts.
Confirmation: Ask "MR created, proceed to Step 8 (CI Configuration)?"
Step 8 — CI
Goal: Configure or update the CI pipeline to ensure complete quality gates.
Actions:
- Invoke
gitlab-cito check/create.gitlab-ci.yml. - Ensure the following CI stages exist: lint → test (including L1/L2) → build → E2E (L3).
- Write deliverables to
docs/deployment/ci.md(followingarchitectStep 6 standards).
Completion criteria: CI pipeline all green; L3 E2E runs in CI.
Confirmation: Ask "CI configuration complete, proceed to Step 9 (CD)?"
Step 9 — CD
Goal: Configure continuous deployment to ensure automatic deployment to the target environment after MR merge.
Actions:
- Invoke
argocdto check current application deployment status. - Invoke
cicd-developerto configure K8s/ArgoCD deployment strategy. - If a new cluster / full CICD stack is needed, invoke
argocd-deploy. - Write deliverables to
docs/deployment/cd.md(followingarchitectStep 6 standards).
Completion criteria: Merge to main automatically triggers deployment; staging environment verification passes.
Write to CLAUDE.md after completion (if not already present):
- CD via ArgoCD, check docs/deployment/cd.md for deployment guideCompletion: Congratulations! The entire R&D workflow is complete. Ask the user if there are follow-up needs.
Flow Diagram
New feature ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Step 1 Step 2 Step 2.5* Step 3* Step 4 Step 5 Step 6
User Story → Tech → UI Design → Dev Env → Test → Observability → TDD Impl
(story- Design (paper-ui- (multi- Strategy (tracker- (TDD +
craftsman + (brainstorm design + worktree- (testing- manager + agents)
lark-mcp) + write- docs/ui/) dev) strategy) prometheus +
plan + grafana)
doc-writing)
│
Re-entering ── status check ─────────────── resume from breakpoint ──────────────────────────────────────────────────────────
Step 7 Step 8 Step 9
MR → CI → CD
(gitlab-mr) (gitlab-ci) (argocd +
cicd-developer)
* Step 2.5 only triggered when the feature includes UI changes
* Step 3 only triggered when there are new dependencies or no existing dev environmentPer-Step Confirmation Template
At the start of each step, display the current status; after completion, request confirmation. Always use the following format:
Entering each step:
── Step N/9 — [Step Name] ──────────────────
Status: Completed / Needs Update / Missing
Deliverable: [document path] — [one-line summary or "does not exist"]
Do you want to update this step? [y/N (default: skip)]After completion or skip:
Step N confirmed → Proceeding to Step N+1 — [Step Name]After all steps are complete:
══════════════════════════════════════
Full R&D Workflow Checklist Complete
Confirmed steps:
Step 1 — User Story
Step 2 — Technical Design
Step 2.5 — UI Design Confirmation (with docs/ui/ui-implementation-strategy.md) [conditional]
Step 3 — Dev Environment [conditional]
Step 4 — Test Plan
Step 5 — Observability Plan
Step 6 — TDD Implementation
Step 7 — MR
Step 8 — CI
Step 9 — CD
══════════════════════════════════════Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

