Agent skill

Docs Wg

by gridaco in gridaco/grida

Doctrine for drafting and keeping working-group docs under docs/wg/ — RFC/RFD specs and findings/research/glossary.

Apache-2.0Auto-check passed

Install Docs Wg

skills CLI
$ npx skills add gridaco/grida --skill docs-wg -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install gridaco/grida docs-wg --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/gridaco/grida.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/docs-wg .claude/skills/docs-wg && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docs-wg
GitHub stars
2.7k
Token cost
~3k tokens
SKILL.md length
1,646 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
Apache-2.0

At a glance

Doctrine for drafting and keeping working-group docs under docs/wg/ — RFC/RFD specs and findings/research/glossary.

  • Works in 2 steps: RFC / RFD — spec → Findings / research / glossary
  • Editing anything under docs/wg/
  • SKILL.md covers The two genres, What a good WG doc is, What a bad WG doc is and What is NOT a WG doc at all, plus 4 more sections
  • Reaches github.com

What it does

Docs Wg is an agent skill from gridaco/grida. Doctrine for drafting and keeping working-group docs under docs/wg/ — RFC/RFD specs and findings/research/glossary. A WG doc is a language-agnostic, code-agnostic study of a domain: it argues why and defines what, never how in our code. Use when writing or editing anything under docs/wg/, an RFC/RFD, a spec, a design note, a glossary, or research findings — including "write up the design", "document the spec", or "capture what we learned". Not for plans/TODOs (untracked .plan.md), user docs, or SDK API refs — use…

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is Apache-2.0.

When your agent uses it

  • Editing anything under docs/wg/
  • Research findings — including write up the design
  • Document the spec
  • Capture what we learned

Example prompts

  • “write up the design”
  • “document the spec”
  • “capture what we learned”
  • “/docs-wg”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. RFC / RFD — spec
  2. Findings / research / glossary

What it can do on your machine

Read from SKILL.md and the folder at commit 165496f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Docs Wg loads about 3k tokens when it runs. Until then it costs about 141 tokens; SKILL.md has 1,646 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~141
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from gridaco/grida at commit 165496f, republished under its Apache-2.0 licence (© gridaco). 1,646 words, ~2,989 tokens.

