AGENT SKILL
read-repo-rules
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-06-24
- Stars
- ★ 66
- Forks
- 24
03 SKILL.md 正文
Read Repo Rules
Overview
Provide strict, one-sentence summaries of key repo instruction files, obeying exact output formatting and missing-file stop conditions.
Workflow
- Verify each provided file path exists (use
ls <paths>ortest -f, no recursive listings). If any missing, outputMISSING: <path>and stop. - Read AGENTS.md, docs/REPO_STYLE.md, and docs/PYTHON_STYLE.md normally (use
sed -n "1,200p"or similar). - For docs/CHANGELOG.md, identify the latest dated entry and read only that entry section (from its heading to the line before the next dated heading, or end of file).
- Produce exactly one sentence per file that states the high-level purpose and what it specifies for an AI agent to do.
- Output lines in the exact order and prefix required by the prompt (for example
AGENTS: ...,REPO_STYLE: ...,PYTHON_STYLE: ...,CHANGELOG: ...). - If the prompt says output exactly these lines or otherwise forbids extra text, do not add anything else.
- If the prompt allows extra text, append the follow-up question: do you (the agent) now know how to run code? is there a source_me.sh file or similar
- Never use
ls -Ror recursive listings; only list the explicit paths provided.