Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@electronics-extreme/claude-sdlc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electronics-extreme/claude-sdlc

Cross-platform CLI to bootstrap a frozen Waterfall SDLC scaffold for Claude Code / Cursor / Codex / Gemini / Copilot CLI / OpenCode. Runtime requires Python 3.11+.

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

SDLC Strict Waterfall Kit

Doc-first Software Development Lifecycle methodology for AI coding agents. Works natively on six harnesses — Claude Code (CLI + VS Code + Cursor extension + JetBrains + claude.ai/code web), Cursor Agent, GitHub Copilot CLI, OpenAI Codex CLI/App, Google Gemini CLI, and OpenCode.

v2.0.0 · Released 2026-04-23 · MIT · Python 3.11+ only

What this kit is

A scaffolded 6-phase waterfall SDLC tree (docs/sdlc/01_requirement/docs/sdlc/06_maintenance/) plus a runtime that keeps AI coding agents honest about it.

At session start, a 5-rule contract is auto-injected as IMPORTANT context. At phase sign-off, a two-pass reconciliation gate blocks drift between signed docs and shipped code. Throughout, an on-demand skill (/sdlc-strict-waterfall) provides the full protocol: Core rules 1-10, per-phase workflows, change/migration/hotfix/removal procedures, and a traceability matrix from requirement to commit.

Everything is measurement-backed: every NFR carries a numeric target; a metrics subsystem (tools/sdlc_metrics/) reports token cost per phase; a residue guard refuses to sign docs with placeholder content; a SHA-pinned hook script refuses to inject a tampered contract.

Install

Pick your agent. One command. Done.

AgentInstall
Claude Codeclaude plugin marketplace add Electronics-Extreme/claude-sdlc && claude plugin install claude-sdlc@claude-sdlc
CodexClone repo → /plugins → Search "SDLC" → Install
Gemini CLIgemini extensions install https://github.com/Electronics-Extreme/claude-sdlc
Cursornpx skills add Electronics-Extreme/claude-sdlc -a cursor
Windsurfnpx skills add Electronics-Extreme/claude-sdlc -a windsurf
Copilotnpx skills add Electronics-Extreme/claude-sdlc -a github-copilot
Clinenpx skills add Electronics-Extreme/claude-sdlc -a cline
Any othernpx skills add Electronics-Extreme/claude-sdlc

Install once. Use in every session. On first interaction, the agent loads the SDLC contract, detects a missing scaffold, and offers to bootstrap.

Quick start (after install)

  • Open your project in the agent
  • Ask: "What are the 5 non-negotiable rules?"
  • Agent loads SDLC contract → detects no scaffold → offers bootstrap
  • Accept → docs/sdlc/01_requirement/ ... 06_maintenance/ created
  • Start spec in docs/sdlc/01_requirement/srs.md

Manual bootstrap (alternative)

# Run inside your project directory — no arguments needed
cd ~/Projects/MyApp
npx @electronics-extreme/claude-sdlc init --harness claude

The methodology

Six phases, strictly ordered. No phase skips. Every phase gates on four checks plus two-pass reconciliation before sign-off:

docs/sdlc/01_requirement  →  docs/sdlc/02_design  →  docs/sdlc/03_implementation  →  docs/sdlc/04_testing  →  docs/sdlc/05_deployment  →  docs/sdlc/06_maintenance
     SRS            Architecture      Source code        Test report      Release         Change requests
   signed off     + DB + API         + unit tests      + defects log     + runbook     + incident log

Five non-negotiable rules (always-loaded via SessionStart hook):

  • REFUSE direct code edits — route via CR + doc amendment
  • No code without a doc parent in signed 01/02/03
  • No phase skipping — N+1 requires N sign-off
  • Signed docs are frozen — amend via Post-vX.Y.Z sections
  • Reconciliation gate before every phase sign-off (two ordered passes)

Each rule ships with an Excuse / Reality rationalization table that anticipates the specific rationalizations an agent (or human) invents to skip the rule.

Core rule 7 — TDD inside every slice. RED-GREEN-REFACTOR per TO-###. Tests derive from AC-### / TC-### in the signed docs — never invent behavior.

Core rule 9 — Four gates + two-pass reconciliation:

  • typecheck + lint + full test suite + reconciliation Pass 1 (spec) before Pass 2 (quality) before sign-off

