agentleFS
RLinfRLinf/RPent/.agents/skills/docs/SKILL.md

docs

Skill1.8k starsChanged 7 days agoApache-2.0View on GitHub

RPent documentation in docs/source-en, docs/source-zh, README.md, README.zh-CN.md, CONTRIBUTING.md, and CONTRIBUTING_zh.md: write, edit, or check a page in English and Chinese. Holds RPent's writing rules split by page type (simulator, guide, development, index, readme) and by language, common mistakes, templates, and the automated check for Sphinx EN/ZH builds, CJK inline markup, code-font symbols, EN/ZH parity, and writing style. Use before creating or editing any docs page, README, or user/model-facing prose, and to check docs.

184 other projects use a version of this, 1 of them edited.

Trending

Less talk lately.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 4 mentionsOct 2026: 2 mentionsNov 2026: 1 mentionDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the RLinf/RPent repository that our weekly crawl found: only 8 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about RLinf/RPent

The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 8

Talked about on GitHub (8 times).

On GitHub · 8

3 more on GitHub

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

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 145 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Write docs/source-en/rst_source/simulators/<name>.rst and the matching path under docs/source-zh/ from templates/simulator.rst and …

    line 30
  2. Distinctive:

    Keep existing leaderboard entries, reproduction conditions, and coming-soon placeholders intact unless explicitly asked to change them.

    line 32

“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

RPent's documentation rules live in rules/ (indexed from docs/STYLE_GUIDE.md), split so a writer reads only what the page in hand needs: the rules for every page, the rules for its type, and the rules for each language. This skill says what to read, how to write a page, and how to check it.

Write

  1. Classify the page by where it lives (rules/base.md has the table), and open a current page of the same type in the same section, or its template in templates/.
  2. Read rules/base.md, the file for the page type, rules/english.md and rules/chinese.md for the languages you write, and rules/glossary.md for terms.
  3. Check the facts the page will state against the code (rpent/, robots/, pyproject.toml): every command, CLI flag, config key, install extra, default, path, and success criterion.
  4. Plan the page: its type, its reader, the result the reader reaches, and one line per section saying what it answers.
  5. Write the English and the Chinese page from the plan, each in its own language. Write the Chinese natively from the plan rather than translating English sentences one by one.
  6. Place the page in the matching :hidden: toctree in docs/source-en/index.rst and docs/source-zh/index.rst, plus any directory routing table without adding a duplicate toctree (rules/index.md). When moving or renaming a page, add the old-to-new redirect to both conf.py files. Add a README highlight for a major user-visible feature (rules/readme.md).
  7. Go through rules/mistakes.md.
  8. Run a simplicity and language pass. Give a fresh agent, which has seen nothing else, only the changed pages, rules/base.md, and the language file for each. Ask it first to cut anything the reader does not need for the main path (long-winded explanations, redundant paragraphs, repeated facts, defensive caveats, internal code citations, complex shell glue, and repeated negative-contrast framing such as "this is not A, not B, but C"), and then to rewrite any remaining sentence that reads as translated, padded, or built on code names. Apply the cuts and rewrites that hold.
  9. Run the check below and fix what it reports.

A simulator guide

  • Write docs/source-en/rst_source/simulators/<name>.rst and the matching path under docs/source-zh/ from templates/simulator.rst and templates/simulator.zh.rst, following rules/simulator.md.
  • Register the page in the matching :hidden: toctree in docs/source-en/index.rst and docs/source-zh/index.rst, add a row in simulators/index.rst in both languages (without adding another toctree), and add the feature to README.md and README.zh-CN.md (rules/readme.md).
  • Keep existing leaderboard entries, reproduction conditions, and coming-soon placeholders intact unless explicitly asked to change them.

Check

python3 .agents/skills/docs/check.py              # docs changed against main
python3 .agents/skills/docs/check.py FILE ...     # specific pages
python3 .agents/skills/docs/check.py --no-build   # skip the Sphinx build while iterating

Page findings count only on the lines the change adds, because older pages may predate current rules; --all-lines reports every line of the selected pages. The build always covers both trees (docs/source-en and docs/source-zh) using docs/requirements.txt ($DOCS_VENV, <repo>/.docs-venv, or the active Python when Sphinx and extensions are already installed). Findings use the shared format of ../README.md:

RuleSeverityReports
docs/buildcriticala Sphinx warning in either language; both Read the Docs projects build with fail_on_warning: true, independently (reference.md)
docs/markupcritical or majorinline markup next to CJK text that breaks the build (critical) or silently mis-renders (major) (reference.md)
docs/symbolmajora name in code font, on a Concepts & Development page, that nothing in the repository defines
docs/code-namemajorinternal rpent/, robots/, or toolkits/ classes, functions, Sphinx API roles, or source paths on a simulator, toolkit, or user guide page
docs/structuremajora new simulator page missing required sections (Overview, Tasks, Observation and Action, Installation [and Resources], Run a Task, View Results)
docs/rtd-linkmajora hardcoded rpent.readthedocs.io link inside docs/ instead of :doc: or :ref:
docs/paritymajor or minora page without its counterpart, or toctrees that differ (major); a page, README, or CONTRIBUTING changed while its counterpart did not (minor)
docs/headingminora code identifier in a heading outside Development and CLI reference
docs/en-styleminora filler or hype word/phrase that rules/english.md cuts
docs/zh-styleminor您, 「」, 值得注意的是, 进行, 当……时, 不是/并非……而是……, half-width punctuation in a Chinese sentence, or missing spaces around English/digits (rules/chinese.md)
docs/zh-hard-wrapminorunescaped hard-wrapped Chinese prose inside a paragraph or list item, which renders as a visible space

Then read every changed page in full, in both languages, as a reader new to RPent who has not seen its code, and inspect every command block:

  • The checklist in the page type's rules file holds.
  • Readability and conciseness: apply rules/base.md. Flag stiff prose, machine-translated or clause-by-clause Chinese, long-winded explanations, internal code citations or developer internals leaking into user pages / duplicating development/, repeated negative-contrast framing, and pages bloatier than a clean main sibling.
  • Code examples: snippets and commands are complete, copyable, and runnable as written — no placeholder domains (example.com), fictional flags/paths, or unframed pseudo-code mixed into runnable steps (illustrative sketches on development/ are labeled as such).
  • Commands and sibling alignment: one clean copyable main path; commands match actual CLI flags, install extras, and defaults; simulator guides distinguish planner finish from native terminated.
  • Cross-references: links inside docs/ use :doc: / :ref: (no hardcoded rpent.readthedocs.io URLs), related guides link instead of duplicating shared setup or CLI tables, and moved/renamed pages have redirects in both conf.py files.
  • Docs ↔ code accuracy: every command, flag, env var, install extra, path, and capability claim matches main plus the change; public additions, renames, or removals update all affected EN/ZH pages and prompts/docstrings.
  • Parity, assets, and README: paired EN/ZH pages agree on sections, commands, keys, claims, and numbers; media URLs return HTTP 200 directly (reference.md § Asset and media references); noteworthy features get a README highlight (rules/readme.md).
  • None of the mistakes in rules/mistakes.md remains.

Report each changed page with its type and result (pass or findings). Rate a page major when it fails any bullet above as a whole — for example, whole-page machine-translated or literal Chinese, developer internals leaking into a user guide or duplicating development/, non-runnable placeholder examples (such as example.com), missing prerequisites or broken main-path commands, or EN/ZH content drift. Rate isolated wording or phrasing tweaks minor. Quote the line, name the rule, and give the rewrite.

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.