/devx-qa:explaining-architecturefrom devx-qa
Analyzes project architecture and generates ASCII state machine and sequence diagrams. Useful for understanding codebase structure, tracing entrypoints, and documenting system behavior.
Ships in devx-qa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze project architecture and produce ASCII state machine and sequence diagrams for a given codebase or feature.
Target: $ARGUMENTS
Copy this checklist and track progress:
Architecture Analysis:
- [ ] Step 1: Analyze project composition
- [ ] Step 2: Find entrypoint
- [ ] Step 3: Build state machine graph
- [ ] Step 4: Generate sequence diagram
- [ ] Step 5: Output synthesis
Run language statistics: tokei || echo 'not installed'
If tokei is unavailable, use Glob to count files by extension and estimate composition.
Detect and read the first package manifest found (package.json, Cargo.toml, go.mod, pyproject.toml, requirements.txt, pom.xml, build.gradle). Identify framework from config files and directory structure.
If $ARGUMENTS is specified, locate that feature or module first.
Otherwise search for the main entrypoint: main field in manifest, common files (main.*, index.*, app.*, cmd/main.go), or framework-specific entries (pages/_app.tsx, src/main.rs, manage.py).
From the entrypoint, trace initialization, configuration loading, service bootstrapping, and main event loop or request handler.
Analyze the target for state variables, transition triggers, guards, side effects, and terminal states. Generate an ASCII acyclic graph using box-drawing characters (─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼ ► ◄ ▲ ▼). Max 80 chars wide.
Identify actors (client, controllers, services, data layer, external APIs). Generate an ASCII sequence diagram showing control flow between them. Max 80 chars wide.
Present findings using this template:
╔════════════════════════════════════════╗
║ PROJECT: <name> ║
╠════════════════════════════════════════╣
║ Language: <primary> ║
║ Framework: <detected> ║
║ Type: <CLI/API/Web/Library> ║
╚════════════════════════════════════════╝
Then include in order:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agentic-dev3o/devx-plugins --plugin devx-qa9 skills in this plugin
/appsec-reviewThis skill should be used when the user asks to "security review this PR", "review this diff for vulnerabilities", "appsec review these changes", "audit this branch for auth, injection, or data exposure bugs", "check this code for exploitable security issues", or requests a focused application security review of pending changes./babysit-prMonitors a GitHub pull request's checks with the gh CLI, reads the logs of failing GitHub Actions jobs, classifies each failure as branch-caused or infrastructure, and drives the PR to green — fixing the branch's own breakage and delegating every commit, merge, and push to the devx-git skills. Use when the user asks to babysit, watch, or monitor a PR, says CI or checks are failing or red, asks to analyse PR job errors and remediate them, or wants a PR driven to a ready-to-merge state after opening it./code-reviewReviews pull requests and code changes for correctness, conventions, maintainability, performance, test coverage, and security. Use when the user asks for a code review, PR review, feedback on a diff, or to check code quality./dead-code-fixerFinds and removes dead code across a repository too large for one context window. Static analyzers and a repository-wide reference count propose candidates, Haiku subagents verify each one through three independent lenses, and confirmed-dead code is deleted in waves gated by the project's type-check and tests, with one commit per wave, round after round until nothing new dies. Use when the user asks to find, remove, prune or clean up dead code, unused code, unused exports, unreachable functions, orphaned files, or unused dependencies./fixing-harnessAudits a project's agentic harness (CLAUDE.md, AGENTS.md, .claude/rules, .claude/settings.json) and refactors it into a layered, path-scoped configuration that loads only what is relevant. Rewrites CLAUDE.md and AGENTS.md as a thin critical-rules layer, segments domain rules with `paths:` frontmatter, and adds deny-first permission guardrails. Use for: fixing the harness, auditing claude.md, refactoring agentic configuration, improving agent rules, segmenting rules by path, reviewing settings.json, harness review, or when claude.md is too long./fixing-react-antipatternsAudits React codebases for anti-patterns (useEffect misuse, missing cleanup, stale closures, derived-state-in-effects, memory leaks) and produces a scored gap analysis table with severity ratings. Applies prioritized fixes on request. Triggers on: audit react code, fix react anti-patterns, review react hooks, scan for react issues, check useEffect cleanup, fix memory leaks in react.Other plugins' skills for the same job