Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

tl-docs-createtl 文档创建

Agent Skill

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

总安装

256

周安装

11

GitHub Stars

公开资料未说明

下载量

90
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/toddlevy/tl-agent-skills --skill tl-docs-create

简介

tl-docs-create 用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写,适合让 Agent 提炼结构、补齐章节、统一术语或检查链接。

  • 适用于文档优化和内容生成场景,使用时需保留项目已有事实和路径。
  • 通过 npx skills add 命令从 GitHub 安装,支持主流 AI 宿主环境。
  • 涉及对外文案时应避免过度营销,安装前建议确认权限和维护状态。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Documentation Creation

Create documentation from scratch for any codebase with SSOT-driven generation, writing standards, and templates.

When to Use

  • "create documentation"
  • "generate README"
  • "create AGENTS.md"
  • "start CHANGELOG"
  • "document this codebase"
  • Starting a new project that needs docs
  • Documenting an undocumented codebase
  • Creating docs folder structure

For auditing existing docs, see tl-docs-audit.

Outcomes

  • Artifact: Documentation tree (README, AGENTS.md, CHANGELOG, docs/ folder, API reference)
  • Artifact: Cursor rules for ongoing documentation maintenance (optional)
  • Decision: Doc types needed based on project and audience

Configuration Discovery

Before creating documentation, gather user intent through structured questions. See references/configuration.md for full question schemas.

Question Flow Summary

  1. Light scan — Check for existing docs/, README.md, AGENTS.md, CHANGELOG.md
  2. Existing docs? — If found, suggest tl-docs-audit instead; otherwise proceed
  3. Audience — Contributors / Users / Operators / Future self / Mixed
  4. Scope — Minimal / Standard / Comprehensive / Absurdly thorough
  5. Doc Types — README / AGENTS.md / CHANGELOG / docs/ / API reference / Rules
  6. Rules — Create Cursor rules for doc maintenance? Yes / Pick / No

Phase 1: Assessment

Explore the codebase before writing. Understand before documenting.

Step 1: Deep Codebase Exploration

  • Map directory organization and entry points
  • Identify framework/language from package.json, Gemfile, go.mod, etc.
  • Read deployment configs, CI configs, Docker files
  • Check database type, migrations, seeds
  • Note key dependencies and scripts

Step 2: Detect Project Type

TypeIndicatorsDoc Focus
Monorepopnpm-workspace.yaml, nx.json, multiple package.jsonPer-package READMEs, root overview
FrontendReact/Vue/Angular deps, vite.config, next.configComponent docs, deployment
BackendExpress/Fastify/Rails, API routesAPI reference, database schema
Librarymain/exports in package.json, no app codeAPI docs, examples, changelog
CLIbin field, commander/yargs depsUsage, options, examples

Step 3: Identify Audience

Ask via AskQuestion if not clear from context. Affects tone, depth, and doc types.


Phase 2: Doc Type Selection

Based on assessment and user answers, determine which artifacts to create.

Doc TypeWhen NeededTemplate
README.mdAlwaystemplates/readme-project.md
AGENTS.mdAI-assisted developmenttemplates/agents-md.md
CHANGELOG.mdVersioned releasestemplates/changelog.md
docs/ folderComprehensive scopetemplates/readme-root.md
API referenceBackend/library projectstemplates/api-reference.md
Docs Viewer UIAdmin interface neededSee tl-docs-viewer skill

Phase 3: Standards

Apply writing standards from references/writing-standards.md.

Quick Reference

RuleDescription
Address as "you"Not "we" or passive voice
No Latin abbreviations"for example" not "e.g."
Serial commaOxford comma always
Overview after headingsEvery heading needs intro paragraph
BrevityDevelopers don't read; extra words = info loss
No blame"Input is invalid" not "You provided wrong input"
No assumptionsAvoid "simply" and "just"

Phase 4: Execution

Create or update documentation using templates from references/templates/.

For Each Doc Type

  1. Load appropriate template
  2. Fill with codebase-specific content
  3. Apply writing standards
  4. Add source attribution where applicable
  5. Create Cursor rules if user selected rule creation

Source Attribution

For generated docs (scripts, env vars), add footer:

---
_Source: `path/to/source-file.ts`_

Last Updated

For docs with freshness tracking:

> **Last Updated:** 2026-03-17

Phase 5: Verification

Before completing, verify documentation quality.

Checklist

  • All selected doc types created
  • Writing standards applied (run through references/writing-standards.md)
  • Internal links validated (relative paths exist)
  • No orphaned docs (all docs reachable from README or index)
  • Last Updated dates current

Validation Commands

If available, run:

  • pnpm lint or project's lint command
  • Link checker if configured
  • agentskills validate for skill-specific validation

Self-Documentation

Generate docs from code where possible. See references/self-documentation.md.

Script Documentation

Parse script headers to generate docs:

  • Usage, Options, Examples
  • Environment Variables
  • Prerequisites, Related
  • Exit Codes, Troubleshooting

Environment Variables

Generate tables from config:

VariableService(s)DescriptionExample
DATABASE_URLapiPostgreSQL connectionpostgresql://...

Documentation Rules

Optionally create Cursor rules for ongoing maintenance. See references/doc-rules.md.

Available rules:

  • readme-sync.mdc — Update README when features change
  • changelog-commits.mdc — CHANGELOG from conventional commits
  • api-doc-sync.mdc — Sync API docs with code changes
  • agents-md-maintain.mdc — Keep AGENTS.md current
  • doc-style.mdc — Enforce documentation style
  • last-updated.mdc — Track Last Updated dates
  • link-check.mdc — Validate internal doc links

References

Skill References

FilePurpose
references/configuration.mdAskQuestion flows and branching logic
references/writing-standards.mdVoice, tone, formatting rules
references/self-documentation.mdSSOT generation patterns
references/doc-types.mdREADME, AGENTS.md, CHANGELOG, API patterns
references/docs-viewer.mdReference to tl-docs-viewer-create skill
references/doc-rules.mdCursor rules for doc maintenance

First-Party Documentation

Documentation Tools

  • TypeDoc — TypeScript API documentation generator
  • JSDoc — JavaScript documentation generator
  • OpenAPI — REST API specification

Related Skills

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.47%
按下载量换算30

Claude

32.03%
按下载量换算29

Cursor

21.08%
按下载量换算19

Gemini CLI

10%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills