Skip to content
Agentmart
Submit a tool

program-design

Design the code shape before implementation for substantial features or refactors that introduce or reshape modules, interfaces, types, file layout, or…

Skill by rakaadi

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rakaadi-program-design

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Design the code shape before implementation for substantial features or refactors that introduce or reshape modules, interfaces, types, file layout, or control flow. Use before writing code when meaningful structural choices remain; skip small fixes and mechanical edits.

Use cases: design, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/program-design

What's inside

Skill name
program-design
Description
Design the code shape before implementation for substantial features or refactors that introduce or reshape modules, interfaces, types, file layout, or control flow. Use before writing code when meaningful structural choices remain; skip small fixes and mechanical edits.
License
MIT
Instructions
48 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Program Design

Turn an agreed task or implementation plan into a reviewable code shape before writing implementation code. Align the human and agent on the interfaces and flow that would otherwise be decided implicitly during code review.

## Establish The Design Boundary

Use this skill after the goal and relevant system architecture are settled. Read the complete request or plan, repository instructions, and the surrounding code that establishes current conventions.

Apply the design gate when the work introduces or substantially reshapes modules, interfaces, types, file layout, dependencies, or control flow. Small fixes, local implementation changes, and mechanical edits can proceed without it.

If repository evidence shows that the agreed architecture cannot support a clean implementation, stop and explain the smallest upstream decision that must change. Do not silently redesign the architecture or force the work into an unsuitable shape.

## Evaluate Internally

Before presenting the proposal, evaluate whether it:

- follows explicit repository instructions and established surrounding patterns;
- gives each module a clear responsibility and keeps caller-facing interfaces small;
- places seams where behavior actually varies and keeps dependency direction legible;
- makes important invariants, error modes, and ownership clear at the interface;
- supports testing through the same interfaces callers use;
- avoids shallow pass-through modules, god classes or functions, speculative abstractions, and unnecessary defensive paths.

Explore credible alternatives internally. Present one recommended design unless a genuine tradeoff requires a human decision.

This evaluation is a filter, not a review report. Expose only the rationale needed to understand the proposed shape or resolve a material conflict.

## Present The Code Shape

Keep the proposal at interface-level pseudocode. Omit function bodies, detailed algorithms, and line-by-line implementation steps.

Present the applicable views:

1. **Design constraints:** Briefly state the repository evidence, responsibilities, invariants, or error behavior that materially shaped the proposal.
2. **File-tree diff:** Always show affected files using diff markers and a short responsibility for every new or modified file.
3. **Key types and interfaces:** Always show the important language-appropriate types and function or class signatures. Include only fields and methods needed to judge the contract.
4. **Call-stack trees:** Show these for orchestration or control-flow changes. Prefer lightweight text trees and diff markers when the change from the current flow matters.
5. **Test seams:** Include test-file placement in the file tree and identify the interface or seam each test exercises. Leave detailed test cases to implementation unless they affect the design.

Present the proposal in the conversation by default. Update a plan or another persistent artifact only when the user requests it or the active artifact already designates a program-design section.

## Hold The Approval Gate

Ask the user to approve the proposed code shape before implementation. Questions, silence, or partial agreement keep the gate open. If the user requests changes, revise the affected views and ask again.

After explicit approval, continue the original implementation task without another confirmation. If later repository evidence forces a material deviation, pause implementation, present only the affected design delta and its evidence, and obtain approval before continuing.

From rakaadi/agent-kit, MIT.

More from rakaadi/agent-kit

Signals

Stars
1
Forks
0
Open issues
1
Last commit (this folder)
Aug 20, 2026 (2 months ago)
Last release
Oct 13, 2026 (15 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from rakaadi

Cite this page

program-design skill. Agent Mart. https://agentmart.dev/skills/rakaadi-program-design (last updated 2026-10-24)