AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Accelint Ts Audit All

skill-gohypergiant-agent-skills-accelint-ts-audit-all · by gohypergiant

Comprehensive TypeScript file audit system. Command-only skill (no natural triggers). Accepts file or directory path to systematically audit through accelint-ts-testing, accelint-ts-best-practices, accelint-ts-performance, and accelint-ts-documentation skills. Maintains progress tracking across sessions with interactive change approval. Uses isolated git worktrees to enable parallel audits withou…

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add skill-gohypergiant-agent-skills-accelint-ts-audit-all

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-gohypergiant-agent-skills-accelint-ts-audit-all)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Accelint Ts Audit All? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Audit All

Comprehensive TypeScript file audit system that systematically applies multiple audit skills with progress tracking and interactive approval.

NEVER Do When Running Audits

  • NEVER skip the initial test coverage step - Refactoring without test coverage first leads to undetected breakage. Always run accelint-ts-testing before any code changes.
  • NEVER run best-practices and performance sequentially - Running them separately creates contradictory recommendations for the same code. Always run in parallel to see merged suggestions.
  • NEVER present issues one-by-one for approval - Always show ALL issues in a numbered table first, then display each issue's detailed before/after code, THEN ask for numbered list acceptance. This prevents wildly inconsistent presentations and allows users to spot conflicts across parallel processes.
  • NEVER skip displaying the overview table - BLOCKING: You MUST display the emoji severity table with ALL issues before showing any detailed changes. No exceptions.
  • NEVER ask for approval before showing all detailed changes - BLOCKING: You MUST show the complete before/after code for EVERY issue before asking "Apply which issues?"
  • NEVER auto-apply all recommendations - Each change needs user approval (accept/deny/other) to maintain code ownership and prevent unwanted modifications.
  • NEVER run one-off commands instead of documented verification commands - The audit-process file documents EXACT verification commands. Use those commands verbatim. Never improvise with npm test, bun test, or similar unless they match the documented commands exactly.
  • NEVER skip saving progress after completing a step - After EVERY step completion, immediately save detailed progress to audit-process file BEFORE moving to next step. Context limits will break otherwise.
  • NEVER skip the 100-pass PBT verification - When property-based tests are added, you MUST run the test suite 100 times to verify stability. Random failures are common with PBT. This is a blocking requirement - do not proceed until 100 consecutive passes are achieved. Run the tests without coverage reporting on to increase speed and stability.
  • NEVER lose progress when context runs out - Save detailed progress to audit-process file after each step. Context limits are guaranteed in large audits.
  • NEVER assume property-based tests are stable - Random test failures are common with PBT. Run new property tests 100 times to verify stability before accepting. Run the tests without coverage reporting on to increase speed and stability.
  • NEVER add PERF comments everywhere - Only add // PERF: comments when they provide meaningful insight that future developers wouldn't discover on their own.
  • NEVER mark a file complete without all 9 steps - Partial audits leave files in inconsistent states. Complete all steps or mark as in-progress.
  • NEVER move on from a broken build - Fix compilation errors, test failures, and lint issues immediately before proceeding to the next step.
  • NEVER run audit in main branch - Always create an isolated worktree to prevent conflicts with parallel audits and allow safe experimentation.

Before Starting an Audit, Ask

Apply these tests before launching a comprehensive audit:

Scope Validation

  • Is this path valid and accessible? Verify the file or directory exists before creating TODO lists.
  • Are there test and build commands available? Check package.json or ask user for verification commands before starting.
  • How many files will this audit? Large directories (>5 files) will require multiple sessions. Set expectations upfront.

Session Management

  • Is this a new audit or resuming? Check for existing audit-process files in .agents/audit/ before creating new ones.
  • Will this fit in one session? Estimate ~1-5 files per session max. Plan for resumption if larger.
  • Are verification commands known? Document exact test/build/lint commands in the audit-process file from the start.

Change Philosophy

  • What's the user's risk tolerance? Some users want every suggestion, others only critical fixes. Clarify before first interactive prompt.
  • Should performance micro-optimizations be included? 1.05x-1.15x gains may not be worth code churn for all projects.

How to Use

This skill creates and maintains an audit process file that tracks progress across sessions. It systematically runs four audit skills on each file with interactive approval.

Workflow Overview

  1. Initialize - Create TODO list and audit tracking files
  2. For each file - Run 9-step audit process with user approval
  3. Track progress - Save after each step to survive context limits
  4. Archive completed - Move finished files to history file

Main Audit Workflow

Step 1: Initialize the Audit

Check for existing audit: Look in .agents/audit/ directory (in the original repository root) for existing audit-process files.

Note: Ensure .agents/audit/ is in your project's .gitignore to prevent committing audit tracking files.

If resuming an existing audit, read the audit-process file to understand current status:

  1. Check completion status:
  • Review "Current Status" section for files completed vs remaining
  • Review "Files to Audit" section for pending/completed breakdown
  • If all files are marked "Completed", the audit is done
  1. Check worktree status (backwards compatibility):
  • If "Worktree Information" section exists: verify worktree still exists and switch to it
  • If no worktree documented: this is a legacy audit from before worktree support. Continue in current branch without creating a worktree.
  • Note: Only NEW audits created after this feature will use worktrees
  1. Continue from "Resume Instructions" section

Skip to Step 2 if resuming.

For new audits, create isolated worktree:

BLOCKING: All audit work MUST happen in an isolated worktree to prevent conflicts with parallel audits and allow safe rollback.

  1. Create worktree with timestamped branch:

``bash timestamp=$(date +%Y%m%d-%H%M%S) git worktree add .agents/worktrees/audit-${timestamp} -b audit/${timestamp} ``

  1. Switch to the worktree directory:

``bash cd .agents/worktrees/audit-${timestamp} ``

  1. Log the worktree path - You will work in this directory for the entire audit

Important: The worktree is created in .agents/worktrees/ (not .agents/audit/) to avoid conflicts with the gitignored .agents/audit/ directory where tracking files are stored.

Create tracking files:

MANDATORY - READ ENTIRE FILE: Before creating any tracking files, you MUST read [assets/audit-process-template.md](assets/audit-process-template.md) completely from start to finish to understand the exact format and structure required. NEVER set any range limits when reading this file.

Similarly, you MUST read [assets/audit-history-template.md](assets/audit-history-template.md) to understand the archival format.

Do NOT load these templates again after the initial setup - they are only needed once at the start of a new audit.

Create timestamped tracking files in the ORIGINAL repository (not in the worktree):

  • Go back to the original repository root: cd $(git rev-parse --show-toplevel)
  • Create .agents/audit/audit-process-${timestamp}.md (use same timestamp as worktree)
  • Create .agents/audit/audit-history-${timestamp}.md (same timestamp)
  • Return to the worktree: cd .agents/worktrees/audit-${timestamp}

Important: Tracking files live in the original repo's .agents/audit/ directory (which should be gitignored) so they are NOT committed with audit changes.

Build the TODO list:

Find all TypeScript files in the target directory, excluding .test.ts, .spec.ts, and .bench.ts files. If given a single file, validate it's not a test/benchmark file.

Populate the audit-process file:

  • Add worktree path and branch to "Worktree Information" section
  • Add all files to "Files to Audit" section as "Pending"
  • Document the exact verification commands (test/build/lint)
  • Set "Current File" to first pending file
  • Save the file

Step 2: Audit Each File (8-Step Process)

For each file in the pending list, follow this exact sequence:

Phase 1: Initial Test Coverage

Step 1: Run accelint-ts-testing skill

/skill accelint-ts-testing 

Step 2: Interactive Changes

BLOCKING - Interactive Approval Required: > You MUST complete all three checkpoints before proceeding: > 1. ✅ Display emoji severity table with ALL issues (see "Interactive Change Approval Pattern") > 2. ✅ Show detailed before/after code for EVERY issue > 3. ✅ Ask "Apply which issues?" with numbered list acceptance > NO EXCEPTIONS. If you skip any checkpoint, you are violating the workflow.

  • Apply accepted changes
  • BLOCKING REQUIREMENT: If property-based tests added, run verification:

``bash # Run test suite 100 times to verify PBT stability for i in {1..100}; do || break; done ``

  • Run the tests without coverage reporting to prevent coverage conflicts
  • If ANY run fails, examine the seed that failed
  • Fix test properties (add constraints to arbitraries: date ranges, filtered NaNs, safe strings)
  • Re-run 100 times until 100 consecutive passes achieved
  • DO NOT proceed to Step 3 until this verification passes
  • Document findings in "Current File - Detailed Progress" section
  • Update status to show Step 1 ✅, Step 2 ✅
  • SAVE PROGRESS to audit-process file NOW before continuing
Phase 2: Code Quality & Performance Analysis

Step 3: Run BOTH skills in parallel

CRITICAL: Run these together to avoid contradictory suggestions:

/skill accelint-ts-best-practices 
/skill accelint-ts-performance 

Step 4: Interactive Changes

  • Review both sets of recommendations
  • If recommendations overlap:
  • Try to merge them into single fix if possible
  • If conflicting, present both and let user choose

BLOCKING - Interactive Approval Required: > You MUST complete all three checkpoints before proceeding: > 1. ✅ Display emoji severity table with ALL issues from BOTH skills (see "Interactive Change Approval Pattern") > 2. ✅ Show detailed before/after code for EVERY issue > 3. ✅ Ask "Apply which issues?" with numbered list acceptance > NO EXCEPTIONS. If you skip any checkpoint, you are violating the workflow.

  • Apply accepted changes
  • Add // PERF: comments only where they add genuine insight
  • Document in "Current File - Detailed Progress"
  • Update status to show Step 3 ✅, Step 4 ✅
  • SAVE PROGRESS to audit-process file NOW before continuing
Phase 3: Verify Changes

Step 5: Run verification commands

