Community艺术与设计github.com

AmosChenZixuan/Agentic-working-contract

Agent skills I use everyday.

兼容平台~Claude Code~Codex CLI~CursorAntigravity
npx skills add AmosChenZixuan/Agentic-working-contract

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

文档

Razor

The right design is the least that fully meets the user's actual need — nothing added for needs that don't exist yet. Two cuts: find the need, then fit the solution to it.

1. Find the real need. What people ask for is a solution they already reached for, not the need underneath it — and what they say often isn't what they think. The stated request, the imagined solution, and the actual need are three different things. Reconstruct the need from first principles: who is this for, and what are they truly trying to do, right now. You can't cut against a target you haven't found — if it's unclear, ask.

2. Cut the solution to fit (Occam). The right design is the fewest moving parts that meet that need; every extra layer, option, abstraction, or guard is cost — to build, read, test, break, and change — unless a present need pays for it. To find the fewest, stop at the first rung that holds:

  • Does it need to exist at all? → no: drop it (YAGNI).
  • Does something already solve it — this codebase, the stdlib, a platform feature, an installed dependency? → use it, don't build it.
  • Can it be one obvious thing instead of a system? → make it that.

Lazy about the solution, never about understanding the problem.

Process

  1. Reconstruct the true need (cut 1); state it in one line.
  2. Derive the minimal design — start from the dumbest thing that works, add only what the need forces (cut 2).
  3. Diff the proposal against it. Everything extra is a candidate cut; name the red flag (YAGNI, premature abstraction, over-defense, reinvention, speculative option).
  4. Don't under-cut. Re-read the need and put back anything it actually requires. Narrow ≠ fragile — never cut real validation, error handling, security, or accessibility.

Output

Use this template, and keep it short — a scalpel, not an essay:

## True need
<one line — what the user actually needs, not what they asked for>

## Minimal design
<the narrowest approach that meets it>

## Cut as over-design
- <thing> — <red flag + why no present need justifies it>

## Keep (don't over-cut)
<anything that looks cuttable but is genuinely needed, so it isn't dropped later.
Omit this section if nothing qualifies.>

If the design is already minimal, say so and stop.

相关技能

sniperunder123/okf-knowledge

A portable Claude Code skill (/okf) to create, read, maintain & visualize Open Knowledge Format (OKF) bundles - knowledge as plain, git-versionable Markdown.

community

geniusjo1984/Proposal-SlideFormat-Generator

Reusable Codex skill for proposal slide workspaces and RfP-based slide planning

community

Soran-dev/bannermorph-skill

Batch-replace product image in a banner template across N products. AI skill for Claude Code / Qoder / Trae.

community

pekinlcc/SalmonApp

Unofficial Linux + macOS desktop client wrapping the Claude Code CLI and Codex CLI. Three-pane chat UI, your existing CLI login, no API key required.

community

vercel/streamdown

Implement, configure, and customize Streamdown — a streaming-optimized React Markdown renderer with syntax highlighting, Mermaid diagrams, math rendering, and CJK support. Use when working with Streamdown setup, configuration, plugins, styling, security, or integration with AI streaming (e.g., Vercel AI SDK). Triggers on: (1) Installing or setting up Streamdown, (2) Configuring plugins (code, mermaid, math, cjk), (3) Styling or theming Streamdown output, (4) Integrating with AI chat/streaming, (5) Configuring security, link safety, or custom HTML tags, (6) Using carets, static mode, or custom components, (7) Troubleshooting Tailwind, Shiki, or Vite issues.

community

shadcn-ui/ui

A set of beautifully-designed, accessible components and a code distribution platform. Works with your favorite frameworks. Open Source. Open Code.

community