AgentSkillsCN

unknown-patterns

在特定环境中构建功能时,学习陌生的实现模式,并填补缺失环节(例如,在特定运行时中进行数据抓取)。当你需要探索或确认尚未实现领域的相关模式时,可借助 erudita 与 osgrep 来完成这一任务。

SKILL.md
--- frontmatter
name: unknown-patterns
description: Learn unfamiliar implementation patterns and fill in missing pieces when building features in a specific environment (e.g., data fetching in a particular runtime). Use when you need to discover or confirm patterns for an unimplemented area; implementation uses erudita and osgrep.

Erudita Patterns

Workflow

  • Install docs into the project: erudita install <package...>
  • Install from config: erudita install --mode copy (uses erudita.json and prunes stale entries)

Search

  • Semantic search across installed docs:
    • osgrep search "keywords" .erudita

Tips

  • Use erudita fetch --deps <dev|prod|all> to cache docs for project dependencies.
  • Use erudita install --mode <link|copy> to control .erudita/ install mode.