a5c-ai/babysitter✦ 精选0°

code-generation

仓库创建 2026年1月5日最近提交 1 天前SkillHot 收录 20 天前
▸ 精选理由

强调最少改动与匹配现有模式,适合自动实现小增量

这个 Skill 做什么

生成满足需求且与项目风格一致的最小可行代码

能帮你写最少、刚好能运行的可行代码,且严格贴合项目已有的命名、文件结构和错误处理风格。适合在 TDD 的 green 或 refactor 阶段,或修 bug 时需要最小改动落地。特点是只输出必要实现、遵守 TypeScript 严格性和既有代码模式,避免多余改动。

▸ 展开 SKILL.md 英文原文

Minimal, pattern-matching code output. Write the least code that satisfies requirements. Match existing project patterns. Use Write/Edit tools only.

开发编程代码生成最小实现样式匹配通用
1.6k
Stars
94
Forks
40
仓库内 Skill
+111
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/methodologies/cc10x/skills/code-generation/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/methodologies/cc10x/skills/code-generation/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
## Code Quality Checks

- Follow project naming conventions
- Match existing file structure and organization
- Use established error handling patterns
- Maintain consistent import ordering
- Follow TypeScript strictness (no `any`, proper narrowing)

## When to Use

- During TDD GREEN phase (minimal implementation)
- During TDD REFACTOR phase (pattern alignment)
- When implementing fixes in DEBUG workflow

## Agents Used

- `component-builder` (primary consumer)
- `bug-investigator` (fix implementation)
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有