Token导航 LogoToken导航

Agent Skill · 研究检索

accelint-ts-audit-all(accelint ts 审计全部)

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

accelint-ts-audit-all 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 34,819。

总安装 2,179周安装 89GitHub Stars 10下载 698核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:accelint-ts-audit-all(accelint ts 审计全部)
来源仓库:https://github.com/gohypergiant/agent-skills
仓库路径:skills/accelint-ts-audit-all
安装命令:
npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-ts-audit-all
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-ts-audit-all

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

提供 TypeScript 文件的综合审计系统,支持多技能并行检测与进度跟踪。适用于代码重构前的全面检查,确保测试覆盖率和一致性建议。运行时应先执行测试覆盖率检查,再并行运行最佳实践与性能审计。以编号表格形式展示所有问题,逐项提供前后代码对比后再请求用户确认。

accelint-ts-audit-all 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/accelint-ts-audit-all

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-ts-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

accelint-ts-audit-all 怎么安装?

在终端执行 npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-ts-audit-all。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

accelint-ts-audit-all 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

accelint-ts-audit-all 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

accelint-ts-audit-all 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

accelint-ts-audit-all 用的人多吗?

公开数据是累计安装 2,179 次,近一周安装 89 次,下载 698 次,GitHub 10 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

accelint-ts-audit-all 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
accelint-ts-audit-all

accelint ts 审计全部 · 本页

2,17910只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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: timestamp=$(date +%Y%m%d-%H%M%S) git worktree add.agents/worktrees/audit-${timestamp} -b audit/${timestamp}
  2. Switch to the worktree directory: cd.agents/worktrees/audit-${timestamp}
  3. 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 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 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 <file-path>

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: # Run test suite 100 times to verify PBT stability for i in {1..100}; do <test-command> || 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 <file-path>
/skill accelint-ts-performance <file-path>

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 <project-root>; npm test
cd <project-root>; npm run build
cd <project-root>; 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 <file-path>

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: ` # 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) repo_root=$(git rev-parse --show-toplevel) audit_process_file="${repo_root}/.agents/audit/audit-process-${timestamp}.md" original_branch=$(grep "^**Original Branch:**" ${audit_process_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 "${repo_root}" git checkout ${original_branch} # Merge the audit branch git merge --no-ff audit/${timestamp} ``
  2. Clean up worktree: # 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}
  3. 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 before showing all changes.

Phase 1: Overview Table (Quick Scan)

Present ALL issues in a numbered table using emoji severity indicators:

## Found Issues Summary (X total)

| # | Severity | Type | Lines | Description |
|---|----------|------|-------|-------------|
| 1 | 🛑 Critical | Type Safety | 45-47 | Missing null check on user object |
| 2 | ⚠️ High | Performance | 89 | N+1 query in loop - use batch fetch |
| 3 | ⚡ Medium | Performance | 120-125 | Filter+map → single pass with reduce |
| 4 | 🔵 Low | Best Practice | 78 | Use const assertion for readonly array |
| 5 | ✅ Info | Documentation | 12 | Missing JSDoc return type |

Severity Legend:

  • 🛑 Critical - Causes runtime errors, security vulnerabilities, or data loss
  • ⚠️ High - Type errors, significant performance issues, or API breaking changes
  • ⚡ Medium - Moderate performance gains, maintainability improvements
  • 🔵 Low - Minor optimizations, style improvements
  • ✅ Info - Documentation, comments, non-functional improvements

Phase 2: Detailed Changes (Full Context)

After showing the overview table, display each issue with complete before/after code:

---

### Issue #1: Missing null check (🛑 Critical - Type Safety)
**Lines:** 45-47
**Problem:** Function doesn't handle null user case
**Impact:** Runtime TypeError when user is null

❌ **Before:**

function getUsername(user: User | null) { return user.name; // TS error + runtime crash }


✅ **After:**

function getUsername(user: User | null) { return user?.name ?? 'Anonymous'; }


**Expected Benefit:** Prevents runtime TypeError, fixes TS compilation error

---

### Issue #2: N+1 Query Performance (⚠️ High - Performance)

[... same detailed format for each issue...]

---

### Issue #3: Filter+map optimization (⚡ Medium - Performance)

[... same detailed format for each issue...]

---

[Continue for all issues...]

---

**Apply which issues?** Enter numbers (e.g., "1, 2, 5" or "all" or "skip"):

Key Benefits:

  • Overview table allows quick scanning for conflicts across parallel processes
  • Numbered list makes acceptance explicit and trackable
  • All code changes shown upfront before any approval
  • Emoji severity indicators enable instant visual prioritization
  • Consistent format prevents wildly varying presentations

Wait for user response with numbered list before applying any changes.

Verification Commands

The audit-process file MUST document exact verification commands. Common patterns:

Node.js projects:

cd <project-root>; npm test
cd <project-root>; npm run build
cd <project-root>; npm run lint

Bun projects:

cd <project-root>; bun run test
cd <project-root>; bun run build
cd <project-root>; bun run lint
cd <project-root>; bun run bench  # if applicable

Monorepo packages:

cd <workspace-root>/packages/<package-name>; npm test

Always use the EXACT commands from the audit-process file. Never guess.

Important Notes

  • Do NOT load README.md - It contains user-facing documentation that duplicates this file. All Agent instructions are contained in SKILL.md.
  • Worktree location: All audit work happens in .agents/worktrees/audit-${timestamp} to avoid conflicts with the gitignored .agents/audit/ directory.
  • Tracking files location: Audit process and history files are stored in the original repository's .agents/audit/ directory (gitignored) and are NOT committed with audit changes.
  • Property-based test stability: If property tests fail randomly, check the exact seed that failed and verify the fix against that seed. Add constraints to arbitraries (date ranges, filtered NaNs, safe strings) to prevent false positives.
  • Parallel skill execution: When running ts-best-practices and ts-performance in parallel, wait for BOTH to complete before presenting recommendations. This allows you to identify and merge overlapping suggestions.
  • Context window management: Audit-process files are designed to survive context limits. After completing each step, save progress. If you must stop mid-file, document exactly which step you're on and what the next action should be.
  • Build failures block progress: Never proceed to the next step if verification commands fail. Fix the issue or roll back the change first.
  • PERF comment guidelines: Only add performance comments when the optimization is non-obvious. "Using for...of instead of map" doesn't need a comment. "Memoizing deserializer to avoid repeated JSON parsing" does.
  • History file is write-only: Only read audit-history file if you need to understand a previous decision or consider reverting a change. Otherwise, it's purely archival.

平台分布

Codex

32.8%
按下载量换算229

Claude

32.43%
按下载量换算226

Cursor

19.3%
按下载量换算135

Gemini CLI

9.02%
按下载量换算63

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills