Index of every page on this site: llms.txt
All skills
kj-aiml avatar

/starting-a-rust-product

@9297d75
Run it yourself

Use when a user proposes a new Rust product, backend service, CLI tool, or Tauri v2 desktop application ("new product", "new service", "build a Rust version", "let's start") and needs a structured path from problem discovery to a verified, layered implementation.

Use this Skill: https://skilld.dev/gh/kj-aiml/rust-product-skills/starting-a-rust-product

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈72 tokens for metadata: the name and description. ≈679 when used: this file.

Description uses 3.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈289 characters, or 3.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Starting a Rust Product

Overview

Products share a proven Rust architectural baseline and quality gates, not a feature set. Every product starts from its own concrete user pain and makes its own product-level calls.

Lifecycle Map

Stage Goal Skill Output Gate
1 Discover the real pain discovering-product-pain Plain-language playback, lean core, top anti-goal User confirms playback
2 Write the design doc writing-rust-design-docs docs/decisions/ADR-001-<product>-design.md User approves design & rules R1..Rn
3 Plan the first build slice planning-rust-builds docs/plans/YYYY-MM-DD-<product>-p1-plan.md User approves plan & execution mode
4 Scaffold & build core rust-architecture-baseline Layered Cargo workspace (L0–L5), xtask verify, first vertical slice cargo run -p xtask -- verify passes
5 Craft the UI (if applicable) modern-ui-design React + Vite + Tailwind v4 UI consuming ts-rs types + browser preview Visual check & typecheck pass

Gate Rules

  • One gate at a time. Do not send the design doc and implementation plan in the same message; scope corrections during design review invalidate a premature plan.
  • No premature scaffolding. Do not initialize crates or install dependencies before the design and plan are agreed—unless the user explicitly grants autonomous execution ("build it end to end, make the calls yourself").
  • Autonomous fast-track. When the user explicitly delegates all decisions, still follow the same internal order (record assumptions & rules R1..Rn in an ADR, scaffold L0–L5 + xtask verify, implement vertical slice, verify visually and mechanically) and summarize every key call at the end.
  • Baseline vs. product decisions. Carry over architectural invariants (layering, purity, deny lints, panic boundaries, engine-owned audit). Never copy another product's domain assumptions.

Red Flags

Thought Reality
"Same Rust stack, so I can scaffold immediately" The stack is shared; the problem, anti-goals, and storage profile are not. Clarify the pain first.
"Sending ADR + plan together saves time" Scope shifts during ADR review waste the entire plan. Keep gates separate unless explicitly told to run end to end.
"It's a small local utility, skip architecture gates" Layer drift and .unwrap() panics creep in fastest on small tools. L0–L5 + xtask takes minutes to set up and pays off immediately.
"User said 'go write the doc', so the design is approved" That approves drafting the document, not its contents. Wait for review before planning.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 9297d75. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 days ago

README badge

README badge for kj-aiml/rust-product-skills/starting-a-rust-product