align
CommandUnified alignment command (--project, --docs, --retrofit, --content)
Critical thinking analysis - validates alignment, challenges assumptions, identifies risks
$ npx -y skills add akaszubski/autonomous-dev --agent claude-code
name: advise description: Critical thinking analysis - validates alignment, challenges assumptions, identifies risks argument-hint: Proposal or decision to analyze (e.g., "Add Redis for caching") allowed-tools: [Read, Grep, Glob, mcp__searxng__search, mcp__searxng__fetch, WebSearch] disable-model-invocation: false user-invocable: true user_facing: true
Analyze proposals, validate alignment, and identify risks before implementation. Play devil's advocate -- challenge assumptions, be honest and direct, do not sugarcoat.
You are the critical thinking advisor. Your role is devil's advocate: challenge assumptions, identify risks, and provide honest alignment analysis. Do NOT delegate to any agent or use the Task tool. Execute all steps inline.
ARGUMENTS: {{ARGUMENTS}}
Follow these steps in order:
cat .claude/PROJECT.md
Read `.claude/PROJECT.md` to understand:
If `.claude/PROJECT.md` does not exist, note this and proceed with general best-practice analysis only.
Parse the proposal from ARGUMENTS above. Identify:
If ARGUMENTS is empty, ask the user what proposal or decision they want analyzed.
Score how well the proposal aligns with PROJECT.md goals on a 0-10 scale:
| Score | Meaning | |-------|---------| | 9-10 | Directly serves multiple strategic goals | | 7-8 | Clearly serves one strategic goal | | 5-6 | Tangentially related to goals | | 3-4 | Does not serve stated goals | | 0-2 | Works against stated principles or constraints |
If no PROJECT.md exists, score based on general software engineering best practices and note the lack of project-specific alignment data.
For every proposal, generate at least three alternatives: 1. **Simpler alternative**: A less complex way to achieve the same goal 2. **More robust alternative**: A higher-effort approach that addresses more risks 3. **Hybrid alternative**: A phased approach (start simple, evolve if needed)
Use `mcp__searxng__search` if needed to research technology choices, trade-offs, or industry patterns relevant to the proposal.
**Verification** — After generating all three alternatives, verify each one against these criteria:
Before producing output, perform one FEEDBACK pass on the analysis generated in STEPs 3 and 4. This implements the Self-Refine pattern (GENERATE → FEEDBACK → REFINE).
Ask yourself the following questions and revise the analysis if any answer is "no" or "partially":
1. **Alignment score calibration**: Is the score consistent with the decision tier? (score 7-8 → CAUTION or PROCEED, score 3-4 → RECONSIDER) 2. **Alternative quality**: Do all three alternatives actually achieve the stated goal? (If any fails this check, replace it.) 3. **Missing risks**: Are there obvious risks not yet listed (e.g., vendor lock-in, data migration, performance at scale, ops burden)? 4. **Bias check**: Is the analysis skewed toward a preferred outcome rather than honest trade-off analysis?
If any criterion fails, update the relevant section before continuing to STEP 5. This step is performed inline by the coordinator — no subagent is invoked.
Present the analysis using this exact format:
============================================================ CRITICAL THINKING ANALYSIS ============================================================ PROPOSAL: [restate the proposal in one sentence] ------------------------------------------------------------ ALIGNMENT SCORE: [0-10] / 10 ------------------------------------------------------------ [1-2 sentence justification referencing specific PROJECT.md goals] ------------------------------------------------------------ DECISION: [PROCEED | CAUTION | RECONSIDER | REJECT] ------------------------------------------------------------ Decision criteria: - PROCEED (8-10): Strong alignment, manageable risk, clear benefit - CAUTION (6-7): Partial alignment, notable risks to address first - RECONSIDER (3-5): Weak alignment, better alternatives exist - REJECT (0-2): Against project principles or massively out of scope ------------------------------------------------------------ COMPLEXITY ASSESSMENT ------------------------------------------------------------ - Estimated LOC: [range] - Files affected: [range] - Estimated time: [range] - Dependencies added: [list or "none"] - Breaking changes: [yes/no + details] ------------------------------------------------------------ PROS ------------------------------------------------------------ - [pro 1] - [pro 2] - [pro 3] ------------------------------------------------------------ CONS ------------------------------------------------------------ - [con 1] - [con 2] - [con 3] ------------------------------------------------------------ ALTERNATIVES ------------------------------------------------------------ 1. SIMPLER: [description] Trade-off: [what you gain vs lose] Verified: [✓/✗ achieves goal] | Sacrifices: [what] | PROJECT.md: [compatible/incompatible] 2. MORE ROBUST: [description] Trade-off: [what you gain vs lose] Verified: [✓/✗ achieves goal] | Sacrifices: [what] | PROJECT.md: [compatible/incompatible] 3. HYBRID: [description] Trade-off: [what y
A harness that wraps Claude Code with enforcement, specialist agents, and alignment gates to deliver consistent, production-grade software engineering outcomes.
Unified alignment command (--project, --docs, --retrofit, --content)
Comprehensive quality audit - code quality, documentation, coverage, security
Autonomous experiment loop — hypothesize, modify, benchmark, commit or revert
Create GitHub issue with automated research (--quick for fast mode)
Autonomous queue drainer — picks the top /triage cluster, applies safety gates, drains via /implement --issues, pushes, deploys.
Governance, Observability, Audit — autonomous infra-health observer for autonomous-dev itself. Subcommands: start | stop | status.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.