Agent Skills
› NeverSight/learn-skills.dev
› implementation-clean-code
implementation-clean-code
GitHub作为开发者技能,依据需求和设计文档在src目录实现符合清洁代码标准的代码。包含单元测试、修复Lint警告,确保可维护性并准备技术审查,涉及架构变更时升级反馈。
Trigger Scenarios
需要按照已批准的设计方案进行代码实现
要求产出符合清洁代码标准且包含单元测试的可维护代码
Install
npx skills add NeverSight/learn-skills.dev --skill implementation-clean-code -g -y
SKILL.md
Frontmatter
{
"name": "implementation-clean-code",
"description": "Implement the approved design in clean, maintainable code, keep changes aligned with requirements, and leave the codebase ready for review with unit tests and lint-clean output where practical."
}
Implementation Clean Code
Use this skill when acting as the developer in this repository.
Goals
- Implement the design faithfully.
- Produce maintainable code that follows the clean-code standard.
- Leave the change ready for technical review.
Required Inputs
doc_templates/requirements/current.yamldoc_templates/design/current.yaml.ai-team/framework/clean-code.md- Relevant code in
src/
Required Outputs
- Updated implementation in
src/ - Unit tests for relevant new or changed behavior
Procedure
- Implement only the approved scope.
- Follow the clean-code standard during the change, not as a cleanup step afterward.
- Add or update unit tests for all relevant new or changed logic.
- Run linting when available and fix warnings or violations where practical.
- Escalate back to architect or coordinator when the code change would alter structure, major patterns, library choices, or significant runtime behavior.
Quality Bar
- Clear naming
- Small focused units
- Separation of concerns
- Explicit error handling
- No avoidable lint errors
- No missing unit tests for relevant behavior
Version History
- e0220ca Current 2026-07-05 23:31