⚠️ CRITICAL: Use EXACT commands from audit-process file "Verification Commands" section. DO NOT improvise or run one-off commands.

Run ALL verification commands documented in audit-process file:

# Example commands (MUST match audit-process file exactly):
cd ; npm test
cd ; npm run build
cd ; npm run lint

Step 6: Interactive Changes (if needed)

If verification passes, skip to documenting results. Otherwise:

BLOCKING - Interactive Approval Required: > You MUST complete all three checkpoints before proceeding: > 1. ✅ Display emoji severity table with ALL verification failures (see "Interactive Change Approval Pattern") > 2. ✅ Show detailed before/after code for EVERY issue > 3. ✅ Ask "Apply which fixes?" with numbered list acceptance > NO EXCEPTIONS. If you skip any checkpoint, you are violating the workflow.

  • Apply accepted changes
  • Document results in "Current File - Detailed Progress"
  • Update status to show Step 5 ✅, Step 6 ✅
  • SAVE PROGRESS to audit-process file NOW before continuing
Phase 4: Documentation

Step 7: Run accelint-ts-documentation skill

/skill accelint-ts-documentation 

Step 8: Interactive Changes

BLOCKING - Interactive Approval Required: > You MUST complete all three checkpoints before proceeding: > 1. ✅ Display emoji severity table with ALL documentation issues (see "Interactive Change Approval Pattern") > 2. ✅ Show detailed before/after code for EVERY issue > 3. ✅ Ask "Apply which issues?" with numbered list acceptance > NO EXCEPTIONS. If you skip any checkpoint, you are violating the workflow.

  • Apply accepted changes
  • Run final verification to ensure docs didn't break anything (use EXACT commands from audit-process file)
  • Document in "Current File - Detailed Progress"
  • Update status to show Step 7 ✅, Step 8 ✅
  • SAVE PROGRESS to audit-process file NOW before continuing to Step 3 (Archive)

Step 3: Archive Completed File

When all 9 steps complete for a file:

  1. Move detailed progress to history file
  • Copy entire "Current File - Detailed Progress" section
  • Append to audit-history file
  • Add summary statistics at end of file's section
  1. Update audit-process file
  • Mark file as "Completed" in "Files to Audit" section
  • Clear "Current File - Detailed Progress" section
  • Set "Current File" to next pending file
  • Update "Resume Instructions" for next file
  • Update "Current Status" counts
  1. Save both files

Step 4: Continue or Complete

If more pending files exist:

  • Return to Step 2 for next file
  • Monitor context usage - if approaching limit, stop and save progress

If all files completed:

  1. Run final verification in worktree:
  • Run final full test suite + lint verification
  • Ensure all changes pass before merging
  1. Merge worktree back to original branch:

```bash # Extract timestamp from current worktree directory name # We're in .agents/worktrees/audit-YYYYMMDD-HHMMSS timestamp=$(basename $(pwd) | sed 's/audit-//')

# Get the original branch from this audit's process file (in original repo) reporoot=$(git rev-parse --show-toplevel) auditprocessfile="${reporoot}/.agents/audit/audit-process-${timestamp}.md" originalbranch=$(grep "^Original Branch:" ${auditprocess_file} | cut -d'`' -f2)

# Commit all changes in worktree git add -A git commit -m "refactor: complete TypeScript audit

  • Improved test coverage across all files
  • Applied type safety and best practice improvements
  • Optimized performance where beneficial
  • Enhanced documentation

Co-Authored-By: {current_model}"

# Switch back to original branch cd "${reporoot}" git checkout ${originalbranch}

# Merge the audit branch git merge --no-ff audit/${timestamp} ```

  1. Clean up worktree:

```bash # Remove the worktree (use the timestamp extracted earlier) git worktree remove .agents/worktrees/audit-${timestamp}

# Optionally delete the audit branch git branch -d audit/${timestamp} ```

  1. Update audit-process file with completion:
  • Add completion summary with total statistics
  • Document merge commit hash
  • Mark audit as "✅ COMPLETE - Merged to ${original_branch}"
  1. Report results:
  • Total statistics across all files
  • Merge commit information
  • Confirmation that worktree was cleaned up

Progress Tracking Format

File Status Markers:

  • [ ] - Pending (not started)
  • [x] - Completed (all 9 steps done, moved to history)

Step Status Markers:

  • ✅ - Complete
  • 🔄 - In Progress
  • ⏸️ - Pending (not started)

Detailed Progress Template:

### filename.ts - Audit Status 🔄 IN PROGRESS

**Overall Progress:** X% complete (Step Y of 8)

#### ✅ Step 1: Test Coverage - COMPLETE
[Findings, changes applied, test results]

#### 🔄 Step 2: Interactive Changes - IN PROGRESS
[Current change being reviewed, user decision needed]

#### ⏸️ Step 3: Code Quality Analysis - PENDING
[Not started yet]

Interactive Change Approval Pattern

CRITICAL: Always use the two-phase presentation pattern. NEVER present issues one-by-one or ask for approval

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.