Token导航 LogoToken导航

Agent Skill · 前端设计

setup-docs(设置文档)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

setup-docs 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 8,861。

总安装 256周安装 11GitHub Stars 5下载 90核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:setup-docs(设置文档)
来源仓库:https://github.com/generaljerel/chalk-skills
仓库路径:skills/setup-docs
安装命令:
npx skills add https://github.com/generaljerel/chalk-skills --skill setup-docs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/generaljerel/chalk-skills --skill setup-docs

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于辅助文档、README 和 Markdown 内容整理。适合提炼结构、补齐章节、统一术语或检查链接。通过 npx skills add 命令从 generaljerel/chalk-skills 仓库安装。使用时应保留项目已有事实,避免将未确认信息写成确定结论。

setup-docs 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/setup-docs

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/generaljerel/chalk-skills --skill setup-docs;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

setup-docs 怎么安装?

在终端执行 npx skills add https://github.com/generaljerel/chalk-skills --skill setup-docs。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

setup-docs 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

setup-docs 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

setup-docs 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

setup-docs 用的人多吗?

公开数据是累计安装 256 次,近一周安装 11 次,下载 90 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

setup-docs 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
setup-docs

设置文档 · 本页

2565操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

One-shot bootstrap that deeply analyzes the codebase and populates all .chalk/docs/ PROFILE stubs with real, project-specific content. Also enriches chalk.json with any fields that setup-chalk couldn't auto-detect.

When to Use

  • After running /setup-chalk or npx create-chalk to generate stub docs
  • When PROFILE docs contain <!-- STUB --> markers or placeholder content
  • When chalk.json has missing fields (routes, sourceLayout, etc.)
  • To refresh docs after significant codebase changes

Workflow

Step 1: Read existing state

  1. Read chalk.json — Check which fields are populated vs missing. Note any that need enrichment (especially routes, sourceLayout, dev).
  2. Read each PROFILE doc — Skip any that are already populated (no <!-- STUB --> comment and more than 20 lines of real content). Note which verticals need work.
  3. Read the codebase — package.json, README.md, src/ directory structure, config files, and any existing docs.

Step 2: Enrich chalk.json

Fill any missing fields by deep analysis:

  • routes — If empty, scan the codebase:

- File-based routing: glob for app/**/page.{tsx,jsx} or pages/**/*.{tsx,vue} - React Router: grep for <Route path= or createBrowserRouter - Vue/Angular: grep router configs - Express/API: grep for app.get(, router. - For each route found, identify the source file/directory

  • sourceLayout — If empty, scan for standard directories (src/, app/, lib/, components/, pages/, tests/)
  • dev — If missing port/url, check vite.config, next.config, or framework defaults
  • test — If missing, check for jest.config, vitest.config, pytest.ini, or test scripts in package.json

Write the updated chalk.json with any new fields.

Step 3: Populate Product Profile (.chalk/docs/product/PROFILE.md)

Deep analysis to populate:

  • Summary: product name, one-liner, primary users, core JTBD, value prop
  • Problem: what pain this solves (infer from README, package.json description)
  • Target Users: table (Persona, Job, How This Helps)
  • Core Jobs To Be Done: numbered list (infer from features, routes, UI patterns)
  • Current Status: table of features (Feature, Status, Notes)
  • What It Is / What It Is Not: clarify scope

Step 4: Populate Engineering Profile (.chalk/docs/engineering/PROFILE.md)

Deep analysis to populate:

  • Architecture: process model diagram, execution contexts table, boot sequence
  • Directory Structure: annotated tree with purpose per directory
  • Data Flow: state management, API/IPC boundaries, storage layer
  • Tech Stack: full dependency tables (runtime + dev/build), grouped by category
  • Key Patterns: design patterns, error handling, testing approach

This is a single comprehensive doc — do NOT create separate architecture or techstack files.

Step 5: Populate Coding Style (.chalk/docs/engineering/coding-style.md)

Analyze 5+ representative files across different layers to document:

  • File/folder naming conventions with real examples
  • Component/module structure with a full code example from the codebase
  • Naming conventions (variables, functions, types, files)
  • Import ordering with a real example
  • Export patterns
  • TypeScript/language-specific patterns
  • Styling approach
  • Error handling patterns

Step 6: Populate AI Profile (.chalk/docs/ai/PROFILE.md)

Create the agent orientation doc:

  • Project Identity: 1 paragraph summary
  • Where Things Live: table (What, Where, Notes) — map every major concern to its file/directory
  • Conventions to Follow: top 5-10 rules for writing code in this project
  • Gotchas: numbered list of things that will surprise an agent
  • How to Add a Feature: step-by-step guide based on codebase patterns

Step 7: Populate Design Profile (.chalk/docs/design/PROFILE.md)

Extract visual language:

  • Color Palette: scan CSS files, Tailwind config, and components for hex codes and Tailwind classes. Organize into Primary, Neutral, and Semantic tables.
  • Typography: font families, size scale, weight scale from CSS/config
  • Spacing: recurring padding/margin values
  • Borders & Shadows: border widths, radius, shadow definitions
  • Icons: icon library and common icons used
  • Component Patterns: common UI patterns (buttons, cards, panels)

Step 8: Update AGENTS.md

If AGENTS.md exists, enrich with project-specific pointers to the populated docs and critical conventions. If it doesn't exist, create a minimal one pointing to .chalk/docs/.

Step 9: Confirm

List what was populated, what was skipped, and any remaining gaps. Suggest next steps (e.g., "Design profile has placeholder content — run /update-doc design/PROFILE.md to refine").

Rules

  • Write substantive content, not stubs — Every section should have real information from the codebase analysis.
  • Remove <!-- STUB --> markers — When populating a doc, remove the stub comment.
  • Preserve existing content — If a doc already has real content in some sections, enhance rather than overwrite.
  • Use the vertical's tone — Product docs are business-facing. Engineering docs are technical. AI docs are agent-facing reference.
  • Include the "Last updated" line — Format: Last updated: YYYY-MM-DD (populated from codebase analysis).
  • chalk.json is authoritative — If chalk.json disagrees with a PROFILE doc, chalk.json wins. Update the doc to match.
  • Real examples over abstractions — Always use actual code, file paths, and values from the codebase.

Differences from related skills

  • /setup-chalk creates the .chalk/ scaffold with stubs — run it first
  • /setup-docs populates those stubs with real content — run it second
  • /create-doc creates a single new doc for a specific topic on demand
  • /update-doc updates an existing doc with new information
  • /validate-chalk checks if chalk.json and docs are complete and correct

平台分布

Codex

38.25%
按下载量换算34

Claude

30.17%
按下载量换算27

Cursor

17.01%
按下载量换算15

Gemini CLI

9.38%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills