بنقرة واحدة
project-bootstrap
Create or review the first working skeleton of a new Rust service, CLI, or application.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create or review the first working skeleton of a new Rust service, CLI, or application.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Use the factstore library from GitHub correctly in this repository for append-only write flows and minimal projections.
Create or modify a self-contained Rust feature slice with explicit boundaries, local naming, visible IO, and a small internal shape. Avoid generic technical roles, cross-feature dependencies, and one-file feature collapse.
Create or review the first working skeleton of a new Rust service, CLI, or application.
Create or modify a self-contained feature slice using domain-driven naming, strict isolation, and explicit IO boundaries. No shared logic, no cross-feature dependencies.
استنادا إلى تصنيف SOC المهني
| name | project-bootstrap |
| description | Create or review the first working skeleton of a new Rust service, CLI, or application. |
Use this skill when the task is to create or review the first working skeleton of a new Rust service, CLI, or application.
This skill defines the initial foundation only. It does not define product logic, feature workflows, or domain-specific behavior.
Produce a starter project that is:
Prefer the smallest valid Rust setup that creates a reliable starting point.
Start from:
cargo new --bin for executables and servicescargo new --lib only when the project is clearly a libraryUse Cargo defaults first.
Do not invent custom structure, technical layers, or future-facing abstractions at bootstrap stage.
The first goal is a working, verifiable project, not a designed architecture.
Prefer Rust’s native defaults before adding folders.
Typical starting point:
Cargo.tomlsrc/main.rs for a binarysrc/lib.rs only if shared logic is already necessarytests/ only when an integration or smoke test adds immediate value.env.example only when environment variables are neededREADME.md with exact run and verification stepsOnly add folders such as scripts/, docs/, config/, or deploy/ when they solve a real problem now.
Do not create empty placeholder folders.
Do not create feature slices before the first real feature exists.
The first runnable path must be obvious.
Include:
Typical commands:
cargo runcargo testIf the project is stricter from day one, also include:
cargo checkcargo fmt --checkcargo clippy -- -D warningsKeep configuration explicit and narrow.
Rules:
At minimum, document:
Prefer simple environment-based configuration first.
Add logging from the first runnable version.
For Rust, prefer:
tracingtracing-subscriberLogging should:
Minimum startup logs:
Bootstrap must define a clear startup contract.
For long-running services:
For CLI or batch tools:
Add one small validation path immediately.
Examples:
/healthThe purpose is to prove the bootstrap works, not to simulate full coverage.
Keep initial documentation short and operational.
Document only what is needed to:
Avoid design writing, architecture language, or speculative explanation in the bootstrap stage.
This skill does not cover:
If the task moves into a concrete feature, stop using this skill alone and switch to a feature-specific skill.
main.rs small and obviousservice, manager, repository, helper, or similar generic technical rolesshared, common, utils, or core folders at bootstrap stageBefore finishing, verify:
When using this skill, report: