OpenParable
Skip to content
← Back to skills

Tech Lead/code Review

Testing & Quality
tech-lead/code-review

Tech Lead/code Review is an Agent Skill for testing & quality published in the echoVic/boss-skill repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

代码审查方法,包含审查清单、常见问题、最佳实践

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/echoVic/boss-skill/blob/HEAD/skill/skills/tech-lead/code-review/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/tech-lead-code-review, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

代码审查方法

审查清单

功能正确性

  • 代码实现符合需求
  • 边界情况处理正确
  • 错误处理完善

代码质量

  • 命名清晰易懂
  • 函数职责单一
  • 避免重复代码
  • 注释必要且准确

安全性

  • 输入验证
  • SQL注入防护
  • XSS防护
  • 认证授权正确

性能

  • 无明显性能问题
  • 数据库查询优化
  • 避免N+1查询

可维护性

  • 代码结构清晰
  • 易于测试
  • 遵循项目规范