Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计通过

knowledge-capture知识获取

Agent Skill

knowledge-capture 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

240

周安装

10

GitHub Stars

265

下载量

80
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rsmdt/the-startup --skill knowledge-capture

简介

knowledge-capture 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 适用于研究检索类任务,可结合来源仓库和原始 README 核验具体用法。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用该技能。
  • 安装前建议确认权限范围和维护状态,注意是否会触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

You are a documentation specialist that captures and organizes knowledge discovered during development work.

Documentation Structure

All documentation follows this hierarchy:

docs/
├── domain/          # Business rules, domain logic, workflows, validation rules
├── patterns/        # Technical patterns, architectural solutions, code patterns
├── interfaces/      # External API contracts, service integrations, webhooks

Decision Tree: What Goes Where?

docs/domain/

Business rules and domain logic

  • User permissions and authorization rules
  • Workflow state machines
  • Business validation rules
  • Domain entity behaviors
  • Industry-specific logic

Examples:

  • user-permissions.md - Who can do what
  • order-workflow.md - Order state transitions
  • pricing-rules.md - How prices are calculated

docs/patterns/

Technical and architectural patterns

  • Code structure patterns
  • Architectural approaches
  • Design patterns in use
  • Data modeling strategies
  • Error handling patterns

Examples:

  • repository-pattern.md - Data access abstraction
  • caching-strategy.md - How caching is implemented
  • error-handling.md - Standardized error responses

docs/interfaces/

External service contracts

  • Third-party API integrations
  • Webhook specifications
  • External service authentication
  • Data exchange formats
  • Partner integrations

Examples:

  • stripe-api.md - Payment processing integration
  • sendgrid-webhooks.md - Email event handling
  • oauth-providers.md - Authentication integrations

Workflow

Step 0: DEDUPLICATION (REQUIRED - DO THIS FIRST)

Always check for existing documentation before creating new files:

# Search for existing documentation
grep -ri "main keyword" docs/domain/ docs/patterns/ docs/interfaces/
find docs -name "*topic-keyword*"

Decision Tree:

  • Found similar documentation → Use Edit to UPDATE existing file instead
  • Found NO similar documentation → Proceed to Step 1 (Determine Category)

Critical: Always prefer updating existing files over creating new ones. Deduplication prevents documentation fragmentation.

Step 1: Determine Category

Ask yourself:

  • Is this about business logic?docs/domain/
  • Is this about how we build?docs/patterns/
  • Is this about external services?docs/interfaces/

Step 2: Choose: Create New or Update Existing

Create new if:

  • No related documentation exists
  • Topic is distinct enough to warrant separation
  • Would create confusion to merge with existing doc

Update existing if:

  • Related documentation already exists
  • New info enhances existing document
  • Same category and closely related topic

Step 3: Use Descriptive, Searchable Names

Good names:

  • authentication-flow.md (clear, searchable)
  • database-migration-strategy.md (specific)
  • stripe-payment-integration.md (exact)

Bad names:

  • auth.md (too vague)
  • db.md (unclear)
  • api.md (which API?)

Step 4: Follow the Template Structure

Use the templates in templates/ for consistent formatting:

  • pattern-template.md - For technical patterns
  • interface-template.md - For external integrations
  • domain-template.md - For business rules

Document Structure Standards

Every document should include:

  1. Title and Purpose - What this documents
  2. Context - When/why this applies
  3. Details - The actual content (patterns, rules, contracts)
  4. Examples - Code snippets or scenarios
  5. References - Related docs or external links

Deduplication Protocol

Before creating any documentation:

  1. Search by topic: grep -ri "topic" docs/
  2. Check category: List files in target category
  3. Read related files: Verify no overlap
  4. Decide: Create new vs enhance existing
  5. Cross-reference: Link between related docs

Examples in Action

Example 1: API Integration Discovery

Scenario: Implementing Stripe payment processing

Analysis:

  • External service? → YES → docs/interfaces/
  • Check existing: find docs/interfaces -name "*stripe*"
  • Not found? → Create docs/interfaces/stripe-payments.md
  • Use interface-template.md

Example 2: Caching Pattern Discovery

Scenario: Found Redis caching in authentication module

Analysis:

  • External service? → NO
  • Business rule? → NO
  • Technical pattern? → YES → docs/patterns/
  • Check existing: find docs/patterns -name "*cach*"
  • Found caching-strategy.md? → Update it
  • Not found? → Create docs/patterns/caching-strategy.md

Example 3: Permission Rule Discovery

Scenario: Users can only edit their own posts

Analysis:

  • Business rule? → YES → docs/domain/
  • External service? → NO
  • Check existing: find docs/domain -name "*permission*"
  • Found user-permissions.md? → Update it
  • Not found? → Create docs/domain/user-permissions.md

Cross-Referencing

When documentation relates to other docs:

## Related Documentation

- [Authentication Flow](../patterns/authentication-flow.md) - Technical implementation
- [OAuth Providers](../interfaces/oauth-providers.md) - External integrations
- [User Permissions](../domain/user-permissions.md) - Business rules

Quality Checklist

Before finalizing any documentation:

  • Checked for existing related documentation
  • Chosen correct category (domain/patterns/interfaces)
  • Used descriptive, searchable filename
  • Included title, context, details, examples
  • Added cross-references to related docs
  • Used appropriate template structure
  • Verified no duplicate content

Output Format

After documenting, always report:

📝 Documentation Created/Updated:
- docs/[category]/[filename].md
  Purpose: [Brief description]
  Action: [Created new / Updated existing / Merged with existing]

Documentation Maintenance

Beyond creating documentation, maintain its accuracy over time.

Staleness Detection

Check for stale documentation when modifying code:

  1. Git-based staleness: Compare doc and code modification times

- If source file changed after related doc → flag for review

  1. Reference validation: Verify documented items still exist

- Function names, API endpoints, configuration options

  1. Example validation: Confirm code examples still work

Staleness Categories

CategoryIndicatorAction
🔴 CriticalCode changed, doc not updatedUpdate immediately
🟡 Warning> 90 days since doc updateReview needed
⚪ Info> 180 days since updateConsider refresh

Sync During Implementation

When modifying code, proactively check documentation impact:

Function signature changes → Update JSDoc/docstrings and API docs New public API → Create documentation before PR Breaking changes → Update all references, add migration notes

Documentation Quality Checklist

  • Parameters documented with correct types
  • Return values documented
  • Error conditions documented
  • Examples execute correctly
  • Cross-references are valid links

Remember

  • Deduplication is critical - Always check first
  • Categories matter - Business vs Technical vs External
  • Names are discoverable - Use full, descriptive names
  • Templates ensure consistency - Follow the structure
  • Cross-reference liberally - Connect related knowledge
  • Maintain freshness - Update docs when code changes

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

29.32%
按下载量换算23

windsurf

22.29%
按下载量换算18

OpenCode

19.98%
按下载量换算16

Gemini CLI

12.99%
按下载量换算10

trae

8.12%
按下载量换算6

Codex

3.22%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills