agentleFS
sabirmgdsabirmgd/terminal-first-goal-loop/skills/docs-manager/SKILL.md

docs-manager

Skill2 starsChanged 2 months agoMITView on GitHub

Retrieve, draft, update, and publish docs in Confluence or a similar wiki from the terminal, with source grounding, version checks, and explicit write previews.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 10

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use this when architecture notes, plans, handoffs, or operating docs should be read or written without leaving the terminal.

    line 8
  2. Distinctive:

    Before drafting or updating a page, ground it in actual sources:

    line 26
  3. Distinctive:

    test or runtime evidence

    line 31
  4. Distinctive:

    If the source evidence is weak, say so before writing polished prose.

    line 34
  5. Distinctive:

    Do not paste the whole page unless the task really needs it.

    line 51
  6. Distinctive:

    read back the saved result

    line 77
  7. Distinctive:

    If the page changed underneath you, stop and show the version conflict.

    line 79
  8. Distinctive:

    Keep architecture and status docs grounded in real code and evidence.

    line 83
  9. Distinctive:

    Do not silently merge conflicting edits.

    line 84
  10. Distinctive:

    Prefer short, useful pages over giant generic summaries.

    line 86
  11. Very specific:

    If the task is really a status report, use status-report instead of burying activity in prose.

    line 87

“Common” is measured: kept by at least 6 in 10 of the 3 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

Docs Manager

Use this when architecture notes, plans, handoffs, or operating docs should be read or written without leaving the terminal.

Default mode

Read-only by default.

Safe default actions:

  • fetch one page
  • search pages
  • compare page versions
  • draft a new page
  • draft an update to an existing page

Publishing or editing a live page needs explicit authority.

Ground the document first

Before drafting or updating a page, ground it in actual sources:

  • code
  • tickets
  • approved decisions
  • test or runtime evidence
  • existing docs

If the source evidence is weak, say so before writing polished prose.

Read workflow

Return:

System:
Space or section:
Page:
Current version:
Last updated:
Key points:
Open conflicts or stale spots:
Evidence:

Do not paste the whole page unless the task really needs it.

Draft workflow

For a new page or update, prepare a preview with:

Action:
Target:
Title:
Summary:
Sections:
Grounding:
Version base:
Exact write command or payload:

The preview should be ready for approval or light editing before any live publish.

Publish workflow

Once authority is explicit:

  1. resolve the exact page or parent
  2. re-check the current page version
  3. publish the draft against that version
  4. read back the saved result

If the page changed underneath you, stop and show the version conflict. Do not overwrite it blindly.

Rules

  1. Keep architecture and status docs grounded in real code and evidence.
  2. Do not silently merge conflicting edits.
  3. Distinguish draft text from published text.
  4. Prefer short, useful pages over giant generic summaries.
  5. If the task is really a status report, use status-report instead of burying activity in prose.

Stop rules

Stop when:

  • the page read is complete
  • the draft preview is ready
  • the authorized publish is verified
  • a version or permission conflict blocks safe publication

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.