agentleFS
boshu2boshu2/agentops/skills/doc/SKILL.md

doc

Skill447 starsChanged 5 months agoApache-2.0View on GitHub

Write grounded docs, READMEs, repo instructions or continuity handoffs. Use when: these documents are requested; no reports as a routine completion ritual.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use explain, deploy and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • allieraysSkill

    explain

    Explain what code does line by line so you can understand and learn from it.

    Also in 5 projects that use this

  • VercelSkill

    deploy

    Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".

    Also in 3 projects that use this

  • AWSSkill

    improve-codebase-architecture

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    Also in 3 projects that use this

  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

  • VercelSkill

    setup

    Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write or update the documentation the caller needs, grounded in the current repository and its accepted intent.

    line 35
  2. Distinctive:

    Read the relevant declarations and verify them against code, configuration, command help or executable behavior.

    line 58
  3. Distinctive:

    Check links, examples and the repository's applicable documentation build or validator.

    line 65
  4. Very specific:

    Create only the requested missing documents, such as PRODUCT.md, GOALS.md or AGENTS.md.

    line 78
  5. Distinctive:

    Do not invent IDs, infer a paused goal from a report saying HOLD, assign a whole multi-work session to one task, or reset budgets and …

    line 104
  6. Distinctive:

    Check source, recipient/model and destination authorization before copying metadata.

    line 108

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “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

Doc

Write or update the documentation the caller needs, grounded in the current repository and its accepted intent. A small explanation needs no interview, coverage ledger or separate report. Select only the mode relevant to the task.

Modes

NeedScope and reference
Explain an API, command, code-map or architectureInspect its consumers and source; use code/API guidance or architecture guidance when useful.
Create or improve a READMELead with the user's problem and a working first-use path; preserve useful depth. See README craft.
Audit or scaffold OSS documentationCompare existing docs with the requested pack. Create missing files; revise existing files only within the authorized request. See OSS pack.
Initialize missing entry documentsCreate only explicitly requested missing files; report existing paths as skipped. See setup examples.
Preserve a session for another contextWrite the compact factual handoff described below to the caller's authorized destination.

These are optional task shapes, not successive phases. Detailed references supply techniques and formats; they do not add interviews, approval checkpoints, reports or files beyond the accepted request. Existing authorization to revise specified documents is sufficient.

Grounded writing

  1. Identify the audience, question and existing document owner. Reuse accepted intent; ask only for missing content that materially changes the document.
  2. Read the relevant declarations and verify them against code, configuration, command help or executable behavior. Use the caller's domain terminology. For a larger surface, retain enough source references to disclose what was inspected and what remains unknown; do not imply whole-repository coverage.
  3. Make the smallest useful edit. Explain non-obvious rules, ordering and tradeoffs when they help the reader; a reference page need not manufacture a lesson. Preserve operator policy and history outside the authorized scope.
  4. Check links, examples and the repository's applicable documentation build or validator. Remove empty claims and redundant prose; prose guidance can help when the requested output is substantial.
  5. Return changed paths and check results, plus unresolved factual gaps. Write a separate report only when the caller requests one or an existing consumer requires it.

For AgentOps itself, read docs/contracts/ubiquitous-language.md: the product is the operations layer for agentic engineering. Preserve the distinction between that layer and caller-owned execution, work tracking and delivery.

Missing-document setup

Create only the requested missing documents, such as PRODUCT.md, GOALS.md or AGENTS.md; a collision is skipped, not overwritten by setup. Verify the created paths and report created, skipped and failed writes. Setup does not install tools, run ao session bootstrap, initialize Git or trackers, start a runtime, add hooks, or infer a repository workflow.

Standalone verdict storage at .agents/ao/verdicts/sha256/ is created only when explicitly requested. New CDLC proof uses the caller-selected protected external non-Git evidence root; a missing route permits no checkout fallback. Preserve existing evidence and use the repository's actual source owners.

Session handoff

A requested handoff records end-state facts another context can verify:

  • accepted goal, completed artifacts and exact evidence paths;
  • commands and observed results, unresolved acceptance, findings and causal gaps;
  • useful repository/content identity, observed native stop state and measured remaining allowance or explicit unknowns; record whether the helper for a current HOLD incident was used when that fact matters to continuation;
  • permitted dispatch/startup association and observed runtime/session/context identities, with separately evidenced parent/resume links and source bounds;
  • caller-supplied continuation, when present.

Follow session associations for those identities. End-state notes cannot replace missing startup evidence. Do not invent IDs, infer a paused goal from a report saying HOLD, assign a whole multi-work session to one task, or reset budgets and helper incidents through compaction. Preserve informative failures and withdrawn claims.

Check source, recipient/model and destination authorization before copying metadata. An opaque locator grants no access. New CDLC handoffs require the selected protected external non-Git destination; preserve legacy evidence and report missing routing without creating a fallback file. Otherwise use the caller's named location and read it back after writing.

Existing JSON under .agents/handoff/ remains read-only evidence. ao session handoff writes .agents/ao/handoff/; ao session rehydrate searches both and selects the newest lexical ID, preferring the canonical directory for an identical filename. Those commands do not establish startup associations or external storage authorization. Return the exact path to Markdown consumers.

Writing a handoff changes no tracker, Git, runtime or verdict state. The native caller continues owning the authorized outcome; this documentation mode does not select work or decide continuation for it.

Reference menu

Load these only for the document being written. They supply examples and techniques under the kernel's accepted scope, not additional workflow gates.

  • Formats and examples: generation templates, project types.
  • OSS scope: documentation tiers, OSS project types.
  • Writing and checks: prose workmanship, validation techniques.
  • Explicit context configuration: context routing.

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.