archibald
This skill should be used when the user asks to "assess architecture quality", "check for architectural smells", "analyze dependencies", "evaluate technical debt", "review architecture health", "find antipatterns", or "measure coupling/cohesion/complexity". Also triggers when the user mentions specific concepts by name (e.g., "cyclic dependency", "god component", "hub-like dependency", "dependency structure matrix", "DSM", "instability metric", "LCOM", "CBO", "Big Ball of Mud", "cargo cult", "golden hammer"). Supports a full architecture assessment or focused analysis of individual dimensions.
What this skill does
# Archibald — Software Architecture Quality Assessment Assess the structural health of a software architecture through smell detection, quantitative metrics, antipattern identification, dependency structure evaluation, risk/trade-off analysis, and technical debt measurement. This skill operates at the architecture level — components, modules, packages, services, layers, and their relationships. It complements class-level SOLID checks and system-level design principle checks by focusing on **observable structural quality** rather than adherence to specific design principles. Key insight: architectural smells are independent from code smells (less than 30% correlation), making dedicated architecture-level assessment essential. ## Subcommands Request a full assessment or focus on a single dimension: | Command | Dimension | References | |---------|-----------|------------| | `archibald` / `archibald full` | Full assessment (all dimensions) | All references | | `archibald smells` | Architectural smell detection | `references/cyclic-dependency.md`, `references/unstable-dependency.md`, `references/hub-like-dependency.md`, `references/god-component.md`, `references/feature-concentration.md`, `references/scattered-functionality.md`, `references/ambiguous-interface.md` | | `archibald antipatterns` | Antipattern identification | `references/antipatterns.md` | | `archibald metrics` | Quantitative metrics analysis | `references/metrics.md` | | `archibald dependencies` | Dependency structure analysis | `references/dependency-structure.md` | | `archibald risks` | Risk & trade-off analysis | `references/risk-analysis.md` | | `archibald debt` | Technical debt assessment | `references/technical-debt.md` | When no subcommand is specified, default to a full assessment. When a specific concept is mentioned by name (e.g., "cyclic dependency", "CBO", "DSM"), match it to the appropriate dimension and load the relevant references. ## Workflow ### 1. Identify Target Architecture Determine what to analyze: - When files or a directory are provided, use those. - When a service, module, or component is referenced by name, locate it. - When ambiguous, ask which files, directories, or services to scan. Before diving in, establish context that affects severity calibration: - **Project scale**: small app, medium codebase, large platform, distributed system? - **Team size**: solo developer, small team, multiple teams? - **Lifecycle stage**: prototype, active development, mature production, legacy? - **Architecture style**: monolith, modular monolith, microservices, serverless, etc.? Use whatever context is available from the codebase itself (directory structure, build files, deployment configs, README) rather than asking unnecessary questions. ### 2. Load References Before analyzing, read the reference file(s) for the requested dimension(s). For smell detection, read the individual smell references needed: - [`references/cyclic-dependency.md`](references/cyclic-dependency.md) - [`references/unstable-dependency.md`](references/unstable-dependency.md) - [`references/hub-like-dependency.md`](references/hub-like-dependency.md) - [`references/god-component.md`](references/god-component.md) - [`references/feature-concentration.md`](references/feature-concentration.md) - [`references/scattered-functionality.md`](references/scattered-functionality.md) - [`references/ambiguous-interface.md`](references/ambiguous-interface.md) For other dimensions: - [`references/antipatterns.md`](references/antipatterns.md) - [`references/metrics.md`](references/metrics.md) - [`references/dependency-structure.md`](references/dependency-structure.md) - [`references/risk-analysis.md`](references/risk-analysis.md) - [`references/technical-debt.md`](references/technical-debt.md) For a full assessment (`archibald full`), read all twelve reference files. ### 3. Gather Architectural Artifacts Before applying assessment patterns, build a picture of the current architecture: **From the codebase:** - Component/module/package structure (directory layout, build modules) - Import/dependency graph (who depends on whom) - Public API surface of each component (exports, interfaces, endpoints) - Size indicators (approximate LOC per component, class counts) **From documentation (if available):** - Architecture diagrams or design documents - Architecture Decision Records (ADRs) - Dependency maps or component catalogs - Quality attribute requirements **From version control (if available):** - Files that change together (logical coupling) - Change frequency per component (hotspots) - Growth trends over time ### 4. Analyze Apply the detection heuristics from the loaded references. Each dimension has its own analysis approach: - **Smells**: Match structural patterns against the seven smell definitions. Check dependency graphs for cycles, compute fan-in/fan-out, assess component sizes, evaluate interface clarity, and identify scattered/concentrated features. - **Antipatterns**: Look for recurring flawed decision patterns — technology choices driving architecture, cargo cult adoption, over/under-engineering. - **Metrics**: Compute or estimate coupling (CBO, Ca, Ce, instability), cohesion (LCOM, cohesion type), and complexity (CC, LOC, nesting depth). Compare against established thresholds. - **Dependencies**: Construct a mental or actual DSM. Identify layering patterns, cycles, hub components, and problematic backward dependencies. - **Risks**: Identify architectural decisions with potentially undesirable consequences, sensitivity points where small changes have outsized impact, and trade-off points where quality attributes conflict. - **Debt**: Assess accumulated structural problems using the severity/centrality/ trend framework. Map smells to the prioritization matrix. Think carefully about each finding. Not every heuristic match is a true problem. Consider context, scale, team maturity, and conscious trade-offs. ### 5. Report Findings Present findings using this structure: #### Per Finding ``` **[DIMENSION] Finding — Severity: CRITICAL | HIGH | MEDIUM | LOW** Location: `component/module/service`, files or paths involved Finding: Clear description of the structural issue and why it matters. Evidence: What observable patterns led to this finding. Impact: How this affects maintainability, evolvability, reliability, or velocity. Recommendation: Concrete remediation approach with effort estimate if possible. ``` Severity guidelines: - **CRITICAL**: Immediate structural risk — cascading failures, complete inability to evolve a component independently, or blocking parallel development. - **HIGH**: Active maintenance pain, significant coupling drag, or measurable impact on development velocity. - **MEDIUM**: Architecture smell that will compound as the system grows or as more teams contribute. - **LOW**: Minor structural impurity, worth noting but fine to defer. #### Assessment Summary After all findings, provide: 1. **Findings table**: `| Dimension | CRITICAL | HIGH | MEDIUM | LOW |` 2. **Architecture health score**: Rate each dimension on a simple scale: - Smells: HEALTHY / CONCERNING / DEGRADED - Metrics: WITHIN THRESHOLDS / APPROACHING LIMITS / EXCEEDING THRESHOLDS - Dependencies: CLEAN / TANGLED / CYCLIC - Antipatterns: NONE DETECTED / MINOR / SYSTEMIC - Risk posture: LOW / MODERATE / HIGH - Technical debt: MANAGEABLE / ACCUMULATING / CRITICAL 3. **Top 3 priorities**: Which findings to address first and why, considering both impact and effort. 4. **Improvement roadmap**: Categorize all recommendations as: - **Critical** — Immediate action required (high-severity risks) - **Important** — Address in near term (quality attribute deficiencies) - **Beneficial** — Opportunistic improvements (debt reduction) 5. **Overall assessment**: One paragraph synthesizing the architecture's structural health, key strengths, and primary risks. ### 6. Remedi
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.