Download SKILL.mdSave it as .claude/skills/docs-wg/SKILL.md (or your agent's skills folder).
name
docs-wg
description
Doctrine for drafting and keeping working-group docs under `docs/wg/**` — RFC/RFD specs and findings/research/glossary. A WG doc is a language-agnostic, code-agnostic study of a domain: it argues *why* and defines *what*, never *how in our code*. Use when writing or editing anything under `docs/wg/`, an RFC/RFD, a spec, a design note, a glossary, or research findings — including "write up the design", "document the spec", or "capture what we learned". Not for plans/TODOs (untracked `*.plan.md`), user docs, or SDK API refs — use `docs` to route those.

WG docs

Working-group docs are where Grida reasons about a problem before and above any one implementation. A good WG doc could be handed to someone rebuilding the feature in a different language, on a different stack, in a different decade, and still be the right starting point. That is the bar.

The reason WG docs are code-agnostic is not stylistic. Code moves; a file path or a function name is stale within months, and a doc anchored to it rots into a lie. A doc anchored to the domain — the problem, the spec, the why — stays true as long as the problem does. You are writing the thing that outlives the code.

This skill is the doctrine. Operational mechanics (frontmatter, format: md, draft/unlisted/doc_tasks, the sync model) live in docs/AGENTS.md — read it once. For reading the WG tree before you edit, use grounding.

The two genres

A WG doc is almost always one of these. Name which before you draft — they have different shapes.

1. RFC / RFD — spec

A specification of what a feature or system is and why it is that way. Spec-rich. It defines vocabulary, states constraints and invariants, and argues the design tradeoffs. It reads like a standards document, not like a code comment.

  • A model, not an explanation. The strongest specs are models — a canonical vocabulary, a small generating rule or set of invariants, contract tables, and conformance clauses — the kind of thing a second implementer runs in their head. A doc that explains the code has the arrow backwards: the code conforms to the spec, never the reverse. Prose justifies the model; it does not substitute for it.
  • Covers why and what. The motivation, the requirements, the model, the chosen design and the alternatives rejected (and why).
  • No code-level implementation detail. Describe the behavior and the contract, not the functions that will realize them. If you find yourself naming a struct or a file, you have dropped from spec altitude into implementation — climb back up.
  • Language- and stack-agnostic. Express the model in terms a second implementer could honor, not in terms of the current one.
2. Findings / research / glossary

Grounded, concise domain knowledge — what is true about the problem space. A glossary that pins down vocabulary; findings that record what a study established; research that surveys how the domain is understood.

  • Always factual and grounded. Every claim traceable to a spec, a standard, or a demonstrated result — not to a hunch or a memory.
  • Concise and managed. This is reference material; it earns its keep by being correct and findable, not long.
  • Domain-first. It studies the problem, not Grida's solution to it.

The dedicated upstream-survey subtree is the engine repo's docs/wg/research/** (github.com/gridaco/nothing), and it has its own stricter rules (pure survey, Grida absent from the body). When writing there, use research — it governs that subtree specifically. This skill governs the broader WG surface.

Name the genre — and don't let one wear another's costume. A cluster also collects legitimate non-spec artifacts: methodology, a decision record, an inventory, an RFD (a design proposal still under discussion). Each is fine — but it must say what it is. An inventory or a decision-memo dressed as a normative spec, numbered with "contracts" it cannot enforce, misleads everyone who tries to conform to it. If a doc is not a model, label it and drop the costume.

What a good WG doc is

  • Clear and well-researched — the reader trusts it because it shows its grounding.
  • Always factual; agnostic spec; language-agnostic — true regardless of who implements it or in what.
  • A deep study and a starting place — the canonical entry point for understanding a feature or spec, covering why and what.
  • A manifesto / doctrine when that is what the topic needs — a WG doc may take a position and argue it. Taking a stance is allowed; the stance must rest on fact.

What a bad WG doc is

These are not style nits — each one is the doc rotting or pointing the reader wrong:

  • References specific parts of the code. File paths, function names, line numbers. They date the doc and pull it down to implementation altitude. Describe the contract, not the call site.
  • References an external project as the model. A WG doc studies the domain, not some other project's take on it. Citing "how library X does it" smuggles a foreign implementation in as if it were the spec.
    • Exception: domain reference standards. Citing a de-facto standard or reference implementation of the domain itself is fine and often necessary — Chromium and the W3C/WHATWG specs for web rendering, for example, are the domain. The test: are you citing the standard, or a project's opinion? Dedicated surveys of such sources belong in docs/wg/research/** under research.
  • Dirty plans / TODO sprawl. Scattered "TODO: fix this later" and half-formed task lists turn a reference into a scratchpad. Keep the doc a clean statement of what is true and intended.

What is NOT a WG doc at all

These do not belong under docs/wg/ in any form. They are a different kind of artifact:

  • Plans. Implementation plans live in *.plan.md files, which are gitignored on purpose (.gitignore) — they are working scratch, not committed knowledge. A plan is about the work; a WG doc is about the thing.
  • TODO lists. Tracked work belongs in issues/PRs, not in a doc.
  • Conversational logs / history / decision diaries. "On Tuesday we decided…" is process, not knowledge. Historical snapshots that must be kept go under a _history/ folder marked unlisted: true (see docs/AGENTS.md), never in the live spec.
  • Implementation-binding specs. A spec that binds a universal contract to one codebase — the concrete data an undo entry is, this build's default keymap, the mapping from contracts to running code — is code-specific by nature. It belongs with the code (a docs/ folder in the package or crate, next to what it binds), not under docs/wg. The WG tree stays code-agnostic; the binding lives where it can name files honestly and move with them.

The throughline: a WG doc states what is true and what is intended, in domain terms, for a reader who arrives cold. Anything that is about the work rather than about the thing is a different artifact.

Show full SKILL.md (620 more words)Show less

One concept, one home

Where a doc lives is a design decision, not filing — and the WG tree only stays honest as it grows if three rules hold.

  • A universal concept gets exactly one home. A concept true of any implementation — selection, undo, snapping — is specified once, in the cluster that owns the domain, and never re-homed per consumer. Two clusters specifying "selection" under their own names is a smell: the second is either duplication to delete or a delta that should defer (below). Name the home at the domain's natural scope, not an over-broad umbrella: an "editor" cluster that quietly means the canvas editor is misnamed — canvas is the honest home. (See naming.)
  • Defer to the golden doc; spec only the delta. When a doc leans on a concept another doc owns, it references the owner and specifies only what it adds — it never restates the model. A disciplined delta ("the golden spec owns the pointer routing; this owns the resolution math") is not duplication; a restatement that drifts is. The test: could you delete the section and replace it with a link without losing anything? If yes, do.
  • Tone drives placement. When a concept turns deeply technical — a convergence model, an undo-as-data study — that depth earns a dedicated study, and the application-facing home points to it rather than swallowing it. The home reads at application altitude and links out; the study is the source of truth and stays as pedantic as it needs to be. Splitting by tone keeps the home approachable and the study rigorous, each at its register.

Placement and upkeep

  • WG docs in THIS repo live in the staying topic clusters: docs/wg/platform/, docs/wg/ai/, docs/wg/desktop/, and the product-side feat-* clusters (feat-editor, feat-fig, feat-slides, feat-svg-editor). Put the doc in the cluster that owns its topic; create a new feat-<topic>/ cluster when none fits (consult naming for the cluster name).
  • Engine-domain WG docs are authored in the engine repo — https://github.com/gridaco/nothing/tree/main/docs/wg (canvas, format, research, and the engine feat-* clusters). A doc about the engine domain does not get a new grida-side cluster.
  • Most clusters have an index.md hub. When you add a doc, update the hub so the cluster stays navigable — an orphaned doc is an unfindable doc.
  • Frontmatter (per docs/AGENTS.md): title, a description, tags: [internal, wg, <topic>…] drawn from the controlled vocabulary in docs/tags.yml, and format: md for plain-Markdown pages (the MDX-safety opt-out).
  • Links follow the links skill: relative within /docs, GitHub-absolute for anything outside /docs, universal /_/ routes for "open in the product."

Before you save — review

  • Could a second implementer in another language honor this doc without reading our code? If not, you have implementation detail to remove.
  • Search the draft for file paths, function/struct names, crates/, editor/, packages/. Each match must justify itself — usually by being lifted to a domain-level statement.
  • Any external project cited as the model rather than as a domain standard? Reframe to the domain, or move a genuine survey to research/.
  • Any TODO, plan fragment, or "we decided on <date>"? Remove it — it belongs in a plan, an issue, or _history/.
  • Is this a model (vocabulary, a generating rule, contracts) or prose explaining code? If prose, lift it to a model — or, if it is genuinely a non-spec genre, label it honestly.
  • Does any section restate a concept another doc owns? Defer and keep only the delta. Is this the one home for its concept, named at the domain's scope, with deep material split into a study it points to?
  • Did you update the cluster index.md?

docs (the family router — start there if unsure this is even a WG doc), research (the research/ upstream-survey subtree), grounding (read and reconcile before editing), links, naming (cluster and concept names). Operational mechanics: docs/AGENTS.md.

© gridaco, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/docs-wg of gridaco/grida.

Open the folder on GitHubat commit 165496f

Compare with similar skills

Docs Wg next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Docs Wg compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs Wg this skillgridaco/grida2.7k—~3kAutomated safety check: PassApache-2.0
Draftanthropics/claude-for-legal9.6k3 repos~2.4kAutomated safety check: PassApache-2.0
Policy Draftinganthropics/claude-for-legal9.6k2 repos~1.4kAutomated safety check: PassApache-2.0
Blog Post Draftingluongnv89/claude-howto42k—~2.1kAutomated safety check: PassMIT
Groupsparcadei/Continuous-Claude-v33.9k1 repos~956Automated safety check: NotesMIT
Blog Post Drafting Workflowluongnv89/claude-howto42k—~2.2kAutomated safety check: PassMIT

Similar skills

  • Draft

    anthropics/claude-for-legal

    Official

    First draft of a common clinic document — practice-area templates (asylum applications, eviction answers, protective order petitions, demand letters), jurisdiction-aware formatting, explicitly a…

    9.6k GitHub starsUsed in 3 repos~2.4k tokens
    Legal & ComplianceAuto-check passed
  • Policy Drafting

    anthropics/claude-for-legal

    Official

    Draft an employment policy with state supplements where law differs across the jurisdictional footprint.

    9.6k GitHub starsUsed in 2 repos~1.4k tokens
    Legal & ComplianceAuto-check passed
  • Blog Post Drafting

    luongnv89/claude-howto

    Guides drafting a blog post from an idea and optional source material: research, brainstorming, outlining and version-tracked drafts, with user approval at each step.

    42k GitHub stars~2.1k tokensUpdated 7 days ago
    Writing & ContentAuto-check passed
  • Groups

    parcadei/Continuous-Claude-v3

    Problem-solving strategies for groups in abstract algebra. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 1 repo~956 tokens
    Research & ScienceAuto-check: notes
  • Blog Post Drafting Workflow

    luongnv89/claude-howto

    Guides a blog post from idea to finished draft: project folder, source research, brainstorming, outline, then iterative drafting, with your approval at set points.

    42k GitHub stars~2.2k tokensUpdated 7 days ago
    Writing & ContentAuto-check passed
  • Builds a reviewable changelog draft from the PRs merged between two release cuts, with contributor attribution and Markdown and JSON outputs.

    65k GitHub starsUsed in 1 repo~3.1k tokens
    DevelopmentAuto-check passed

More from gridaco/grida

All 29 skills in this repo
  • Desktop

    gridaco/grida

    Grida Desktop Electron shell and release-impact work: BrowserWindow, preload, window.grida, menus, protocol/deep links, file associations, Forge, path-scoped bridge security, Electron-only UI bugs…

    2.7k GitHub stars~3.2k tokensUpdated yesterday
    Auto-check: notes
  • Io Figma

    gridaco/grida

    Guides work on the Figma I/O package (@grida/io-figma, packages/grida-canvas-io-figma/).

    2.7k GitHub stars~2.2k tokensUpdated yesterday
    Auto-check: notes
  • Opt Library

    gridaco/grida

    Set up, download, verify, and seed the optional Grida Library developer corpus into local Supabase.

    2.7k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Vision

    gridaco/grida

    Query images with a local Ollama vision model without loading the image into the main agent context.

    2.7k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • AI Models

    gridaco/grida

    Research, compare, and update shared AI model JSON for TypeScript, web, and Rust consumers.

    2.7k GitHub stars~5.7k tokensUpdated yesterday
    Auto-check passed
  • Agent System

    gridaco/grida

    Grida AI agent system work: @grida/daemon (DaemonServer, loopback HTTP perimeter, files/workspaces, secrets store, daemon discovery) and @grida/agent (the agent tenant: sessions, providers/BYOK…

    2.7k GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed

Questions about Docs Wg

What does Docs Wg do?

Doctrine for drafting and keeping working-group docs under docs/wg/ — RFC/RFD specs and findings/research/glossary. Docs Wg is an agent skill from gridaco/grida. Doctrine for drafting and keeping working-group docs under docs/wg/ — RFC/RFD specs and findings/research/glossary.

When should I use Docs Wg?

Docs Wg fits situations like: editing anything under docs/wg/; research findings — including write up the design; document the spec; capture what we learned.

How do I install Docs Wg in Claude Code?

Run `npx skills add gridaco/grida --skill docs-wg -a claude-code`. Or copy the skill folder (.agents/skills/docs-wg in gridaco/grida) into .claude/skills/docs-wg in your project. Claude Code loads it when a task matches its description.

How do I install Docs Wg in Codex?

Run `npx skills add gridaco/grida --skill docs-wg -a codex`. Or copy the skill folder (.agents/skills/docs-wg in gridaco/grida) into .agents/skills/docs-wg in your project. Codex loads it when a task matches its description.

Can I use Docs Wg in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gridaco/grida --skill docs-wg -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-wg, .gemini/skills/docs-wg, .github/skills/docs-wg and .opencode/skills/docs-wg in your project.

What does Docs Wg need to run?

SKILL.md names no scripts, command-line tools or credentials: Docs Wg is instructions for the agent only.

Does Docs Wg access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Docs Wg safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Docs Wg use?

Docs Wg is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Docs Wg use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Docs Wg?

Skills that share tags, products or a category with Docs Wg: Draft (anthropics/claude-for-legal, 9.6k stars), Policy Drafting (anthropics/claude-for-legal, 9.6k stars), Blog Post Drafting (luongnv89/claude-howto, 42k stars) and Groups (parcadei/Continuous-Claude-v3, 3.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs Wg?

gridaco (a GitHub organization) maintains it in gridaco/grida, which has 2,657 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 6, 2026.

Source: gridaco/grida on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.