mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-11-30 00:07:37 +00:00
## Summary
Adds the `rust-style-guide` Agent Skill under
`.fabro/skills/rust-style-guide/` so Fabro workflow agent stages can
apply the project's Rust conventions when writing or reviewing Rust
code.
Skills are discovered by convention from
`{git_root}/.fabro/skills/*/SKILL.md` at agent-session startup — there's
no manifest wiring or per-workflow declaration. Once present, every
agent stage lists the skill in its system prompt and registers the
`use_skill` tool, so an agent can load it (or a node prompt can
reference `/rust-style-guide`). Committing it here (rather than relying
on a local `~/.fabro/skills` copy) is what makes it available to
**remote, clone-based runs** (Docker/Daytona), which only see committed
+ pushed files.
## Contents (44 files)
- `SKILL.md` — entry point (with a short note pointing the agent at the
in-repo location of the supporting files, since Fabro hands the agent
the `SKILL.md` body and it reads the rest itself)
- `guidelines.md` + `guidelines/` — 38 Rust style policy pages
- `workflows/` — 4 procedure pages (new project, library release,
performance investigation, code review/refactor)
## Source / attribution
Vendored from https://github.com/brynary/rust-style-guide (commit
`8fd2a4f`), trimmed to the runtime skill payload; the upstream repo's
mdBook site and authoring scaffolding are omitted. Note: the upstream
repo has **no LICENSE file** — flagging for a call on
attribution/licensing before merge.
## Notes
- No behavior/code change — this is skill content only; nothing is
compiled or bundled.
- No `{{user_input}}` placeholder was added; agents reference the skill
in prose or via `use_skill`. (If we later want deterministic
`/rust-style-guide <task>` slash expansion in node prompts, add the
placeholder to `SKILL.md` then.)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| async-api-design-and-task-lifecycle.md | ||
| async-runtime-and-when-to-use-async.md | ||
| cancellation-shutdown-and-blocking-work.md | ||
| cargo-workspaces-features-and-dependencies.md | ||
| collections-and-data-structures.md | ||
| concurrency-primitives.md | ||
| constructors-and-builders.md | ||
| control-flow.md | ||
| conversions-getters-and-method-naming.md | ||
| deriving-and-common-trait-implementations.md | ||
| documentation-and-rustdoc-examples.md | ||
| enums-vs-traits-vs-generics-vs-trait-objects.md | ||
| error-propagation-context-and-messages.md | ||
| error-taxonomy-and-layer-boundaries.md | ||
| house-style-and-rust-philosophy.md | ||
| iterators-closures-and-loops.md | ||
| library-errors-vs-application-errors.md | ||
| library-vs-application-conventions.md | ||
| lifetimes.md | ||
| logging-and-observability.md | ||
| modules-visibility-and-re-exports.md | ||
| naming-imports-and-prelude-policy.md | ||
| newtype-pattern-and-semantic-wrappers.md | ||
| option-and-result-idioms.md | ||
| ownership-borrowing-and-clone-policy.md | ||
| panics-unwrap-expect-and-assertions.md | ||
| property-tests-snapshots-benchmarks-and-ci.md | ||
| public-api-evolution.md | ||
| rust-edition-and-msrv.md | ||
| rustc-and-clippy-lints.md | ||
| rustfmt-and-formatting.md | ||
| smart-pointers-and-interior-mutability.md | ||
| struct-design-and-encapsulation.md | ||
| testing-and-doctests.md | ||
| trait-design.md | ||
| typestate-and-state-machines.md | ||
| unsafe-code-and-macros.md | ||
| validation-and-invariants.md | ||