Overview
Comprehensive TypeScript file audit system that systematically applies testing, best practices, performance, and documentation skills with progress tracking and interactive approval.
What It Helps You Do
Use this skill to systematically audit TypeScript files across four dimensions: testing, best practices, performance, and documentation. It orchestrates specialized audit skills in a controlled sequence with interactive approval at each stage.
Activate it with:
/accelint-ts-audit-all <path>- Explicit requests to run a full TypeScript audit
- Related requests about multi-skill code review, interactive approvals, or tracked TS audits
This skill is especially useful when you need to:
- Audit entire directories with progress tracking across sessions
- Apply multiple audit perspectives without contradictory recommendations
- Review and approve changes interactively with severity indicators
- Work on parallel audits using isolated git worktrees
When to Use
This is a command-only skill with no natural language triggers. Invoke it explicitly when you want to:
- Run a comprehensive audit on TypeScript files
- Apply multiple code quality checks systematically
- Track audit progress across multiple files
- Work through audit findings with interactive approval
How It Works
The skill executes an 8-step audit process for each file:
Phase 1: Test Coverage First
- Establishes test coverage before making any code changes
- Runs 100-pass verification for property-based tests to ensure stability
Phase 2: Code Quality & Performance in Parallel
- Runs best-practices and performance audits simultaneously
- Merges overlapping recommendations to avoid contradictions
Phase 3: Verification
- Runs documented test, build, and lint commands
- Ensures changes don't break existing functionality
Phase 4: Documentation
- Adds JSDoc comments, TODO markers, and code comments
- Runs final verification to ensure stability
Every change requires interactive approval through a two-phase process: overview table with emoji severity indicators (🛑 Critical, ⚠️ High, ⚡ Medium, 🔵 Low, ✅ Info), followed by detailed before/after code, and numbered selection (e.g., "1, 2, 5" or "all" or "skip").
The skill creates isolated git worktrees to enable parallel audits without conflicts. Progress is saved in audit process files after each step, allowing you to pause and resume across sessions without losing context.
Prerequisites
- Git repository with a valid branch
- TypeScript files to audit (.ts files, excluding .test.ts, .spec.ts, .bench.ts)
- Documented verification commands (test, build, lint) in your project
- Clean working directory before starting (commit or stash changes)
Good to Know
> Good to know: This skill creates isolated git worktrees to prevent conflicts. Multiple audits can run in parallel without interfering with each other or your main branch.
> Good to know: The skill maintains .agents/audit/ tracking files in the original repository (should be gitignored) while performing work in .agents/worktrees/ directories.
> Good to know: Property-based tests require 100 consecutive passes to verify stability. The skill runs verification without coverage reporting to increase speed and prevent flaky failures.
> Good to know: Best-practices and performance audits run in parallel to identify contradictory recommendations before presenting them. The skill will merge overlapping suggestions when possible.
What You Get
After completion:
- Comprehensive audit of all TypeScript files in the target directory
- Detailed audit history file with findings and decisions from each file
- Merged branch with all approved changes
- Automatic worktree cleanup
Examples
Example: Auditing a Single File
/accelint-ts-audit-all src/utils/parser.tsThe skill will:
- Create an isolated worktree with timestamped branch
- Run the 8-step audit process
- Present findings with severity indicators
- Apply approved changes interactively
- Merge back to your original branch
Example: Auditing an Entire Directory
/accelint-ts-audit-all src/componentsThe skill will:
- Discover all .ts files (excluding test files)
- Create a TODO list in the audit process file
- Audit each file systematically with progress tracking
- Save progress after each file to survive context limits
- Allow resumption across multiple sessions
Example: Resuming an Existing Audit
If you have an existing audit in progress:
/accelint-ts-audit-allThe skill will:
- Check
.agents/audit/for existing audit process files - Display current status and resume instructions
- Continue from the last saved checkpoint
- Work in the existing worktree without creating a new one
Limits
- This skill orchestrates other audit skills but does not implement new audit logic itself
- It does not run audits on test files (.test.ts, .spec.ts) or benchmark files (.bench.ts)
- It requires interactive approval and cannot run fully autonomously
- Large directories (>5 files) typically require multiple sessions due to context limits
Overview
Expert guidance for TanStack Query in Next.js App Router covering QueryClient setup, mutations, cache invalidation, optimistic updates, and multi-layer caching strategies.
Overview
Comprehensive TypeScript/JavaScript coding standards focusing on type safety, defensive programming, and code correctness for writing, reviewing, and auditing code.