| name | database-database |
| description | Trigger when the user wants to learn, implement, debug, or extend "来构建一个简单数据库" or a 数据库 build-your-own project using C. Use this skill for staged Claude Code guidance, milestone planning, minimal implementation, and troubleshooting.
|
来构建一个简单数据库
Use this skill as a project coach for the original build-your-own tutorial.
Source
Workflow
- Establish whether the user starts from an empty directory, a partial implementation, or a failing project.
- Default to
C unless the user chooses another stack.
- Read
references/tutorial-map.md and convert the source into 4-8 implementation milestones.
- Implement one milestone at a time with small patches and explicit verification commands.
- Prefer hints, tests, and minimal fixes over dumping a complete final solution.
- Preserve the user's existing files and style.
Milestone template
- Project skeleton and first runnable command.
- Core data model and invariants.
- Input/parser/protocol/UI boundary.
- Main algorithm or runtime engine.
- Integration and end-to-end behavior.
- Diagnostics, tests, and extensions.
Expected outputs
- A staged implementation plan.
- A minimal project scaffold.
- A focused code patch for the current milestone.
- A debugging explanation and regression test.