Your AI writes fast.
Temper makes it last.

IDD + BDD + TDD for AI-generated code. Quality gates, blast radius analysis, and intent-driven development. The AI discipline layer for Claude Code (Cursor: stable v5.1 tier).

Temper Dashboard

๐ŸŸฃ Claude Code

/plugin marketplace add galando/temper
/plugin install temper

Commands available in any project.

๐Ÿ”ต Cursor IDE

bash <(curl -fsSL https://raw.githubusercontent.com/galando/temper/main/scripts/install-cursor.sh)

Stable v5.1 feature set. New capabilities ship Claude Code-first.

Capabilities

The full SDLC, automated

Temper runs the complete software development lifecycle โ€” plan, design, build, review, check โ€” with stage gates, feedback loops, and observability built in.

Feedback Loops

Review finds issues? Loop back to Build. Check fails tests? Targeted fix. Bad plan? Loop back to Plan. Circuit breakers: max 2 loops, same issue twice = stop.

Design Phase

System architecture, API contracts, database schema, integration points, and decision logs. Auto-skipped for simple features, enforced for complex ones.

Live Verification

Every scenario runs against your test runner. Real pass/fail, real output. Not opinions โ€” proof. Evidence labels: [PROVEN], [HEURISTIC], [SEMANTIC].

Adaptive Learning

Learns from every review. Detects recurring patterns, suggests new pack rules, and suppresses noise. Your reviews get sharper over time.

Context Accumulation

Each stage writes structured context for downstream stages. Review knows what Build struggled with, Check knows what Review already fixed. No agent amnesia.

Interactive Walkthrough

Walk through plans and designs section by section โ€” intent, scenarios, architecture, blast radius, tasks. Skip to build from any point.

MCP Integration

Optional MCP servers upgrade analysis: code-review-graph for blast radius and call chains, semgrep for SAST scanning. Progressive enhancement.

Cursor IDE (stable tier)

Temper for Cursor at the v5.1 feature set. 22 rules โ€” packs, skills, capabilities. New capabilities ship Claude Code-first. Platform strategy โ†’

External Review Engine

Orchestrates Alibaba's open-code-review for LLM-powered defect detection. Cross-validated findings labeled [OCR+TEMPER] with boosted confidence.

Evidence

Does It Actually Catch Bugs?

Architecture arguments are fine. Results are better. Here's what Temper catches that vanilla AI coding misses.

Missing Rate Limiting

AI built password reset. All tests pass. Scenario coverage gate caught the gap: no test for rate limiting. Build wrote the test โ†’ failed โ†’ implemented rate limiting โ†’ passed.

Over-Engineering

AI planned 3 classes for a single validation rule. File-to-scenario traceability flagged it: one scenario, one function needed. Three files became zero.

Wrong Problem Solved

AI built the feature correctly โ€” plus an admin-only endpoint nobody asked for. Untraced file flagged and removed before commit.

See all evidence โ†’  ยท  Benchmark methodology

Methodology

IDD + BDD + TDD: Three Layers, One File

Most AI tools only answer "does the code work?" Temper answers all three questions that matter.

IDD โ€” Intent-Driven

Did we solve the problem? Success criteria with structured validation types. Not just "tests pass" โ€” the feature actually addresses the need.

BDD โ€” Behavior-Driven

Does it do the right things? Scenarios derived BEFORE architecture. Every file traces to a behavior. No over-engineering.

TDD โ€” Test-Driven

Does the code work? Tests written from scenarios. RED โ†’ GREEN โ†’ REFACTOR. Scenario coverage gate ensures nothing is missed.

One File: intent.md

All three layers live in a single markdown artifact. Problem, scenarios, and coverage checklist in one place.

Features

Discipline built in, not bolted on

Temper doesn't just generate code โ€” it plans, validates, tests, and learns. Every step is verified before moving forward.

Blast Radius Analysis

Understands impact before coding. Maps affected files, dependencies, and risk areas.

Mermaid Architecture Diagrams

Auto-generates flowcharts, sequence diagrams, and state machines. See the plan visually before building.

Interactive Plan Walkthrough

Walk through the plan section by section โ€” intent, scenarios, architecture, blast radius, tasks โ€” with Q&A at each step.

Enforced Quality Gates

Tests must pass. Coverage must be met. The AI cannot proceed until verified.

Workflow

The User Flow

Four steps from idea to production-ready code. Temper automates quality โ€” you focus on shipping.

01 You type

Plan /temper

One command starts it all. Temper analyzes blast radius, generates mermaid architecture diagrams, creates BDD scenarios, and presents an interactive plan. Walk through step by step or approve and build.

โœ“ 12 files affected ยท โœ“ 5 scenarios ยท โœ“ architecture diagram ยท ! 2 risk areas ยท Walkthrough? โ†’ Build?
02 Automated

Build (auto-continues)

Temper implements automatically with TDD gates enforced at every step. Tests written first, code follows. Stage gate asks to continue.

โœ“ 18 tests pass ยท โœ“ 86% coverage ยท Run review?
03 Automated

Review (auto-continues)

Temper reviews automatically against enabled packs. Findings scored by confidence. Stage gate confirms all checks passed.

โœ“ 94% confidence ยท 3 findings ยท Ready to commit?
04 Automated

Commit (done)

Temper commits your changes with a proper message. Branch ready to push. Use /temper:status anytime to track quality metrics.

โœ“ Committed ยท Branch: feature/xxx ยท Ready to push

Adaptive Learning

Temper gets smarter with every review. It detects recurring patterns, suggests new rules, and suppresses false positives โ€” so your reviews focus on what actually matters.

Pattern Detection

Identifies recurring issues and anti-patterns in your code.

Rule Suggestions

Proposes new rules based on what it learns from your reviews.

Noise Reduction

Suppresses false positives as it learns your codebase patterns.

Quality Packs

Built-in Packs

Rules that enforce best practices. Each pack has BLOCK, WARN, and SUGGEST severity levels.

๐Ÿ’Ž

Quality BLOCK

  • Methods max 30 lines
  • No duplicate code (DRY)
  • Max complexity: 10
๐Ÿงช

TDD WARN

  • Write test first (RED)
  • Minimal implementation
  • Coverage: 80%
๐Ÿ”’

Security BLOCK

  • No SQL injection
  • No XSS vulnerabilities
  • No secrets in code
๐ŸŒฟ

Git SUGGEST

  • Conventional commits
  • Branch conventions
  • Atomic commits

๐ŸŽจ Create Your Own Packs

Add a rules.md file and Temper will automatically discover it. Three-tier resolution: project > global > built-in. Link packs to plugins or skills for automatic context injection.

.claude/packs/my-company/rules.md # My Company Standards ## BLOCK - All API responses use DTOs - No raw SQL queries ## WARN - Constructor injection only - Max method length: 20 lines

โšก Or create a pack interactively

STEP 1
Run the command

Type /temper:pack in any project

STEP 2
Answer questions

Temper scans your codebase and asks about patterns it finds

STEP 3
Get your pack

Temper generates a custom rules.md based on your answers

Commands

Unified Command

One command runs the full SDLC: plan โ†’ design โ†’ build โ†’ review โ†’ check with stage gates, feedback loops, and observability.

/temper "add login feature"     # Full SDLC in one command

Runs plan, build, review, and check with interactive stage gates. Each stage asks for confirmation before proceeding.

Individual Commands

For granular control, use individual commands.

๐ŸŽฏ

/temper:plan

Plan with blast radius, mermaid diagrams, and interactive walkthrough

๐Ÿ“

/temper:design

System design for complex features (auto-skipped for simple)

๐Ÿ”จ

/temper:build

Build with TDD + quality gates

๐Ÿ”

/temper:review

Review with confidence scoring

โœ…

/temper:check

Stack validation (auto-detect)

๐Ÿ”ง

/temper:fix

Root cause analysis + fix

๐Ÿ“

/temper:pack

Manage quality packs

๐Ÿ“Š

/temper:status

Quality metrics dashboard

๐Ÿ”ฅ

/temper "feature"

Unified: plan โ†’ design โ†’ build โ†’ review โ†’ check

Stacks

Supported Stacks

Auto-detection with zero configuration.

Spring Boot React + TS Node/Express FastAPI Go Rust
Install

Quick Install

๐ŸŸฃ Claude Code

/plugin marketplace add galando/temper
/plugin install temper

Commands are now available in any project. For optional MCP-powered analysis, see Recommended Setup.

๐Ÿ”ต Cursor IDE

bash <(curl -fsSL https://raw.githubusercontent.com/galando/temper/main/scripts/install-cursor.sh)

Downloads 22 rules and 9 commands โ€” packs, skills, capabilities, and reference docs. Stable v5.1 feature set. No Python or git required.