Agent skill

Writing Docs

by c15t in c15t/c15t

Author or edit c15t documentation in docs//.mdx — the source for both the c15t.com site and the docs bundled into published packages.

Apache-2.0Auto-check passedAgent Workflows

Install Writing Docs

skills CLI
$ npx skills add c15t/c15t --skill writing-docs -a claude-code

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

GitHub CLI
$ gh skill install c15t/c15t writing-docs --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/c15t/c15t.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/writing-docs .claude/skills/writing-docs && 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
writing-docs
GitHub stars
1.9k
Token cost
~872 tokens
SKILL.md length
360 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

Author or edit c15t documentation in docs//.mdx — the source for both the c15t.com site and the docs bundled into published packages.

  • Works in 2 steps: c15t.com — the docs site app is private… → Package-bundled docs —…
  • Integration pages
  • SKILL.md covers Where content lives, MDX rules, Style and Verify
  • Calls bun

What it does

Writing Docs is an agent skill from c15t/c15t. Author or edit c15t documentation in docs//.mdx — the source for both the c15t.com site and the docs bundled into published packages. Use when writing guides, integration pages, reference docs, changing package-bundled docs (packages//docs, packages//AGENTS.md), or fixing docs lint failures.

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

It sits in Agent Workflows, covering Markdown, Linting and formatting and Agent instruction files. It works with React and Next.js. The repository describes itself as: The Developer-First Cookie Banner. The licence is Apache-2.0.

