methodology-advisor
Analyzes your codebase and asks 3 targeted questions to recommend the right AI-assisted development methodology stack
What this skill does
# Methodology Advisor Analyze this project and recommend the best AI-assisted development methodology stack. Read what you can from the codebase first, then ask only what you cannot infer. **Time**: 2-4 minutes | **Output**: One recommended stack + contextual quick start --- ## Phase 1: Silent codebase analysis Run these reads silently. Do not output results yet, build an internal picture only. ### 1.1 Project identity ```bash # Config files cat CLAUDE.md 2>/dev/null || cat claude.md 2>/dev/null cat package.json 2>/dev/null | grep -E '"name"|"description"|"scripts"' | head -10 cat Cargo.toml 2>/dev/null | grep -E '^name|^description' | head -5 cat pyproject.toml 2>/dev/null | grep -E '^name|^description' | head -5 cat go.mod 2>/dev/null | head -3 ``` ### 1.2 Team size ```bash # Unique contributors in last 90 days git log --since="90 days ago" --format="%ae" 2>/dev/null | sort -u | wc -l # Total commits git log --oneline 2>/dev/null | wc -l ``` ### 1.3 Test maturity ```bash # Test files exist? find . -name "*.test.*" -o -name "*.spec.*" -o -name "*_test.*" -o -name "test_*.py" \ 2>/dev/null | grep -v node_modules | grep -v ".git" | wc -l # Test framework hints grep -rn --include="*.json" --include="*.toml" --include="*.yaml" \ -l "jest\|vitest\|pytest\|rspec\|mocha\|cypress\|playwright" \ 2>/dev/null | grep -v node_modules | head -5 # CI config ls .github/workflows/*.yml 2>/dev/null | wc -l ls .gitlab-ci.yml .circleci/config.yml 2>/dev/null | wc -l ``` ### 1.4 Spec and documentation signals ```bash # Spec files find . -name "*.spec.md" -o -name "SPEC*.md" -o -name "spec.md" -o -name "DESIGN*.md" \ -o -name "ADR*.md" -o -name "RFC*.md" \ 2>/dev/null | grep -v node_modules | grep -v ".git" | head -10 # OpenAPI / contract files find . -name "openapi*.yaml" -o -name "openapi*.json" -o -name "swagger*.yaml" \ -o -name "*.proto" \ 2>/dev/null | grep -v node_modules | head -5 # BDD feature files find . -name "*.feature" 2>/dev/null | grep -v node_modules | wc -l ``` ### 1.5 Codebase size and structure ```bash # File count (rough) find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.py" \ -o -name "*.rs" -o -name "*.go" -o -name "*.java" -o -name "*.rb" \) \ 2>/dev/null | grep -v node_modules | grep -v ".git" | wc -l # Services / packages (monorepo signal) ls packages/ apps/ services/ 2>/dev/null | head -10 ``` ### 1.6 AI and LLM signals ```bash # LLM API usage in code grep -rn --include="*.ts" --include="*.py" --include="*.js" \ -l "anthropic\|openai\|groq\|mistral\|langchain\|llm\|ChatCompletion\|claude" \ 2>/dev/null | grep -v node_modules | grep -v ".git" | head -5 # Eval framework hints find . -name "evals*" -o -name "*eval*" -type d 2>/dev/null | grep -v node_modules | head -5 ``` --- ## Phase 2: Score the 8 stacks Using what you found, score each stack 0-10 based on fit signals: | Stack | Key signals that boost the score | |-------|----------------------------------| | **solo-mvp** | 1 contributor, few files, no CI yet, greenfield | | **team-greenfield** | 2-10 contributors, new project, no legacy files | | **microservices** | `packages/`, `services/`, OpenAPI files, `.proto` | | **brownfield-saas** | High commit count, large file count, few test files | | **enterprise-gov** | 10+ contributors, CI, ADR files, `AGENTS.md` | | **llm-native** | LLM imports, eval dirs, AI product signals | | **power-solo** | 1 contributor, high commit rate, iterative commits | | **plan-moderate** | Mixed signals, CLAUDE.md present, moderate size | --- ## Phase 3: Ask only what you cannot infer After the silent analysis, present your preliminary picture to the user in 2-3 lines, then ask exactly 3 questions. No more. Format: ``` From your codebase I can see: [2-3 concrete observations]. Before recommending, 3 quick questions: 1. [Pain point question, pick the most relevant from below] 2. [Deploy frequency, if not inferable from CI/CD signals] 3. [Setup appetite: how much ceremony are you willing to invest?] ``` **Question bank: pick the 3 most relevant given what you found:** - Pain: "What slows you down most right now: regressions, unclear requirements, context rot between sessions, or no traceability?" - Pain: "When Claude generates a large chunk of code, what is your biggest worry: quality, drift from spec, or losing track of what was built?" - Deploy: "How often do you ship to production: multiple times a day, weekly, or on longer release cycles?" - Deploy: "Is this a product with real users today, a prototype, or an internal tool?" - Governance: "How much initial setup are you willing to invest: none (just start), 30 minutes, or half a day?" - Governance: "Does anyone outside your dev team (PM, QA, compliance) need to validate what gets built?" - AI product: "Does your product expose AI-generated outputs directly to end users?" - Scale: "Do multiple services or teams need to agree on API contracts before implementing?" --- ## Phase 4: Recommendation Output the recommendation in this structure: --- ### Your Stack: [Stack Name] [icon] **Why this fits your project:** - [Finding from Phase 1] -> [explains this stack choice] - [Finding from Phase 1] -> [explains this stack choice] - [Answer to question N] -> [explains this stack choice] **Methodologies included:** `[Method A]` + `[Method B]` (+ `[Method C]` if applicable) **What this looks like in practice:** [2-3 sentences describing the concrete workflow for THIS project, using actual file names or paths found.] **Quick start for your project:** 1. [Concrete first step using actual project context] 2. [Second step] 3. [Third step] **Before you start, note:** - [One honest trade-off or limitation of this stack] - [One thing to watch out for given what you found] **Go deeper:** https://cc.bruniaux.com/methodologies/ (interactive quiz and full stack comparison) **Full methodology guide:** https://cc.bruniaux.com/guide/methodologies/ --- ## Stack reference (internal) Use this to map your scoring to quick-start language: **solo-mvp** (SDD + TDD): Write feature spec in CLAUDE.md -> `"Write failing tests for this spec, then implement until green."` **team-greenfield** (Spec Kit + TDD + BDD): `/speckit.constitution` -> Given/When/Then scenarios with PM -> TDD each scenario. **microservices** (CDD + Specmatic + TDD): Write OpenAPI spec first -> Specmatic for contract tests -> TDD implementation. **brownfield-saas** (OpenSpec + BDD + JiTTesting): OpenSpec captures current state -> BDD for changed behavior -> pre-merge: `"Generate tests that catch regressions in this diff."` **enterprise-gov** (BMAD + Spec Kit + Specmatic): `constitution.md` -> agent role definitions -> Spec Kit requirements -> Specmatic contract enforcement. **llm-native** (Eval-Driven + Multi-Agent): Define eval criteria (accuracy, safety, format) -> build eval harness -> iterate until evals pass. **power-solo** (TDD + Ralph Loop + Iterative): Tight test loop -> fresh context per task via git stash + progress files -> `"Keep iterating until all tests pass and lint is clean."` **plan-moderate** (Plan-First + SDD + Context Engineering): Every complex task starts in Plan Mode (Shift+Tab) -> validate -> write spec in CLAUDE.md -> execute with progressive context loading.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.