Token导航 LogoToken导航

Agent Skill · 前端设计

md-docs(医学博士文档)

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

md-docs 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 527。

总安装 20,071周安装 828GitHub Stars 51下载 6,558核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/paulrberg/agent-skills --skill md-docs

这个 Skill 是做什么的

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

md-docs 用于辅助文档、README 和 Markdown 内容的整理与改写。适合让 Agent 提炼结构、统一术语或检查链接,提升可读性。使用时需保留项目事实,避免将示例当作硬规则。涉及对外文案时应控制语气,避免过度营销或夸大能力。md-docs 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

md-docs 怎么安装?

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

md-docs 支持哪些 AI 工具?

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

md-docs 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

md-docs 是免费的吗?

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

md-docs 用的人多吗?

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

md-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只读未明确通过
md-docs

医学博士文档 · 本页

20,07151需要联网未明确有提醒

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

SKILL.md 原文

Markdown Documentation Management

Overview

Manage project documentation for Claude Code workflows including context files, READMEs, and agent instructions. This skill provides structured automation for maintaining accurate, up-to-date documentation that aligns with actual codebase structure and functionality. Use this skill when initializing new projects, updating existing documentation, or ensuring context files accurately reflect current code.

The skill emphasizes verification and validation over blind generation—analyze the actual codebase structure, file contents, and patterns before creating or updating documentation. All generated content should be terse, imperative, and expert-to-expert rather than verbose or tutorial-style.

Prerequisites

Before using any documentation workflow, verify basic project structure:

git rev-parse --git-dir

Ensure the output confirms you are in a git repository. If not initialized, documentation workflows may still proceed but git-specific features will be skipped.

For update workflows, verify target files exist:

ls -la CLAUDE.md AGENTS.md DOCS.md README.md CONTRIBUTING.md

Check which files are present before attempting updates. Missing files will show errors, which helps identify what needs initialization. Note that DOCS.md is optional and only relevant for projects with APIs or public interfaces. CONTRIBUTING.md is optional and only relevant if the repo already defines contribution guidance.

Update Context Files

Verify and fix AGENTS.md, and optionally DOCS.md and CONTRIBUTING.md against the actual codebase. CLAUDE.md is a symlink to AGENTS.md and does not need separate processing. This workflow reads existing context files, analyzes the codebase structure, identifies discrepancies, and updates documentation to match reality. DOCS.md and CONTRIBUTING.md are only processed if they exist in the repository.

Workflow Steps

Parse Arguments

Support the following arguments:

  • --dry-run: Show what would change without writing files
  • --preserve: Keep existing content structure, only fix inaccuracies
  • --thorough: Perform deep analysis of all files (slower but comprehensive)
  • --minimal: Quick verification focusing on high-level structure only

Verify Git Repository

Confirm working directory is a git repository. If not, warn the user but proceed with limitations (cannot analyze git history or branches).

Read Existing Context Files

Read current AGENTS.md, DOCS.md, and CONTRIBUTING.md (if present) contents. CLAUDE.md is a symlink to AGENTS.md and does not need a separate read:

cat AGENTS.md
cat DOCS.md         # if exists
cat CONTRIBUTING.md # if exists

Parse the structure and extract documented information including:

  • Project description and purpose
  • File structure and organization
  • Build and test commands
  • Custom tooling or scripts
  • Agent configurations and triggers
  • API endpoints and methods (from DOCS.md)
  • Function signatures and parameters (from DOCS.md)
  • Type definitions and interfaces (from DOCS.md)
  • Contribution workflow and guidelines (from CONTRIBUTING.md)
  • Code review process and standards (from CONTRIBUTING.md)

Analyze Codebase

Scan the project to gather accurate information:

  • Directory structure (ls -la, tree if available)
  • Package configuration (package.json, pyproject.toml, Cargo.toml, etc.)
  • Build scripts and commands
  • Test frameworks and configurations
  • README badges and metadata

For --thorough mode, also analyze:

  • File content patterns (imports, exports, interfaces)
  • Code organization conventions
  • Dependency relationships

Identify Discrepancies

Compare documented information against actual codebase:

  • Outdated file paths or structure
  • Incorrect build commands
  • Missing or removed features
  • Deprecated dependencies
  • Stale agent configurations
  • Outdated API endpoints or routes (DOCS.md)
  • Changed function signatures (DOCS.md)
  • Modified type definitions (DOCS.md)
  • Outdated contribution guidelines (CONTRIBUTING.md)
  • Stale branch naming or PR process (CONTRIBUTING.md)
  • Missing CLAUDE.md symlink (should point to AGENTS.md)

Create Backups

Before overwriting, create backup files. CLAUDE.md is a symlink to AGENTS.md and does not need a separate backup:

cp AGENTS.md AGENTS.md.backup
test -f DOCS.md && cp DOCS.md DOCS.md.backup
test -f CONTRIBUTING.md && cp CONTRIBUTING.md CONTRIBUTING.md.backup

Update Context Files

Write corrected versions maintaining the existing structure when --preserve is used, or reorganizing for clarity when not. Ensure the CLAUDE.md symlink exists (ln -sf AGENTS.md CLAUDE.md). For --dry-run, display the diff without writing:

diff -u AGENTS.md.backup AGENTS.md

Generate Report

Display a summary of changes.

When DOCS.md exists:

✓ Updated AGENTS.md
  - Fixed outdated build command
  - Added new /api directory to structure
  - Updated test-runner trigger pattern

✓ Updated DOCS.md
  - Fixed outdated endpoint path /api/v1/users
  - Updated function signature for createUser()

✓ Updated CONTRIBUTING.md
  - Updated branch naming convention
  - Fixed outdated PR template reference

✓ CLAUDE.md symlink verified

When optional files are absent:

✓ Updated AGENTS.md
  - Fixed outdated build command

✓ CLAUDE.md symlink verified

⊘ DOCS.md not found (skipped)
⊘ CONTRIBUTING.md not found (skipped)

For the complete update context files workflow with verification strategies, diff examples, and edge cases, refer to references/update-agents.md.

Update README

Generate or update README.md based on project structure, package metadata, and codebase analysis. This workflow creates comprehensive, accurate READMEs that reflect the actual state of the project.

Workflow Steps

Parse Arguments

Support the following arguments:

  • --dry-run: Preview README content without writing
  • --preserve: Keep existing sections, only update outdated information
  • --minimal: Generate minimal README (title, description, installation, usage)
  • --full: Generate comprehensive README with all optional sections

Analyze Project Structure

Gather information from multiple sources:

# Package metadata
cat package.json
cat pyproject.toml
cat Cargo.toml

# Git information
git remote get-url origin
git describe --tags

# Directory structure
ls -la

Extract:

  • Project name and description
  • Version number
  • Repository URL
  • License
  • Dependencies
  • Scripts/commands

Read Existing README

If README.md exists and --preserve is used:

cat README.md

Parse existing sections to preserve custom content while updating technical details.

Read CONTRIBUTING.md (Optional)

If CONTRIBUTING.md exists, read it and treat it as the source of truth for contribution guidance. Do not duplicate detailed contribution steps in README; link to CONTRIBUTING.md instead.

test -f CONTRIBUTING.md && cat CONTRIBUTING.md

Create Backup

Before overwriting existing README:

cp README.md README.md.backup

Generate README Content

Create structured content with appropriate sections:

  • Title and badges (version, license, build status)
  • Description (concise project summary)
  • Installation (package manager commands)
  • Usage (basic examples)
  • Development (build, test, lint commands)
  • Contributing (if applicable; link to CONTRIBUTING.md when it exists)
  • License (based on package metadata)

For --minimal mode, include only title, description, installation, and usage.

For --full mode, also include:

  • API documentation
  • Examples directory listing
  • Deployment instructions
  • Troubleshooting section
  • Credits and acknowledgments

Write README

Save the generated content. For --dry-run, display without writing.

Generate Report

Display summary:

✓ Updated README.md
  - Added installation section
  - Updated build commands to match package.json
  - Added badges for license and version

For the complete update README workflow with section templates, metadata extraction strategies, and formatting examples, refer to references/update-readme.md.

Initialize README

Create project-specific README.md from scratch based on codebase analysis or a user-provided description. This workflow is ideal for new projects or repositories lacking a README. Unlike update-readme, this workflow refuses to overwrite an existing README unless explicitly forced, and supports guided mode for focusing content on user intent.

Workflow Steps

Parse Arguments

Support the following arguments:

  • [description?]: Freeform description to focus content generation (guided mode)
  • --dry-run: Preview generated content without writing
  • --minimal: Create minimal README (title, description, installation, usage)
  • --full: Create comprehensive README with all applicable sections
  • --force: Overwrite existing README.md without prompting

Guided mode examples:

  • /md-docs:init-readme TypeScript library for parsing dates with zero deps
  • /md-docs:init-readme Foundry lending protocol with audit-ready docs

Verify No Existing README

Check if README.md already exists at the repository root:

test -f README.md && echo "exists" || echo "missing"

If exists without --force, use AskUserQuestion with options:

  • Overwrite: Replace existing README completely
  • Abort: Cancel operation (suggest /md-docs:update-readme --preserve instead)

Analyze Project

Gather comprehensive information:

  • Language and framework (detect from files and package configs)
  • Package metadata (name, version, description, license, scripts)
  • Directory structure and organization
  • Entry points and public APIs
  • Existing assets (LICENSE, CONTRIBUTING.md, CHANGELOG.md, examples/)
  • Git remote for repository URL and badges

Generate README Content

Create structured content guided by the mode and optional description:

  • Guided mode (description provided): Emphasize sections aligned with keywords and intent (e.g., "security-first" → audit/testing emphasis; "library" → API reference focus)
  • Automatic inference (no description): Derive sections and tone entirely from project analysis

Adapt section order to project type (library, application, smart contract). For --minimal, include only title, description, installation, usage. For --full, include all applicable sections. Follow the writing style, formatting rules, and section templates documented in references/update-readme.md.

Write README

Save generated content to ./README.md. For --dry-run, display without writing.

Generate Report

Display summary:

✓ Created README.md
  - Detected TypeScript library
  - Added installation (pnpm detected)
  - Generated usage example from src/index.ts
  - Added MIT license badge

For the complete initialize README workflow with section templates, guided-mode strategies, and formatting examples, refer to references/init-readme.md.

Update CONTRIBUTING

Update CONTRIBUTING.md based on current codebase tooling and workflows. This workflow only runs when CONTRIBUTING.md already exists in the repository. If CONTRIBUTING.md is absent, skip this workflow entirely—do not auto-create contribution guidelines.

Prerequisite Check

Before proceeding, verify the file exists:

test -f CONTRIBUTING.md && echo "exists" || echo "missing"

If missing, report to the user and stop. Do not create CONTRIBUTING.md unless explicitly requested.

Workflow Steps

Parse Arguments

Support the following arguments:

  • --dry-run: Show what would change without writing files
  • --preserve: Maximum preservation; only fix broken commands/links
  • --thorough: Deep analysis; verify all links and commands work

Read Existing CONTRIBUTING.md

cat CONTRIBUTING.md

Parse the document structure:

  • Section headings and organization
  • Code blocks with commands
  • URLs and file path references
  • Mentioned tooling (test runners, linters, formatters)

Gather Codebase Intelligence

Detect current tooling and compare against documented content:

  • Package manager (npm, pnpm, yarn, bun) from lock files
  • Available scripts from package.json/Makefile/justfile
  • Branch conventions (main vs master)
  • Linting/formatting tools in use

Identify Discrepancies

Compare documented information against actual codebase:

  • Outdated CLI commands (npm → pnpm)
  • Incorrect branch references (master → main)
  • Broken links to issue templates or docs
  • Stale tooling references (Jest → Vitest)

Update Content

Fix technical inaccuracies while preserving:

  • Contribution policies (CLA, DCO, licensing)
  • Review processes and expectations
  • Code of conduct references
  • Governance decisions

Generate Report

Display summary:

✓ Updated CONTRIBUTING.md
  - Fixed package manager: npm → pnpm
  - Corrected branch reference: master → main
  - Updated test command

⊘ Policy sections preserved (CLA, review process)

For the complete update CONTRIBUTING workflow with verification strategies and examples, refer to references/update-contributing.md.

Initialize Context

Create project-specific AGENTS.md from scratch based on codebase analysis. This workflow is ideal for new projects or repositories lacking context documentation.

Workflow Steps

Parse Arguments

Support the following arguments:

  • --dry-run: Preview generated content without writing
  • --minimal: Create minimal context file (project description, structure)
  • --full: Create comprehensive context file with all relevant sections

Verify No Existing AGENTS.md

Check if AGENTS.md already exists:

test -f AGENTS.md && echo "exists" || echo "missing"

If exists, warn the user and suggest using the update workflow instead. Allow override with --force flag.

Analyze Project

Gather comprehensive information:

  • Language and framework (detect from files and package configs)
  • Directory structure and organization patterns
  • Build system (npm, cargo, poetry, gradle, etc.)
  • Test framework (jest, pytest, cargo test, etc.)
  • Linting and formatting tools
  • Environment variables or configuration files

Generate AGENTS.md Content

Create structured sections:

# Context

Brief project description and purpose.

## Structure

Directory organization and key files.

## Build

Commands for building the project.

## Test

Commands for running tests.

## Development

Conventions, patterns, and workflows.

Adapt sections based on project type. For --minimal, include only Context and Structure. For --full, add all applicable sections including deployment, troubleshooting, and custom tooling.

Write AGENTS.md

Save generated content and create CLAUDE.md symlink (ln -sf AGENTS.md CLAUDE.md). For --dry-run, display without writing.

Generate Report

Display summary:

✓ Created AGENTS.md
  - Detected Next.js project
  - Added npm scripts from package.json
  - Documented project structure
  - Added testing section for Jest
✓ Created CLAUDE.md symlink

For the complete initialize context workflow with language-specific templates, detection strategies, and customization options, refer to references/init-agents.md.

DOCS.md Initialization

DOCS.md is optional and not created by default. Create DOCS.md manually when the project has:

  • Public API endpoints requiring documentation
  • Exported functions or classes intended for external use
  • Complex type definitions users need to understand

The update context workflow will suggest creating DOCS.md if it detects significant APIs without corresponding documentation.

Additional Resources

For detailed workflows, examples, and implementation guidance, refer to these reference documents:

  • references/common-patterns.md - Argument parsing, backup handling, writing style, report formatting, file detection, and metadata extraction
  • references/update-agents.md - Complete context file update workflow including verification strategies, diff generation, and discrepancy detection
  • references/update-readme.md - Complete README update workflow including section templates, metadata extraction, and formatting conventions
  • references/update-contributing.md - Complete CONTRIBUTING.md update workflow including scope, templates, and validation (only when CONTRIBUTING.md exists)
  • references/init-readme.md - Complete README initialization workflow including guided-mode strategies, section templates, and project-type detection
  • references/init-agents.md - Complete context initialization workflow including language-specific templates, detection strategies, and customization options

These references provide implementation details, code examples, and troubleshooting guidance for each workflow type.

平台分布

Codex

32.68%
按下载量换算2,143

Claude

31.26%
按下载量换算2,050

Cursor

19.63%
按下载量换算1,287

Gemini CLI

10.42%
按下载量换算683

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills