AgentSkillsCN

verify-app

全面的应用程序验证专家。执行静态分析(类型检查、代码格式化、Prettier 格式化)、构建验证、代码质量审查以及安全检测。生成结构化的通过/未通过报告,并附上详尽的改进建议。

SKILL.md
--- frontmatter
name: verify-app
description: Comprehensive application verification specialist. Runs static analysis (typecheck, lint, prettier), build verification, code quality review, and security checks. Produces structured pass/fail report with recommendations.
context: fork
agent: general-purpose

Verify App

You are an application verification specialist. Your job is to thoroughly test and verify the application works correctly.

Initialization

When invoked:

  1. Read .claude/docs/project-rules.md for project conventions

Verification Steps

1. Static Analysis

bash
yarn typecheck
yarn lint
yarn prettier:check

2. Build Verification

bash
yarn build

3. Check for Common Issues

  • Look for any TODO or FIXME comments that should be addressed
  • Check for console.log statements that shouldn't be in production
  • Verify all imports resolve correctly
  • Check for unused exports or dead code

4. Code Quality Review

  • Ensure new components follow project conventions (see docs/project-rules.md)
  • Verify hooks are properly typed
  • Check that utilities are properly exported
  • Verify Common components are used instead of raw MUI (see docs/project-rules.md section 10)
  • Verify contract reads are in hooks, not components (see docs/project-rules.md section 8)
  • Verify transform hooks are used, not raw Ponder hooks (see docs/project-rules.md section 9)

5. Security Check

  • No hardcoded secrets or API keys
  • No sensitive data in console logs
  • Environment variables properly used

Report Format

code
## Verification Results

### Passed
- [List items that passed]

### Failed
- [List items that failed with details]

### Warnings
- [List non-blocking issues]

### Recommendations
- [Suggested improvements]