weavejs
AGENTS.md246 starsChanged 46 days agoApache-2.0View on GitHub
Issues live in GitHub Issues (InditexTech/weavejs). See docs/agents/issue-tracker.md. Default label vocabulary (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix). See docs/agents/triage-labels.md. Single-context — one CONTEXT.md + docs/adr/ at the repo root. See docs/agents/domain.md. This repository's docs/ directory is an Antora documentation site, scaffolded by docouture new (@inditextech/docouture-cli). This file is the baseline for any coding agent (OpenCode, Claude Code, Codex, Cursor, …) working on it — house rules, commands and where to look for more. The nesting (docs/src/...) is intentional, and so is…
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- Very specific: line 9
Default label vocabulary (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix).
- Very specific: line 43
Run from the repository root (or pass --dir <path> to any of them):
- Very specific: line 56
Every page lives at docs/src/modules/<module>/pages/*.adoc and must have an xref: entry in that module's nav.adoc, or it builds but is …
- Very specific: line 61
Run docouture doctor after any structural change (renaming the component, moving antora.yml, editing package.json's name) — it's the fast …
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.md 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.
Files
Agent skills
Issue tracker
Issues live in GitHub Issues (InditexTech/weavejs). See docs/agents/issue-tracker.md.
Triage labels
Default label vocabulary (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix). See docs/agents/triage-labels.md.
Domain docs
Single-context — one CONTEXT.md + docs/adr/ at the repo root. See docs/agents/domain.md.
<!-- docouture:start - managed by docouture; edits inside this block are overwritten by `docouture new`/`docouture upgrade` -->Weave.js documentation
This repository's docs/ directory is an Antora documentation site, scaffolded by
docouture new (@inditextech/docouture-cli). This file is the baseline for any coding agent
(OpenCode, Claude Code, Codex, Cursor, …) working on it — house rules, commands and where
to look for more.
Layout
docs/
antora-playbook.yml build entry point: site title, content sources, UI bundle
antora-playbook.local.yml used by `docouture dev` and PR verification — builds HEAD only
src/
antora.yml component descriptor: name, title, version, nav
modules/
ROOT/ the home page only — no nav.adoc of its own
main/ the default content module — every other page starts here
nav.adoc the navigation tree
pages/*.adoc one page per file — these become site URLsThe nesting (docs/src/...) is intentional, and so is ROOT + main both existing from
the start — see the docouture-docs-internals skill (below).
Commands
Run from the repository root (or pass --dir <path> to any of them):
| command | does |
docouture dev [--port <port>] | build the site and serve it with live reload, rebuilding on every change |
docouture build | build the site once (npm run build under docs/) |
docouture doctor | check Node version, the four names that must agree, git history and that antora is installed |
docs/package.json also exposes npm run build/npm run dev directly if you'd rather not
go through the docouture CLI.
Conventions
- Every page lives at
docs/src/modules/<module>/pages/*.adocand must have anxref:entry in that module'snav.adoc, or it builds but is unreachable from the navigation. - A build failure on a warning is expected behaviour here, not a bug —
antora-playbook.ymlsetsruntime.log.failure_level: warn. A brokenxref:, a missing include target or an unknown attribute reference fails the build. - Run
docouture doctorafter any structural change (renaming the component, movingantora.yml, editingpackage.json'sname) — it's the fast way to catch the four names drifting out of agreement.
Skills
Docs-authoring skills are not scaffolded here — docouture new/docouture upgrade only
opinionate on the starter site and its GitHub workflows. Install them yourself, once, with:
npx skills@latest add InditexTech/docouture --all(or --skill <name> for one at a time). This installs:
docouture-getting-started— start here on a brand-new site: scaffolding (if not done yet), planning what to document, sourcing content from wherever it actually lives (existing docs, README, or the code itself). Hands off to the skills below for mechanics and content once a decision is made.docouture-documenting-changes— the re-entry point once the site exists: a feature, change, deprecation or fix landed in the repo, and the docs need to catch up. This is the one to reach for day to day, notdocouture-getting-started.docouture-authoring-guides— what to actually write on each page: purpose, section skeleton, per-section instructions, a copyable AsciiDoc starting point and a quality checklist, for every page in the standard structure plus the home page.docouture-writing-docs-pages— authoring AsciiDoc content: the language itself,xref:references,nav.adoc, admonitions, code blocks, and this site's own custom blocks ([tabs],[cards],[accordion], …).docouture-docs-internals— the playbook, the component descriptor, the four names that must agree, the home-page vs. content-page patterns, and how a site grows beyond its defaultROOT+mainmodules.docouture-docs-versioning— only relevant when this site was scaffolded with--mode versioned: cutting releases,docouture version, anddocs/.release-version.
<!-- docouture:end -->Documentation state
<!-- maintained by the docouture-documenting-changes skill — do not hand-edit structure, only content -->| doc page | derived from | status |
| index.adoc (home) | manual (hand-written) | — |
| sdk:api-reference/nodes/stroke.adoc | code/packages/sdk/src/nodes/stroke/{types,constants}.ts | updated for unreleased changes |
| sdk:api-reference/actions/brush-tool.adoc | code/packages/sdk/src/actions/brush-tool/{types,constants}.ts | updated for unreleased changes |
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository56 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- cavemanSkill
- design-an-interfaceSkill
- diagnoseSkill
- docouture-authoring-guidesSkill
- docouture-docs-internalsSkill
- docouture-docs-versioningSkill
- docouture-documenting-changesSkill
- docouture-getting-startedSkill
- docouture-writing-docs-pagesSkill
- edit-articleSkill
- git-guardrails-claude-codeSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- improve-codebase-architectureSkill
- migrate-to-shoehornSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- openspec-verify-changeSkill
- prototypeSkill
- qaSkill
- request-refactor-planSkill
- reviewSkill
- scaffold-exercisesSkill
- setup-matt-pocock-skillsSkill
- setup-pre-commitSkill
- tddSkill
- teachSkill
- to-issuesSkill
- to-prdSkill
- triageSkill
- ubiquitous-languageSkill
- write-a-skillSkill
- writing-beatsSkill
- writing-fragmentsSkill
- writing-shapeSkill
- zoom-outSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- openspec-verify-changeSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- openspec-verify-changeSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

