agentleFS
Dianel555Dianel555/DSkills/skills/wiki-yylo/SKILL.md

wiki-yylo

Skill65 starsChanged 2 months agoMITView on GitHub

Use YYLO Ledger wiki Records as durable project knowledge. Search before creating, classify information correctly, and make revision-safe Markdown updates without editing Ledger storage directly.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 9 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Treat Ledger as the source of truth.

    line 10
  2. Distinctive:

    Before writing, decide where the information belongs:

    line 17
  3. Distinctive:

    Do not put secrets, caches, session transcripts, temporary status, bulky generated evidence, or owner-only operational receipts in a wiki.

    line 25
  4. Very specific:

    When an ID is known, preflight yy ledger get --help and prefer yy ledger get RECORD_ID -f json without needing its type.

    line 30
  5. Very specific:

    When no ID is known, use bounded summary searches first (use record search for unknown kinds).

    line 37
  6. Very specific:

    Use explicit --content --max-content-bytes N when needed (maximum 16 MiB).

    line 41
  7. Very specific:

    Use --scope archive|all only when the request requires cold records.

    line 50
  8. Distinctive:

    Use a file or stdin for substantial or shell-sensitive content:

    line 55
  9. Distinctive:

    Read the current Record and revision.

    line 68
  10. Very specific:

    Follow wiki update --help for the installed compare-and-replace controls.

    line 70
  11. Distinctive:

    Use file transport; do not rewrite Ledger files yourself.

    line 72
  12. Distinctive:

    Read back the resulting revision and receipt.

    line 73
  13. Distinctive:

    Never force past concurrent edits.

    line 76
  14. Very specific:

    Use --front-matter only for canonical front-matter interchange and --rendered for inert, HTML-escaped rendering.

    line 78
  15. Distinctive:

    After creation, update, discovery, or handoff, report the Record kind/profile, actual immutable Record ID, and actual Ledger slug from the …

    line 94
  16. Distinctive:

    If the selected API omits a field, say it is unavailable rather than fabricate it.

    line 97

≈ “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

Use YYLO wiki Records

Treat Ledger as the source of truth. Use yy ledger in a YYLO controller and yylo-ledger in a standalone Ledger project. Inspect COMMAND wiki --help before acting; if wiki is absent, the installed Ledger version does not expose native Record commands and must not be bypassed with direct file edits.

Choose the right record

Before writing, decide where the information belongs:

  • Wiki: durable explanatory project or domain knowledge that future work must discover.
  • Task: scoped requested work, status, dependencies, acceptance criteria, and completion evidence.
  • Workflow: validated structured steps, not prose guidance.
  • Artifact: generated evidence, reports, receipts, logs, model output, or binary payloads.
  • Source documentation: documentation released and versioned with product code.

Do not put secrets, caches, session transcripts, temporary status, bulky generated evidence, or owner-only operational receipts in a wiki.

Discover before creating

When an ID is known, preflight yy ledger get --help and prefer yy ledger get RECORD_ID -f json without needing its type. If installed get is task-only, use yy ledger record get RECORD_ID -f json after checking native help; stop for an upgrade if unavailable. New generated wiki IDs use doc_; existing IDs remain unchanged. Exact reads include hot and archived Records in the selected project; never guess another type or project after a miss or ambiguity.

When no ID is known, use bounded summary searches first (use record search for unknown kinds). Slugs and aliases are discovery conveniences, not replacement identity. Universal get includes readable UTF-8 text up to 64 KiB by default; inspect omission reasons instead of treating missing content as an empty page. Use explicit --content --max-content-bytes N when needed (maximum 16 MiB). Typed wiki get remains available for specialized source/rendering operations.

yy ledger wiki search --text "deployment policy" --projection summary --limit 20 -f json
yy ledger get RECORD_ID -f json
yy ledger wiki get RECORD_ID --raw

Use --scope archive|all only when the request requires cold records. Request full projection only when payload bytes are necessary.

Create durable Markdown

Use a file or stdin for substantial or shell-sensitive content:

yy ledger wiki create --title "Service ownership" --file ownership.md
yy ledger wiki create --title "Incident notes" --file - < incident-notes.md

Choose a stable title, namespace, slug, aliases, and relations deliberately. Keep one topic per Record and link related immutable Record IDs rather than duplicating truth.

Update safely

  1. Read the current Record and revision.
  2. Preserve its immutable ID and inspect history when intent is unclear.
  3. Follow wiki update --help for the installed compare-and-replace controls.
  4. Supply the expected revision and required preimage/digest evidence.
  5. Use file transport; do not rewrite Ledger files yourself.
  6. Read back the resulting revision and receipt.

A revision or preimage mismatch means the source changed: reread and reconcile. Never force past concurrent edits. Archive is a lifecycle transition, not delete.

Use --front-matter only for canonical front-matter interchange and --rendered for inert, HTML-escaped rendering. Use history RECORD_ID to understand revisions; do not infer history from the latest payload alone.

Project wiki boundary

Portable controller guidance may live under the controller wiki, while project and domain pages retain project-owned paths. Package-managed and project-owned pages can coexist. Migration, runtime replacement, exceptional merge recovery, release, deployment, and cold-archive maintenance remain authoritative runbooks, not content to summarize into an everyday global skill.

Complete request

User-facing Record results

After creation, update, discovery, or handoff, report the Record kind/profile, actual immutable Record ID, and actual Ledger slug from the returned Record or a native get readback. Never invent a slug from the title or confuse it with the ID. If the selected API omits a field, say it is unavailable rather than fabricate it. IDs remain authoritative for relations and lifecycle operations; slugs aid discovery.

$ARGUMENTS

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.