🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

steroid-workflow

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

steroid-workflow

AI agency-in-a-box for non-technical vibe coders. 8-skill pipeline with two-stage review, handoff reports, analytics dashboard, structured memory, smart recovery, prioritized stories, codebase scanning, spec-driven development, tech research, TDD, circuit

latest
Source
npmnpm
Version
6.2.2
Version published
Maintainers
1
Created
Source

🧬 Steroid-Workflow

npm version license node CI

AI coding guardrails that enforce a structured pipeline — so the AI can't cut corners, skip steps, or hallucinate solutions.

Steroid-Workflow wraps your AI coding assistant in an 8-phase pipeline with physical enforcement. Every idea flows through codebase scanning, specification, research, architecture, TDD implementation, and verification — producing enterprise-grade output with documentation, CI/CD, error handling, and deployment guidance.

The Problem

AI coding tools are powerful but unreliable. Without guardrails, they:

  • Skip planning and jump straight to code
  • Forget requirements halfway through
  • Write fake tests that always pass
  • Silently delete working code during refactors
  • Produce weekend-hackathon quality output for production projects

Steroid-Workflow makes these failures physically impossible through git hooks, gate checks, and circuit breakers.

Quick Start

# 1. Inside any project with git init
npx steroid-workflow init

# 2. Tell your AI what to build
> "Build me a habit tracker like Apple Health"

# 3. The AI automatically follows the pipeline
#    If it doesn't, say: "Use the steroid pipeline."

No config. No dependencies. Works with any AI-powered IDE.

How It Works

graph LR
    A["📡 Scan"] --> B["🎯 Vibe Capture"]
    B --> C["đź“‹ Specify"]
    C --> D["🔬 Research"]
    D --> E["🏗️ Architect"]
    E --> F["⚡ Engine"]
    F --> G["âś… Verify"]
    H["🔍 Diagnose"] -.-> F

    style A fill:#1e3a5f,color:#fff
    style B fill:#2d5a3d,color:#fff
    style C fill:#4a3d6b,color:#fff
    style D fill:#5a3d3d,color:#fff
    style E fill:#3d4a5a,color:#fff
    style F fill:#6b5a2d,color:#fff
    style G fill:#2d6b5a,color:#fff
    style H fill:#5a4a3d,color:#fff
PhaseWhat HappensOutput
ScanDetects tech stack, project structure, test infracontext.md
Vibe CaptureTranslates your idea into a structured briefvibe.md
SpecifyConverts the brief into user stories with acceptance criteriaspec.md
ResearchInvestigates tech choices, security, deployment, architectureresearch.md
ArchitectCreates atomic execution plan with quality, docs, and deploy tasksplan.md
EngineBuilds using TDD, commits atomically, captures learningsWorking code
VerifyRuns core verification by default, with optional deep scans for code smells and licensesverify.md, verify.json
DiagnoseRoot cause analysis for bugs (fix intent only)diagnosis.md

Each phase hands off to the next. No manual intervention needed.

Smart Intent Routing

You don't need to tell the AI which pipeline to use — it detects your intent automatically:

You SayPipeline
"Build a dashboard"scan → vibe → spec → research → architect → engine → verify
"Fix the login bug"scan → diagnose → targeted fix → verify
"Refactor the API"scan → specify target state → architect → engine → verify
"Upgrade to React 19"scan → research → architect → engine → verify
"Document the API"scan → specify → engine → verify

Prompt Intelligence

Before the workflow commits to a path, steroid-workflow can normalize messy user language into a structured brief:

  • node steroid-run.cjs normalize-prompt "<message>" — infer intent, ambiguity, complexity, assumptions, and recommended route
  • node steroid-run.cjs prompt-health "<message>" — score clarity, completeness, ambiguity, and risk
  • node steroid-run.cjs session-detect — detect whether this looks like new work, continuation, or post-failure recovery

This helps with vague prompts, mixed prompts, non-technical phrasing, and continuation requests like "continue what we were doing yesterday."

Once written, .memory/changes/<feature>/prompt.json becomes the machine-readable receipt and .memory/changes/<feature>/prompt.md becomes the readable handoff brief. The later phases can preserve assumptions, non-goals, continuation context, and recommended route instead of forcing every model to reconstruct them from scratch.

What You Get

Your AI Can't Skip Steps

A git pre-commit hook blocks any code commit unless the AI went through the pipeline. IDE config injection ensures every AI model sees the rules first.

Errors Stop Before They Snowball

A 5-level circuit breaker tracks command failures. At level 1, the AI retries. By level 4, it stops and presents the error history for human review. At level 5, execution is halted entirely.

Proof Your Code Matches the Spec

A two-stage review system checks (1) whether the AI built what was requested and (2) whether it's well-built. Both stages must pass before core verification can succeed, and archive now depends on a machine-readable verification receipt.

Enterprise-Grade Output

Every project automatically includes:

  • README, CHANGELOG, and deployment documentation
  • Error boundaries, loading states, input validation
  • Security considerations and dependency auditing
  • CI/CD workflow (GitHub Actions)
  • License audit (flags GPL/AGPL viral licenses)
  • Code comments following explain-why-not-what standards

AI Safety Guardrails

Protections specifically designed for non-technical users:

  • Adaptive Discussion — AI detects your technical level
  • Prompt Intelligence — vague, mixed, and non-technical prompts are normalized into explicit assumptions, non-goals, and recommended routes
  • Prompt Preservation — your exact requirements survive the entire pipeline
  • Brownfield Detection — won't scaffold over your existing project
  • Anti-Deletion Guard — can't silently remove working code
  • True TDD Guard — fake tests like expect(true).toBe(true) are blocked
  • Anti-Loop Directive — stops the AI from guessing the same broken fix repeatedly
  • Optional Deep Verification — verify-feature --deep can run knip, madge, gitleaks, and license checks when you want extra scrutiny
  • Command Allowlist — only known dev commands can execute through the circuit breaker

Language Support

LanguageScanBuildLintTest
JavaScript/TypeScriptâś…npm run buildeslintnpm test
Pythonâś…py_compileflake8/ruffpytest
Rustâś…cargo buildcargo clippycargo test
Goâś…go buildgolangci-lintgo test
Java/Kotlinâś…mvn/gradlecheckstylemvn test
Ruby✅—rubocoprspec
PHP✅—phpstanphpunit
C#/.NET✅dotnet build—dotnet test
Dart/Flutterâś…flutter builddart analyzeflutter test

Supported IDEs

Works with any AI-powered IDE or CLI:

IDEConfig
Gemini CLI / AntigravityGEMINI.md
Cursor.cursorrules
Claude CodeCLAUDE.md
OpenAI CodexAGENTS.md
GitHub Copilot.github/copilot-instructions.md
Windsurf.windsurfrules
Cline.clinerules
Aider.agents/steroid-maestro.md

All configs are auto-generated during install.

Update

npx steroid-workflow@latest update

Your project state (.memory/) is preserved. Only skills, configs, and enforcement layers are refreshed.

Verify Installation

node steroid-run.cjs audit

Checks all enforcement layers: git hook, 8 skills, 7 gates, circuit breaker, IDE configs, and knowledge stores.

For Power Users

See ARCHITECTURE.md for:

  • Full command reference (22+ commands)
  • Gate map and enforcement layer details
  • Intent routing internals
  • Prompt intelligence and adaptive route selection
  • Memory system, review system, and analytics dashboard
  • Fork credits and sources

License

MIT © nzkbuild

Keywords

ai

FAQs

Package last updated on 16 Mar 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