Rspress Description Generator
Generates missing frontmatter descriptions for Rspress docs pages, including new pages and site-wide SEO updates.
- CCM score
- 62 of 100
- skills.sh installs
- 546
- GitHub stars
- 101
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers locating the docs root from
rspress.config.*, detecting i18n language directories, and scanning.mdand.mdxfiles - Skips existing descriptions,
_meta.json,_nav.json, and**/shared/**snippets, deriving home-page text from hero fields - Enforces 50 to 160 characters, plain text, matching content language, and no filler openers like "This page"
- Designed for Rspress sites where search snippets, social previews, and llms.txt metadata need complete description coverage
Install
$ npx -y skills add rstackjs/agent-skills --skill rspress-description-generator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Rspress description generator
The description field in Rspress frontmatter generates <meta name="description" content="..."> tags, which are used for search engine snippets, social media previews, and AI-oriented formats like llms.txt.
Step 1 — locate the docs root
- Find the Rspress config file. Search for
rspress.config.ts,.js,.mjs, or.cjs. It may be at the project root or inside a subdirectory likewebsite/. - Read the config and extract the
rootoption.- The value might be a plain string (
root: 'docs') or a JS expression (root: path.join(__dirname, 'docs')). In either case, determine the resolved directory path. - If
rootis set, resolve it relative to the config file's directory. - If
rootis not set, default todocsrelative to the config file's directory.
- The value might be a plain string (
- Confirm the directory exists. If neither
docsnor the configured root exists, check fordocas a fallback.
Step 2 — detect i18n structure
Rspress i18n projects place language subdirectories (e.g., en/, zh/) directly under the docs root:
docs/
├── en/
│ ├── guide/
│ └── index.md
└── zh/
├── guide/
└── index.md
Details
- Repository
- github.com/rstackjs/agent-skills
- Category
- Technical Documentation
- First seen
- Jun 3, 2026
More from rstackjs/agent-skills
All 12Similar to Rspress Description Generator
More Technical Documentationmeta-descriptionSkillkostja94/marketing-skills1.4K installsAccurate, page-specific meta descriptions with concise length, grounded in body content and intent.
content-brief-generatorSkilljamesrochabrun/skills208 installsComprehensive content brief templates covering blog, documentation, landing page, and case study formats.
documentation-generatorPlugindavila7/claude-code-templates24.2K starsAutomated documentation generation with API docs, technical writing, and content management
shopify-contentSkilljezweb/claude-skills1.3K installsCreate and manage Shopify pages, blog posts, redirects, and SEO metadata via the Admin API or browser.
url-slug-generatorSkillkostja94/marketing-skills1.2K installsCreates and audits SEO-friendly URL slugs, keeping them short, lowercase, hyphenated, and under 60 characters.