Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Cyfrin Verified Orgv1.0.0In 1 marketplace
Builds and maintains Next.js documentation sites on the Cyfrin docs template, with prev/next navigation, a page actions menu and a broken link checker. Its llms.txt and search index are generated by prebuild scripts.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
docs-site, mdx, documentation-site, broken-link-checker, llms-txt, diataxis, github-actions
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Shared instructions and Claude Skill for documentation sites. Gives AI agents consistent guidance across all docs repos.
Install the Cyfrin marketplace, then the claude-docs-prompts skill.
# Open a claude code terminal, and in the claude prompt run:
/plugin marketplace add Cyfrin/claude-docs-prompts
/plugin install claude-docs-prompts@Cyfrin/claude-docs-prompts
# Press Ctrl+C then run claude again. Or type /exit to quit first.
/exit
claude --continue
Build the PrevNextNav component using config/docs.json
Add the PageActions dropdown to docs pages
Set up the broken link checker script
Generate llms.txt and search index
config/docs.jsonscripts/check-links.ts + GitHub Actionscripts/build-llms-txt.ts as prebuildscripts/build-search-index.ts as prebuild'use client', lucide-react, pinned actionsThe original installation method downloads a CLAUDE.md template directly into your repo root via curl.
curl -fsSL https://raw.githubusercontent.com/Cyfrin/claude-docs-prompts/main/install.sh | bash
This does two things:
CLAUDE.md into your repo root (updates the template portion, preserves your customizations).docs-config.json if it doesn't exist — prompts you for repo-specific valuesPin to a specific version:
curl -fsSL https://raw.githubusercontent.com/Cyfrin/claude-docs-prompts/main/install.sh | bash -s v1.0.0
Add this to your package.json:
{
"scripts": {
"update-claude": "curl -fsSL https://raw.githubusercontent.com/Cyfrin/claude-docs-prompts/main/install.sh | bash"
}
}
Then run pnpm update-claude whenever you want the latest template.
Add .github/workflows/update-claude-md.yml to auto-update weekly and open a PR:
name: Update CLAUDE.md
on:
schedule:
- cron: "0 9 * * 1" # Every Monday at 9am UTC
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@<sha> # pin to latest
with:
persist-credentials: false
- name: Update CLAUDE.md
run: curl -fsSL https://raw.githubusercontent.com/Cyfrin/claude-docs-prompts/main/install.sh | bash
- name: Create PR if changed
uses: peter-evans/create-pull-request@<sha> # pin to latest
with:
commit-message: "Update CLAUDE.md from claude-docs-prompts"
title: "Update CLAUDE.md template"
branch: update-claude-md
delete-branch: true
Re-run the install command directly. It updates the template section of CLAUDE.md while preserving your local customizations, and leaves .docs-config.json untouched.
The legacy install script creates a .docs-config.json in your repo:
{
"github_repo": "Cyfrin/docs-main",
"github_branch": "main",
"production_url": "https://docs.cyfrin.io",
"site_title": "Cyfrin Docs",
"site_description": "Documentation for Cyfrin"
}
| Field | Required | Default |
|---|---|---|
github_repo | Yes | Inferred from git remote |
github_branch | No | main |
production_url | Yes | — |
site_title | No | Inferred from package.json name |
site_description | No | — |
Commit this file to version control. It is never overwritten on update.
The CLAUDE.md has a marker line near the bottom:
<!-- LOCAL CUSTOMIZATIONS — everything below this line is preserved on update -->
Add any repo-specific agent instructions below this marker. When you re-run the install script, everything above the marker gets updated to the latest template, and everything below it is preserved.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub cyfrin/claude-docs-prompts --plugin claude-docs-promptsPlugins from other owners that cover similar ground