When your agent uses it

  • Integration pages
  • Changing package-bundled docs (packages//docs
  • Packages//AGENTS.md)
  • Fixing docs lint failures

Example prompts

  • “/writing-docs”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. c15t.com — the docs site app is private and maintainer-only. External contributors only edit MDX and preview via the PR docs-preview action.
  2. Package-bundled docs — scripts/generate-package-docs.ts compiles subsets of docs/ into a docs/ folder and AGENTS.md for six packages…

What it can do on your machine

Read from SKILL.md and the folder at commit f2b2318. 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

    Shell commands in SKILL.md call:

    • bun

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

  • Network

    No URLs in SKILL.md.

    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

Writing Docs loads about 872 tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 360 words of instructions outside code blocks.

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

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 c15t/c15t at commit f2b2318, republished under its Apache-2.0 licence (© c15t). 360 words, ~872 tokens.

Download SKILL.mdSave it as .claude/skills/writing-docs/SKILL.md (or your agent's skills folder).
name
writing-docs
description
Author or edit c15t documentation in docs/**/*.mdx — the source for both the c15t.com site and the docs bundled into published packages. Use when writing guides, integration pages, reference docs, changing package-bundled docs (packages/*/docs, packages/*/AGENTS.md), or fixing docs lint failures.

Writing c15t Docs

docs/ is the single source of truth for two outputs:

  1. c15t.com — the docs site app is private and maintainer-only. External contributors only edit MDX and preview via the PR docs-preview action.
  2. Package-bundled docs — scripts/generate-package-docs.ts compiles subsets of docs/ into a docs/ folder and AGENTS.md for six packages (c15t, @c15t/react, @c15t/nextjs, @c15t/backend, @c15t/scripts, @c15t/cli), which ship in their npm tarballs.

Never edit packages/*/docs/** or packages/*/AGENTS.md directly — they are generated. Edit the MDX source, then regenerate with bun run generate:package-docs (or bun run --cwd packages/<pkg> build:docs).

The docs pipeline (generation, docs/docs.config.ts, MDX components, lint schema) is built on leadtype — use the leadtype skill for its components, config, conversion, and lint APIs rather than guessing.

Where content lives

DirectoryFeeds
docs/frameworks/{javascript,react,next,...}/Framework quickstarts and guides; javascript→c15t, react→@c15t/react, next→@c15t/nextjs bundled docs
docs/shared/Content reused across frameworks; bundled into core/react/nextjs
docs/integrations/GTM, GA4, PostHog, Meta Pixel, etc.; bundled into core/react/nextjs/scripts
docs/self-host/Bundled into @c15t/backend
docs/cli/Bundled into @c15t/cli
docs/oss/, docs/contributing/, docs/legals/, docs/comparisons/Site only

Navigation, groups, and page ordering are defined in docs/docs.config.ts. New pages usually need an entry there (see the leadtype skill for the config schema).

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

MDX rules

  • Frontmatter is required: title and description. The description doubles as the intro paragraph.
  • Never start with an H1 — the frontmatter title renders as the page H1. Begin content at ## and nest properly (H2 → H3 → H4).
  • Use <Callout> for warnings/notes and <PackageCommandTabs command="..." /> / package-install code blocks for install commands so all package managers render.
  • Fenced code blocks always carry a language identifier.
  • Lists use - bullets (remark enforces consistency).

Style

  • Simple, direct, active voice; second person ("you"). Define jargon and acronyms on first use, then stay consistent (don't mix "endpoint" and "route").
  • Show working code before explaining it. Every key concept gets a runnable snippet.
  • Match the document type: tutorials are sequential and confirm success at each step ("You should now see…"); how-to guides are numbered steps that assume the basics; reference pages are exhaustive, scannable, and neutral; explanations discuss trade-offs and may be opinionated ("We recommend X because…").
  • Be honest about limitations ("works well for small datasets, but…").

Verify

bash
bun run lint:docs   # remark lint (MDX + frontmatter + consistency)
bun run fmt:docs    # remark autoformat
bun run generate:package-docs   # refresh packages/*/docs and AGENTS.md if your pages are bundled

CI's autofix workflow also runs fmt:docs and commits fixes to your branch.

© c15t, 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/writing-docs of c15t/c15t.

Open the folder on GitHubat commit f2b2318

Compare with similar skills

Writing Docs 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.

Writing Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Writing Docs this skillc15t/c15t1.9k—~872Automated safety check: PassApache-2.0
Lint Repository Markdowncodsen/codsen214—~832Automated safety check: PassMIT
React Zmage IntegrationCaldis/react-zmage946—~370Automated safety check: PassMIT
Ultraciteagustinusnathaniel/nextarter-tailwind1252 repos~1.2kAutomated safety check: PassMIT
Create SkillPINA-org/PINA797—~1.8kAutomated safety check: PassMIT
Agent UIaiskillstore/marketplace4301 repos~883Automated safety check: NotesNone

Similar skills

  • Keep the repository's linted Markdown passing npm run lint:markdown.

    214 GitHub stars~832 tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • React Zmage Integration

    Caldis/react-zmage

    A skill your agent uses when adding the react-zmage React image viewer to an existing React, Next.js, MDX, CMS, markdown, or rich text image surface.

    946 GitHub stars~370 tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Ultracite

    agustinusnathaniel/nextarter-tailwind

    Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects.

    125 GitHub starsUsed in 2 repos~1.2k tokens
    DevelopmentAuto-check passed
  • Create Skill

    PINA-org/PINA

    Create, modify, and improve PINA skills. An agent skill from PINA-org/PINA.

    797 GitHub stars~1.8k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Agent UI

    aiskillstore/marketplace

    Batteries-included agent component for React/Next.js from ui.inference.sh.

    430 GitHub starsUsed in 1 repo~883 tokens
    Agent WorkflowsAuto-check: notes
  • Ultracite

    secondsky/claude-skills

    Ultracite multi-provider linting/formatting (Biome, ESLint, Oxlint).

    227 GitHub stars~6.5k tokensUpdated 9 days ago
    DevelopmentAuto-check passed

More from c15t/c15t

All 8 skills in this repo
  • C15t

    c15t/c15t

    Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.

    1.9k GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • Scaffold a new workspace package in the c15t monorepo. An agent skill from c15t/c15t.

    1.9k GitHub stars~913 tokensUpdated today
    Auto-check passed
  • Releasing

    c15t/c15t

    Version and release c15t packages with Changesets. An agent skill from c15t/c15t.

    1.9k GitHub stars~753 tokensUpdated today
    Auto-check passed
  • Leadtype

    c15t/c15t

    Work with the leadtype package for MDX components, remark plugins, MDX-to-markdown conversion, llms.txt generation, and docs linting.

    1.9k GitHub stars~477 tokensUpdated today
    Auto-check passed
  • Read and search the @c15t/backend documentation. An agent skill from c15t/c15t.

    1.9k GitHub stars~153 tokensUpdated today
    Auto-check passed
  • C15t Docs

    c15t/c15t

    Read and search the c15t documentation. An agent skill from c15t/c15t.

    1.9k GitHub stars~148 tokensUpdated today
    Auto-check passed

Works with

Questions about Writing Docs

What does Writing Docs do?

Author or edit c15t documentation in docs//.mdx — the source for both the c15t.com site and the docs bundled into published packages. Writing Docs is an agent skill from c15t/c15t.com site and the docs bundled into published packages.

When should I use Writing Docs?

Writing Docs fits situations like: integration pages; changing package-bundled docs (packages//docs; packages//AGENTS.md); fixing docs lint failures.

How do I install Writing Docs in Claude Code?

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

How do I install Writing Docs in Codex?

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

Can I use Writing Docs 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 c15t/c15t --skill writing-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/writing-docs, .gemini/skills/writing-docs, .github/skills/writing-docs and .opencode/skills/writing-docs in your project.

What does Writing Docs need to run?

Going by SKILL.md and its folder, Writing Docs needs the command-line tools its instructions call (bun).

Does Writing Docs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Writing Docs 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 Writing Docs use?

Writing Docs 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 Writing Docs use?

About 872 tokens (SKILL.md is roughly 3.5k 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 Writing Docs?

Skills that share tags, products or a category with Writing Docs: Lint Repository Markdown (codsen/codsen, 214 stars), React Zmage Integration (Caldis/react-zmage, 946 stars), Ultracite (agustinusnathaniel/nextarter-tailwind, 125 stars) and Create Skill (PINA-org/PINA, 797 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Writing Docs?

c15t (a GitHub organization) maintains it in c15t/c15t, which has 1,931 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 6, 2026.

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