By RRoundTable
A strict senior developer persona that automatically enforces 5 core philosophies (Single Goal, YAGNI, Context-Aware Decisions, High Cohesion/Low Coupling, Fail Fast) across your coding workflow.
Trigger when scanning an existing codebase to produce architecture documentation — reverse-engineering project structure, generating docs/ARCHITECTURE.md from source code, creating system diagrams, or mapping out services and components. Also trigger for "document this project's architecture", "what is the architecture of this codebase?", or "map out the services in this project". NEVER trigger for: code quality reviews, commit checks, defining feature specs, setting up project governance, choosing between technologies, implementing features, fixing bugs, or reading past decisions.
Verifies task alignment with docs/GOAL.md, docs/ROADMAP.md, and docs/SPEC.md before any code change. Use this skill automatically before writing or editing code, when the user asks to implement a feature, fix a bug, refactor code, or do any coding work. Also trigger when the user asks "should I work on X?" or discusses priorities. If the project has docs/GOAL.md or docs/ROADMAP.md, this check must happen before code touches disk. Also checks docs/SPEC.md conformance if it exists.
Trigger for code design trade-offs, over-engineering, premature abstractions, YAGNI, error handling patterns, code structure, simplest implementation, or pragmatic development questions. Also active when the project has docs/GOAL.md, docs/ROADMAP.md, or docs/ARCHITECTURE.md.
Trigger when committing, pushing, merging, finalizing code, or reviewing code quality. Also trigger for specific violations: TODO/FIXME/HACK, cross-feature imports, coupling, undocumented deps, spec drift, empty catch blocks — even a single sub-check of these.
Bootstrap a project with Techlead's document hierarchy. Use when the user types /init-techlead, wants to set up project governance, or when docs/GOAL.md is missing and needs to be created.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin that acts as a strict, pragmatic senior developer — enforcing project discipline through 5 core philosophies.
Techlead automatically checks your work against five principles:
GOAL.md). Code that doesn't serve it gets questioned.core/.TODO/FIXME/HACK in committed code. Errors are handled, not swallowed.See The 5 Philosophies for definitions, rationale, and anti-patterns.
claude plugin add github:RRoundTable/techlead
After installing, run the init command in any project:
/init-techlead
This creates:
your-project/
├── GOAL.md # Single project goal + success criteria
├── ROADMAP.md # Now / Next / Later milestones
├── SPEC.md # User-observable behaviors + acceptance criteria
├── ARCHITECTURE.md # Tech stack, module structure, import rules
└── CLAUDE.md # Updated with Techlead rules
ADRs are stored as git commits with adr/ tags — no file bloat. Discover them via git tag -l "adr/*" and read via git log <tag> --format="%B" -1. Spec records use the same pattern with spec/ tags.
From that point on, Techlead is active. It checks alignment before code changes and verifies quality before commits.
flowchart TD
A(["/init-techlead"]) --> B{"Existing docs\nfound?"}
B -- Yes --> C["Ask: overwrite or skip?"]
B -- No --> D
C --> D{"Non-standard files\nin docs/?"}
D -- Yes --> E["Suggest /restructure-docs\nbefore continuing"]
D -- No --> F
E --> F["Detect existing source code"]
F --> G["Interview user\n— goal, success criteria, out of scope,\ncurrent priorities, tech stack"]
G --> H{"Source code\nfound?"}
H -- Yes --> I["Scan codebase → derive\nGiven/When/Then specs"]
I --> J
H -- No --> J["Generate all files:\nGOAL.md + ROADMAP.md + SPEC.md\nARCHITECTURE.md + CLAUDE.md"]
J --> K(["Alignment checks are now active"])
flowchart TD
S(["Session starts"]) --> H["SessionStart hook injects\nTechlead workflow + enforcement rules"]
H --> C(["Day-to-day development"])
C --> D{"Code change\nrequested?"}
D -- Yes --> E["check-alignment\nMatches GOAL.md?\nIn ROADMAP Now?\nConforms to SPEC.md?"]
E -- Aligned --> F["Write / Edit code"]
E -- Misaligned --> G["Stop — ask user to\nclarify or reprioritize"]
G --> C
F --> H2{"User commits?"}
H2 -- Yes --> I["verify-code-quality\n5 philosophies + spec conformance"]
I -- Pass --> J(["Commit"])
I -- Violation --> K["Report file:line + fix"]
K --> F
C --> L["/propose-architecture"]
L --> M["Research + trade-off matrix"]
M --> N["Recommend with\nproject-specific rationale"]
N --> O["Record ADR\n(git tag adr/NNN)"]
O --> C
C --> P["/propose-spec"]
P --> Q["Define Given/When/Then\nbehaviors + acceptance criteria"]
Q --> R["Record spec change\n(git tag spec/NNN)"]
R --> C
C --> T["/analyze-architecture"]
T --> U["Scan codebase → generate\nARCHITECTURE.md with diagrams"]
U --> C
C --> V["/read-history"]
V --> W["Search ADR + spec records\nfrom git tags"]
W --> C
C --> X["/restructure-docs"]
X --> Y["Classify existing docs →\nmigrate to canonical format"]
Y --> C
| Skill | When | What |
|---|---|---|
| techlead-workflow | Always active | Sets the pragmatic senior developer tone, philosophy, and skill routing |
| check-alignment | Before writing/editing code | Verifies the task matches GOAL.md, ROADMAP.md, and SPEC.md |
| verify-code-quality | Before commits | Checks code against all 5 philosophies + spec conformance |
| init-techlead | /init-techlead | Bootstrap GOAL.md, ROADMAP.md, SPEC.md, ARCHITECTURE.md, CLAUDE.md |
| propose-architecture | /propose-architecture or "compare A vs B" | Research, trade-off matrix, recommendation, and ADR recording |
| propose-spec | /propose-spec or "what should X do?" | Define feature specs as user-observable Given/When/Then behaviors |
| read-history | /read-history | Search and display ADRs and spec records from git tags |
| analyze-architecture | /analyze-architecture or "document this project's architecture" | Scan codebase and generate ARCHITECTURE.md with diagrams |
| restructure-docs | /restructure-docs or "migrate my docs" | Classify existing docs and migrate to canonical format |
npx claudepluginhub rroundtable/techlead --plugin techleadMake your AI agent code with your project's architecture, rules, and decisions.
GitHub Spec-Kit integration for Specification-Driven Development - define WHAT and HOW before coding
Architecture Deep Research — scan a repo, draft a PRD, run live deep research, get a cited handoff. Use when picking a topology, retrieval architecture, event bus, storage engine, auth pattern, or any system-design decision before code lands.
Architecture analysis, brainstorming, ADR generation, LLM-as-judge comparison, and spec gap resolution.
A Claude Code plugin for structured, context-efficient software development.
You work with me (Claude) - I guide your workflow and suggest next actions.