read-repo-references
Learn from reference materials and prior art in the references/ directory
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Read Repo References
Use this skill when you need inspiration or guidance from prior art and reference implementations.
When to Use
- Designing new features that have established patterns elsewhere
- Stuck on architecture decisions
- Need to understand how similar tools solve a problem
Reference Structure
References live in references/<name>/ with this format:
references/
└── <reference-name>/
├── REF.md # Required: metadata and description
└── [local files] # Optional: PDFs, markdown, code samples
REF.md Format
---
name: reference-name
type: link | local | hybrid
url: https://... # Required if type includes link
description: Brief description
---
# Reference Name
Notes on key patterns, architecture, and relevance...
Reference Types
- link: Points to external resource (GitHub repo, docs). Use WebFetch or browse the URL.
- local: Contains files directly. Read the files in the reference directory.
- hybrid: Both a link and local supplementary materials.
How to Use References
-
List available references:
ls references/ -
Read a reference:
cat references/<name>/REF.md -
For link-type references: The REF.md contains the URL and notes about what to look for. Fetch specific files from the URL as needed.
-
For local-type references: Read the files directly from the reference directory.
-
Apply learnings: Extract relevant patterns and adapt them to the current project's conventions.
Best Practices
- Read REF.md first to understand what the reference offers
- Focus on patterns relevant to your current task
- Adapt patterns to fit the project, don't copy blindly
- Note any new insights in
.agents/notes/for future reference
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-28
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!