OpenParable
Skip to content
← Back to skills

Read Repo References

Research
read-repo-references

Read Repo References is an Agent Skill for research published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Learn from reference materials and prior art in the .references/ directory

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/examples/read-repo-references/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/read-repo-references, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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

  1. List available references:

    ls .references/
    
  2. Read a reference:

    cat .references/<name>/REF.md
    
  3. 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.

  4. For local-type references: Read the files directly from the reference directory.

  5. 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