agentleFS
baseballyamabaseballyama/rsvelte/.claude/skills/docs/SKILL.md

docs

Skill300 starsChanged 6 days agoMITView on GitHub

Write or edit text that people read - the site and the repository's English Markdown (README, AGENTS.md, skills). Makes each page as easy to read and as short as it can be, then checks it with textlint and a fresh reader. Use for "write the docs", "make this clearer", "rewrite this page", "/docs".

184 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use genie-hacks, workfly and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • automagik-devSkill

    genie-hacks

    Browse, search, and contribute community hacks — real-world patterns for provider switching, teams, skills, hooks, cost optimization, and more.

    Also in 3 projects that use this

  • automagik-devSkill

    workfly

    Discover a procedure and build its saved workflow — dynamic discovery, drafted script, adversarial verification, landed in the catalog.

    Also in 3 projects that use this

  • amirbironSkill

    import-memory

    Import a memory export from another AI assistant into Claude's memory — conversationally, additively, and with the content treated as data.

    Also in 4 projects that use this

  • thechandanbhagatSkill

    sql

    Write SQL queries, optimize database performance, design schemas, and debug SQL issues. Use for database operations, query optimization, and schema design.

    Also in 5 projects that use this

  • and-lzSkill

    web-frontend

    ALWAYS use for ANY web frontend, React, Next.js, Tailwind CSS, or modern CSS request — non-negotiable. Triggers on React, Next.js, App Router, RSC, Server Components, Server Actions, use(), useOptimistic, useFormStatus, useActionState, Suspense, Tailwind CSS, @theme, @variant, container queries, :has(), subgrid, view transitions, scroll-driven animations, color-mix(), oklch, CSS layers, CSS nesting, anchor positioning, TypeScript, Core Web Vitals, LCP, CLS, INP, Lighthouse, bundle optimization, image optimization, next/image, next/font, Vitest, Playwright, Testing Library, WCAG, ARIA, semantic HTML, keyboard navigation, screen reader, React 19, Next.js 15, Tailwind v4, middleware, ISR, streaming, RSC payload, Zustand, React Query, TanStack, Zod, React Hook Form, Radix, shadcn/ui, Framer Motion, CSS modules, PostCSS, responsive design, mobile-first, dark mode, color scheme, design tokens, i18n, next-intl, route groups, parallel routes, intercepting routes, generateMetadata, opengraph-image, sitemap, robots, edge runtime, turbopack, Vercel, Netlify, Cloudflare Pages, SSR, SSG, ISR, PPR, partial prerendering. Also triggers on "my app/page/component", "build/design a page", navigation, sidebar, modal, toast, data table, form, dashboard, landing page, auth flow, checkout, blog, portfolio, e-commerce, SaaS, dark mode toggle, theme switcher, infinite scroll, virtualized list, drag and drop, command palette, breadcrumbs, tabs, accordion, carousel, skeleton loading, error boundary, loading.tsx, error.tsx, not-found.tsx, layout.tsx, page.tsx, .tsx files, .css files, tailwind.config, next.config, postcss.config, tsconfig. If it touches web frontend USE THIS SKILL. Covers components, layout, typography, color, animation, accessibility, i18n, engineering, architecture, state management, data fetching, caching, Next.js routing, RSC, Server Actions, middleware, performance, Core Web Vitals, forms, validation, testing, auth, security, and modern CSS. Enforces requirements-gathering via structured questions before any code generation.

    Also in 4 projects that use this

  • MicrosoftSkill

    perf

    Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-delivery.

    Also in 5 projects that use this

  • +4 more from automagik-dev

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 145 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the code the page describes.

    line 15
  2. Distinctive:

    Keep implemented behavior, plans and measured results apart.

    line 16
  3. Distinctive:

    Use the active voice and positive statements.

    line 23
  4. Distinctive:

    Use a numbered list for steps, a table to compare, and a code block for anything to type.

    line 24
  5. Very specific:

    Use well-known acronyms (acronyms in tools/writing/words.ts) as they are.

    line 27
  6. Very specific:

    Write a code name as code (SourceLocation), and explain it once, at its first use.

    line 29
  7. Very specific:

    Prefer the short word: use, not utilize.

    line 37
  8. Very specific:

    Read .claude/skills/humanizer/SKILL.md and apply it.

    line 41
  9. Very specific:

    Run the checks for the files you changed, and fix the text until they pass.

    line 50
  10. Very specific:

    Add a word to tools/writing/words.ts only for a real technical term.

    line 52

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

The goal is a page that a frontend engineer understands on the first read. Cut every word that does not help the reader, and keep every fact.

1. Before writing

  • Name the reader and the one question the page answers. Put the answer first.
  • Read the code the page describes. Never write a fact, number, name or link you did not check. Keep implemented behavior, plans and measured results apart.
  • One page answers one question. Move side topics to the page that owns them, and link to it.

2. Writing rules

  • One sentence, one idea. The subject and its verb stay close together.
  • Say what something does before you name it. Define a term at its first use on the page.
  • Use the active voice and positive statements. Name the input, the operation and the result.
  • Use a numbered list for steps, a table to compare, and a code block for anything to type. Show one real example and follow it far enough to see the result.
  • Say each thing once. Do not announce what the page covers, and do not repeat it at the end.
  • Use well-known acronyms (acronyms in tools/writing/words.ts) as they are. Spell out any other acronym, and do not shorten names in prose.
  • Write a code name as code (SourceLocation), and explain it once, at its first use. Do not replace it with a long description in running text: the reader cannot match it to the code.
  • Give one thing one name on the whole site. Pick it, and use it everywhere.
  • A commit hash in prose needs a reason to be there. Say what the commit did: "the change that fixed the boundary (commit 573ac584b6)". Leave it out when the sentence does not depend on it.
  • Readers open one page at a time. Explain a term from another page in one short phrase, or link to it, at its first use on this page.
  • Plain American English, present tense, second person for instructions ("Run ...").
  • Prefer the short word: use, not utilize; about, not approximately.

3. Remove AI writing patterns

Read .claude/skills/humanizer/SKILL.md and apply it. Look for these in particular:

  • A contrast that only adds weight: "not X, but Y"
  • Groups of three written by habit, and a closing line that repeats the point.
  • Inflated words: crucial, powerful, seamless
  • A bold label on every item.

4. Check

Run the checks for the files you changed, and fix the text until they pass. To silence a finding about your own prose, rewrite the sentence. Do not add an exception or a baseline. Add a word to tools/writing/words.ts only for a real technical term.

pnpm --dir apps/site run lint:prose        # the site's text
pnpm --dir apps/site run lint:code-names
pnpm --filter @rsvelte-experimental/writing run writing [file ...] # English Markdown

A clean lint does not make the text right. Read the page in the browser once, and check every code example and link.

5. Test with a fresh reader

Give a subagent with no context only the finished text (not the code, not your intent), and ask it:

  1. In one sentence each: what does this page tell you, and what can you do after reading it?
  2. Which sentence did you have to read twice, and why?
  3. Which word did you not know at the point where it appeared?
  4. Which sentence could you delete without losing a fact?

Fix every answer that shows a misreading or a gap, then ask a new subagent again. Stop when two readers in a row find nothing to fix.

Sources

The rules above come from three public skills, checked in November 2026:

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.