See skill/sdlc-contract.md for the 5 rules in full; skill/SKILL.md for Core rules 1-10, per-phase workflows, and protocols.

What's in the kit

AreaContents
Phase scaffoldsdocs/sdlc/01_requirement/docs/sdlc/06_maintenance/ — 39 artifact templates per phase
Skillskill/sdlc-contract.md, skill/SKILL.md, skill/reconciliation.md, skill/traceability-matrix.md, workflows × 4, protocols × 4, references × 2, required-reads manifest
Hookshooks/session_start.py (6-harness env-detect + SHA integrity + banner), run-hook.cmd / .sh launchers
Scripts12 Python 3.11+ stdlib scripts: bootstrap, build-archive, check_frontmatter, check_residue, check_task_types, update_contract_sha, sync_wrappers, reconcile, bump_version, release_check, add_frontmatter
Metrics subsystemtools/sdlc_metrics/ — phase-aware token analyzer with 6 adapter stubs, 4 report formats (text/JSON/markdown/HTML), SQLite history, budget gate, secrets pre-filter
Configconfig/pricing.yaml, budgets.yaml, phase-markers.yaml, task-types.yaml, harnesses.yaml, residue-exceptions.yaml
Schemasschemas/doc-frontmatter.schema.yaml, task-types.schema.yaml
Harness adapters.claude/, .claude-plugin/, .cursor/, .windsurf/, .clinerules/, .github/copilot-instructions.md, .codex/, .opencode/, gemini-extension.json, AGENTS.md, GEMINI.md
Policy docsPRIVACY.md, NOTICE.md, LICENSE, CHANGELOG.md, docs/VERSIONING.md
CI workflows.github/workflows/sdlc-tests.yml, release.yml, airgap.yml

Total: ~290 files, ~830 KB dist.zip.

Verifiable claims

Every claim in this README is backed by a measurement or CI gate:

ClaimVerified by
Zero telemetry, zero analytics, zero remote fetch except user-invoked.github/workflows/airgap.yml runs every script with network denied; exit 0 required
Works on Windows 11 natively.github/workflows/sdlc-tests.yml matrix includes windows-2022
Python 3.11 stdlib onlyGrep-check on import lines + airgap job
Every phase doc has valid frontmatterscripts/check_frontmatter.py in CI
No placeholder residue in signed docsscripts/check_residue.py in CI
Contract + hook integrity (SHA-pinned)scripts/update_contract_sha.py --check in CI
Harness wrappers stay in syncscripts/sync_wrappers.py --check in CI
SemVer correctness on releasescripts/release_check.py --tag in release workflow
HTML metrics report is self-contained ≤ 500 KiBNFR-METRICS-OUT-1 asserted in tests
Metrics adapter ≤ 200 LOC for well-formed transcriptsNFR-METRICS-ADAPT-1 — Claude Code reference is 180 LOC

Token budget

Default per-phase budgets (from config/budgets.yaml, editable per adopter):

PhaseToken hard-capCost hard-capCache floor
01 requirement80K$0.4060%
02 design100K$0.5565%
03 implementation150K$0.7570%
04 testing90K$0.4570%
05 deployment60K$0.3055%
06 maintenance70K$0.3560%

Run python3 tools/sdlc_metrics/analyze.py budget-check <session.jsonl> --phase 3 to enforce. Exit 1 on breach.

Versioning + stability

Strict SemVer 2.0. The kit follows a bootstrap pattern — existing projects stay on the kit version they installed; new features land in new bootstrapped projects. See docs/VERSIONING.md.

Contributing

This kit is distributed as-is. Changes go through the kit's own SDLC:

  • File a CR in docs/sdlc/06_maintenance/change_requests.md (use the template)
  • Approve per class (minor = TL; major = TL + PO; breaking = TL + PO + Security)
  • Amend Phase 1/2/3 docs as declared in the CR
  • Implement per Core rule 7 (TDD)
  • Close reconciliation — Pass 1 spec compliance, then Pass 2 code quality
  • Bump VERSION, promote CHANGELOG, tag
  • release.yml publishes dist.zip

License

MIT — see LICENSE.

Privacy

Zero telemetry. Zero analytics. Zero remote fetch except user-invoked pricing-sync and harness marketplace installs. See PRIVACY.md.

Keywords

sdlc

FAQs

Package last updated on 24 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts