agentleFS
Microsoft AzureKnown publisherAzure/azure-sdk-for-rust/.github/skills/document-crates/SKILL.md

document-crates

Skill887 starsChanged 29 days agoMITView on GitHub

Plan, create, or update README.md and CONTRIBUTING.md files, especially crate documentation. Use before planning or editing either filename.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the target and applicable instructions.

    line 8
  2. Distinctive:

    Keep consumer guidance in README.

    line 13
  3. Distinctive:

    Keep this order for service clients.

    line 39
  4. Very specific:

    Use actual crate/API/product URLs.

    line 44
  5. Distinctive:

    Document supported authentication, endpoints, features, and limitations accurately.

    line 45
  6. Very specific:

    Keep examples consumer-focused.

    line 46
  7. Very specific:

    Use rust no_run for placeholder examples.

    line 47
  8. Distinctive:

    Start with a repository contribution-guide link.

    line 51
  9. Distinctive:

    Do not include credentials, private payloads, session logs, or transient run status.

    line 61
  10. Very specific:

    Check links, heading order, API accuracy, and preserved example labels.

    line 67
  11. Distinctive:

    Run README tests if executable snippets changed.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Document crates

  • Read the target and applicable instructions. For crate docs, use Key Vault secrets as the published template; read only relevant sections.
  • Apply the crate template below to crate docs, not repository/tool guides. Preserve existing purpose and layout for non-crate files.
  • Keep consumer guidance in README; contributor workflows in a sibling CONTRIBUTING. Avoid duplication; link shared repository guidance.

README order

# Azure <service> client library for Rust
<consumer overview>
[Source code] | [Package (crates.io)] | [API reference documentation] | [Product documentation]
## Getting started
### Install the package
### Prerequisites
### Install dependencies
### Authenticate the client
### Instantiate a client
## Key concepts
## Examples
### <primary scenario>
## Troubleshooting
### General
## Contributing
<standard repository contribution link, CLA, Code of Conduct prose>
<!-- LINKS -->
<reference-style definitions>
  • Keep this order for service clients; add service-specific subsections as needed. Omit inapplicable setup steps for non-service crates; do not invent requirements.
  • Copy Contributing prose verbatim from the published template. Link its CONTRIBUTING.md reference to the repository-root GitHub URL, not the sibling. Retain the CLA and Code of Conduct links.
  • Use actual crate/API/product URLs; Rustdoc links target the published crate. Document supported authentication, endpoints, features, and limitations accurately.
  • Keep examples consumer-focused; preserve README-test fence labels and bindings. Use rust no_run for placeholder examples; match existing tested snippet fences.

CONTRIBUTING content

Start with a repository contribution-guide link. Include only applicable crate-specific details, in this order:

  1. Prerequisites and local setup: tools, permissions, environment-variable names.
  2. Generation: pinned inputs/tooling, commands, customization ownership and caveats.
  3. Build and offline checks: package-scoped commands, --all-features for tests.
  4. Integration tests: provisioning, record/playback commands, fixtures, ignored-case reasons, resource counts/cost implications, cleanup, and recording publication.
  5. Contributor troubleshooting.

Do not include credentials, private payloads, session logs, or transient run status. Link shared workflows instead of copying them. Do not run live tests or provision resources merely to validate documentation.

Finish

Check links, heading order, API accuracy, and preserved example labels. At the end, use lint-markdown and check-spelling for changed files; reuse unchanged results. Run README tests if executable snippets changed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.