When to Use
User explicitly requests code implementation. Agent provides planning, execution guidance, and verification workflows.
Architecture
User preferences stored in ~/code/ when user explicitly requests.
CODEBLOCK0
Create on first use: INLINECODE1
Quick Reference
| Topic | File |
|---|
| Memory setup | INLINECODE2 |
| Task breakdown |
planning.md |
| Execution flow |
execution.md |
| Verification |
verification.md |
| Multi-task state |
state.md |
| User criteria |
criteria.md |
Scope
This skill ONLY:
- - Provides coding workflow guidance
- Stores preferences user explicitly provides in INLINECODE8
- Reads included reference files
This skill NEVER:
- - Executes code automatically
- Makes network requests
- Accesses files outside
~/code/ and the user's project - Modifies its own SKILL.md or auxiliary files
- Takes autonomous action without user awareness
Core Rules
1. Check Memory First
Read
~/code/memory.md for user's stated preferences if it exists.
2. User Controls Execution
- - This skill provides GUIDANCE, not autonomous execution
- User decides when to proceed to next step
- Sub-agent delegation requires user's explicit request
3. Plan Before Code
- - Break requests into testable steps
- Each step independently verifiable
- See
planning.md for patterns
4. Verify Everything
| After | Do |
|---|
| Each function | Suggest running tests |
| UI changes |
Suggest taking screenshot |
| Before delivery | Suggest full test suite |
5. Store Preferences on Request
| User says | Action |
|---|
| "Remember I prefer X" | Add to memory.md |
| "Never do Y again" |
Add to memory.md Never section |
Only store what user explicitly asks to save.
Workflow
CODEBLOCK1
Common Traps
- - Delivering untested code -> always verify first
- Huge PRs -> break into testable chunks
- Ignoring preferences -> check memory.md first
Self-Modification
This skill NEVER modifies its own SKILL.md or auxiliary files.
User data stored only in ~/code/memory.md after explicit request.
External Endpoints
This skill makes NO network requests.
| Endpoint | Data Sent | Purpose |
|---|
| None | None | N/A |
Security & Privacy
Data that stays local:
- - Only preferences user explicitly asks to save
- Stored in INLINECODE13
Data that leaves your machine:
- - None. This skill makes no network requests.
This skill does NOT:
- - Execute code automatically
- Access network or external services
- Access files outside
~/code/ and user's project - Take autonomous actions without user awareness
- Delegate to sub-agents without user's explicit request
使用时机
用户明确请求代码实现时。代理提供规划、执行指导和验证工作流程。
架构
用户偏好存储在 ~/code/ 中(当用户明确请求时)。
~/code/
- memory.md # 仅存储用户提供的偏好
首次使用时创建:mkdir -p ~/code
快速参考
| 主题 | 文件 |
|---|
| 记忆设置 | memory-template.md |
| 任务分解 |
planning.md |
| 执行流程 | execution.md |
| 验证 | verification.md |
| 多任务状态 | state.md |
| 用户标准 | criteria.md |
范围
此技能仅:
- - 提供编码工作流程指导
- 存储用户在 ~/code/ 中明确提供的偏好
- 读取包含的参考文件
此技能绝不:
- - 自动执行代码
- 发起网络请求
- 访问 ~/code/ 和用户项目之外的文件
- 修改自身的 SKILL.md 或辅助文件
- 在用户不知情的情况下自主行动
核心规则
1. 首先检查记忆
如果存在,读取 ~/code/memory.md 中用户声明的偏好。
2. 用户控制执行
- - 此技能提供指导,而非自主执行
- 用户决定何时进入下一步
- 子代理委派需要用户明确请求
3. 先计划后编码
- - 将请求分解为可测试的步骤
- 每个步骤可独立验证
- 参见 planning.md 了解模式
4. 验证一切
建议截取屏幕截图 |
| 交付前 | 建议运行完整测试套件 |
5. 按请求存储偏好
| 用户说 | 操作 |
|---|
| 记住我偏好 X | 添加到 memory.md |
| 再也不要 Y |
添加到 memory.md 的绝不部分 |
仅存储用户明确要求保存的内容。
工作流程
请求 -> 计划 -> 执行 -> 验证 -> 交付
常见陷阱
- - 交付未经测试的代码 -> 始终先验证
- 过大的拉取请求 -> 分解为可测试的块
- 忽略偏好 -> 首先检查 memory.md
自我修改
此技能绝不修改自身的 SKILL.md 或辅助文件。
用户数据仅在明确请求后存储在 ~/code/memory.md 中。
外部端点
此技能不发起任何网络请求。
安全与隐私
保持在本地数据:
- - 仅用户明确要求保存的偏好
- 存储在 ~/code/memory.md 中
离开您机器的数据:
此技能不:
- - 自动执行代码
- 访问网络或外部服务
- 访问 ~/code/ 和用户项目之外的文件
- 在用户不知情的情况下自主行动
- 未经用户明确请求委派给子代理