Claude Code design-pseudocode skill: Outline an algorithm before coding
Break a routine into plain-language steps, walk through edge cases, and turn the resulting design into a comment outline for implementation.
中文Install in Claude Code
Use a local Claude Code project. You can start with a written requirement or an unfinished function.
- Download the repository snapshot at the linked commit. Copy the entire software-design-plugin/skills/design-pseudocode/ directory into .claude/skills/design-pseudocode/ in your practice project.
- Confirm that SKILL.md is directly inside .claude/skills/design-pseudocode/. Open Claude Code from the project root and enter /design-pseudocode groupOverdueBooks.
Example task
Run /design-pseudocode groupOverdueBooks. Give it a date of October 10 and two loans: A due October 8 and B due October 10. Define overdue as strictly earlier than the given date. Ask for the design outline.What to check
The outline selects A, handles empty input explicitly, and states what happens when a due date is missing.
Original SKILL.md on GitHub · Updated
Frequently asked question
How detailed should the pseudocode be?
Each line should express one action that can be translated into a few implementation statements. Work out boundary cases before picking syntax.