sdlc-workflow
v1.2.6
Published
Scaffold SDLC workflow docs and templates for Cursor, Claude, and dev teams
Maintainers
Readme
sdlc-workflow
Scaffold SDLC workflow docs and templates into your project. Works with Cursor, Claude, Antigravity, and Codex.
Flow
User Request → PO → Business BA → Design (if app/web) → Architect → Technical BA → QE (docs) → Dev → QE (testing + UAT) → [bug-fix loop until 0 bugs] → Security + PE audit → [fix → retest → re-audit loop until 0 issues] → Deploy → Maintenance- Trigger: When you send an idea or feature request, the agent should run the full pipeline (PO → … → Deploy) in sequence, one sub-agent/role per phase — not handle everything in one go or stop after one phase. See
docs/sdlc/ORCHESTRATION.md. - Design (optional): For app/web projects, after Business BA → create design specs (Markdown) + optional HTML wireframes; PO + Business BA review until approved; then Architect + Technical BA. UX drives technical decisions.
- QE bug-fix loop: After QE finds bugs → Dev fixes → QE retests → repeat until 0 open bugs.
- Security + Principle Engineer: After QE sign-off (0 bugs) → security + logic audit; fix → retest → re-audit loop (Dev fixes → QE retests → re-audit) until 0 issues/vulnerabilities; sign-off before Deploy.
- Each role runs as a sub-agent (see
docs/sdlc/agents/). - After completion → deploy immediately with Docker Compose (local/staging) and Kubernetes (production) —
docs/sdlc/deploy/. - Maintenance: After Deploy → monitoring, bug fixes, patches, dependency updates, performance tuning —
docs/sdlc/maintenance/. - QE (docs): Test plan, test cases
- Dev: After docs phase → run implementation immediately. Tech Lead (review, merge) + Senior Dev (implement, Unit Test ≥90%)
- QE (testing): QE Lead (15+ yrs automation: strategy, framework, review) + Senior QE (10+ yrs, write automation tests)
Usage
init — Project setup
In your project directory:
npx sdlc-workflow initCreates project-level files:
docs/sdlc/— SDLC docs, templates, and phase folders.cursor/rules/sdlc-workflow.mdc— Cursor rule.claude/CLAUDE.md— Claude Code instructionsAGENTS.md— Antigravity, Codex (universal project guidance).agents/skills/sdlc-workflow/— Codex repo skill
install — Global setup
npx sdlc-workflow installInstalls global skills (run once per machine):
~/.cursor/skills/sdlc-workflow/— Cursor skill~/.codex/AGENTS.md— Codex global instructions~/.agents/skills/sdlc-workflow/— Codex global skill
Generated Structure
docs/sdlc/
├── SDLC-WORKFLOW.md # Main workflow (use with Claude)
├── reference.md
├── po/ # Product Owner (one folder per epic: po/{epic-slug}/)
│ ├── epic-brief.template.md
│ └── README.md
├── ba/
│ ├── business/ # Business BA (one folder per epic: ba/business/{epic-slug}/)
│ │ ├── functional-requirement.template.md
│ │ └── README.md
│ └── technical/ # Technical BA
│ ├── api-spec.template.md
│ ├── team-breakdown.template.md
│ └── README.md
├── design/ # Design (optional, app/web): after BA, before Architect; design specs + wireframes; PO+BA review until approved
│ └── README.md
├── architecture/ # Architect
│ ├── adr.template.md
│ └── README.md
├── qe/ # QE (one folder per epic: qe/{epic-slug}/)
│ ├── test-case.template.md
│ ├── README.md
│ ├── qe-lead/ # QE Lead 15+ yrs automation: strategy, framework, review (output per epic)
│ │ └── README.md
│ └── senior-qe/ # Senior QE 10+ yrs: automation (output per epic)
│ └── README.md
├── dev/ # Dev team (all Senior 10+ yrs; roles vary by project)
│ ├── implementation-roles.template.md
│ ├── tech-lead/ # Tech Lead 15+ yrs
│ ├── senior-developer/ # Senior Dev 10+ yrs (generic)
│ ├── frontend/ # Senior Frontend 10+ yrs — Web UI
│ ├── backend/ # Senior Backend 10+ yrs
│ ├── mobile/ # Senior Mobile 10+ yrs
│ ├── embedded/ # Senior Embedded 10+ yrs — firmware, IoT
│ ├── data-ml/ # Senior Data/ML 10+ yrs
│ └── platform/ # Senior Platform 10+ yrs — CI/CD, infra
├── security/ # Security team: audit security risk (after implementation)
│ └── README.md
├── principle-engineer/ # Principle engineer: audit logic, architecture (after implementation)
│ └── README.md
├── agents/ # Sub-agent specs (each role = sub-agent)
│ └── README.md
├── deploy/ # After Security + PE sign-off (fix loop until no issues) → Docker Compose + K8s
│ ├── README.md
│ ├── docker-compose.yml.template
│ └── k8s/
│ ├── deployment.yaml.template
│ ├── service.yaml.template
│ └── ingress.yaml.template
└── maintenance/ # After Deploy → monitoring, bug fixes, patches, runbooks
└── README.md
.cursor/rules/
└── sdlc-workflow.mdc # Cursor rule
AGENTS.md # Antigravity, Codex (universal)
.agents/skills/sdlc-workflow/ # Codex repo skillUse with Cursor
The rule .cursor/rules/sdlc-workflow.mdc activates when working with docs/sdlc/** or *.md. Global skill: ~/.cursor/skills/sdlc-workflow/.
Use with Claude
- Claude Code (project):
.claude/CLAUDE.md— Claude loads it when you open this project. - Claude.ai (web): Copy
docs/sdlc/SDLC-WORKFLOW.mdinto Custom Instructions or @ mention it.
Use with Antigravity
AGENTS.md at project root — Antigravity reads it (priority: AGENTS.md → GEMINI.md). Universal format, works across agentic IDEs.
Use with Codex
- Project:
AGENTS.md+.agents/skills/sdlc-workflow/ - Global:
~/.codex/AGENTS.md+~/.agents/skills/sdlc-workflow/
Release
Add
NPM_TOKEN(npm access token) to repo Settings → Secrets → Actions.Push a version tag:
git tag v1.0.1 git push origin v1.0.1GitHub Action publishes to npm and creates a GitHub Release.
License
MIT
