brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
review-codebaseMulti-phase deep codebase review with severity ratings and structured output. Covers architecture, security, code quality, UX/accessibility in single coordinated pass. Produces prioritized findings table suitable for direct conversion to GitHub issues via create-github- issues skill.
Independent GitHub snapshot · Automated classification · Original documentation governs
Multi-phase deep codebase review producing severity-rated findings with fix-order recommendations. Unlike review-pull-request (scoped to a diff) or single-domain reviews (security-audit-codebase, review-software-architecture), this skill covers entire project or subproject across all quality dimensions in one pass.
target_path — root directory of codebase or subproject to reviewscope — which phases to run: full (default), security, architecture, quality, uxoutput_format — findings (table only), report (narrative), both (default)severity_threshold — minimum severity to include: LOW (default), MEDIUM, HIGH, CRITICALInventory codebase to establish scope and identify review targets.
find target_path -type f | sort by extensionGot: Factual inventory — file counts, languages, test presence, dependency health. No judgments yet.
If fail: Target path empty or inaccessible? Stop and report. Specific subdirectories inaccessible? Note them and continue with what is available.
Assess structural health: coupling, duplication, data flow, separation of concerns.
Got: List of architectural findings with severity ratings and file references. Common findings: mode dispatch duplication, missing abstraction layers, circular dependencies.
If fail: Codebase too small for meaningful architecture review (< 5 files)? Note this and skip to Step 3. Architecture review needs enough code to have structure.
Identify security vulnerabilities and defensive coding gaps.
innerHTML), SQL injection, command injectionGot: List of security findings with severity, affected files, remediation guidance. CRITICAL findings include injection vulnerabilities and exposed secrets.
If fail: No security-relevant code exists (pure documentation project)? Note this and skip to Step 4.
Evaluate maintainability, readability, defensive coding.
Got: List of quality findings focused on maintainability. Common findings: magic numbers, inconsistent patterns, missing guards.
If fail: Codebase generated or minified? Note this and adjust expectations. Generated code has different quality criteria than hand-written code.
Evaluate user experience and accessibility compliance.
Got: List of UX/a11y findings with WCAG references where applicable. No frontend exists? This step produces "N/A — no frontend code detected."
If fail: Frontend code exists but cannot be rendered (missing build step)? Audit source code statically and note that runtime testing was not possible.
Compile all findings into prioritized summary.
Got: Findings table with columns: #, Severity, Phase, File(s), Finding, Fix. Fix-order recommendation that accounts for dependencies (e.g., "refactor architecture before adding tests").
If fail: No findings produced? This is itself a finding — either codebase exceptionally clean or review too shallow. Re-examine at least one phase with deeper inspection.
output_format includes report, narrative sections accompany tableBetween review phases, use /rest as checkpoint — especially between phases 2-5, which need different analytical perspectives. Checkpoint rest (brief, transitional) prevents momentum of one phase from biasing next. See rest skill "Scaling Rest" section for guidance on checkpoint vs full rest.
security-audit-codebase — deep-dive security audit when review-codebase security phase reveals complex vulnerabilitiesreview-software-architecture — detailed architecture review for specific subsystemsreview-ux-ui — comprehensive UX/accessibility audit beyond what phase 5 coversreview-pull-request — diff-scoped review for individual changesclean-codebase — implements code quality fixes identified by this reviewcreate-github-issues — converts findings table into tracked GitHub issues