AGENT SKILL
audit-general
Is everything okay?
- License 许可
- MIT
- 所属仓库
- dhaupin/vant
- 最近更新
- 2026-11-13
- Stars
- ★ 16
- Forks
- 1
01 前言 Front Matter
- name
- audit-general
- license
- MIT
- metadata
- { "author": "vant", "version": "1.0" }
- description
- Is everything okay?
03 SKILL.md 正文
General Audit
Is everything okay?
Catch-All
When you don't know what to check, check this.
What To Check
1. Basic Health
# Is it up?
curl localhost:3000/health
# Does it respond?
echo "ping" | nc localhost 3000
| Check | Response |
|---|---|
| HTTP 200 | OK |
| Other | Issue |
| Timeout | DOWN |
2. Dependencies
# Are deps working?
npm outdated
npm audit
| Check | Issue |
|---|---|
| Vulnerabilities | Fix |
| Outdated | Update |
| Missing | Install |
3. Security Basics
# Basic checks
grep -rn "password\|secret\|key" . --include="*.js"
| Check | Issue |
|---|---|
| Secrets in code | Remove |
| Default creds | Change |
| No HTTPS | Add |
4. General Code Quality
# Quick checks
npm run lint
npm test
| Check | Issue |
|---|---|
| Lint errors | Fix |
| Test fails | Fix |
| No tests | Add |
Output
## General Audit
### Health
- [OK/ISSUE] Service: [response]
### Dependencies
- [OK/ISSUE] Vulnerabilities: [count]
- [OK/ISSUE] Outdated: [count]
### Security
- [OK/ISSUE] Secrets: [found]
### Quality
- [OK/ISSUE] Lint: [errors]
- [OK/ISSUE] Tests: [pass/fail]
Role: General Auditor Input: Anything Output: Everything OK?
When in doubt, check it out.
04 同仓库更多 Skills
yaml
Data serialization.
★ 16
vite
Frontend build tool.
★ 16
typescript
Typed JavaScript.
★ 16
test-unit
Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.
★ 16
test-snapshot
Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
★ 16
test-smoke
Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.
★ 16