repo-docs
Skill1 starsChanged 3 months agoMITView on GitHub
이 저장소(agent-context-manager)의 문서·ADR·논의 문서를 추가하거나 고칠 때 따르는 절차. 문서를 어디에 둘지 정하고, 정본과 중복을 확인하고, ADR·논의 문서의 상태와 기록을 갱신하고, 문서 소스 해시를 다시 기록해 `pnpm run check`를 통과시키는 단계를 담는다. 코드만 바꾸는 작업에는 쓰지 않는다.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- certinia/debug-log-analyzer-mcptheir own version, first seen Sep 11, 2026
- korya/swd-skillstheir own version, first seen Sep 9, 2026
- phanghonghao/THU-Awesome-Skillstheir own version, first seen Aug 10, 2026
- vbonk/repo-templatetheir own version, first seen Aug 6, 2026
- YurunChen/repo-docs-skillstheir own version, first seen Jul 12, 2026
- alanben/ClaudeSkillstheir own version, first seen Jan 8, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- YurunChen/repo-docs-skills★ 468same name
- certinia/debug-log-analyzer-mcp★ 33same name
- phanghonghao/THU-Awesome-Skills★ 8same name
- vbonk/repo-template★ 8same name
- korya/swd-skills★ 2same name
- alanben/ClaudeSkills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- agctx-authorSkill
- agctxSkill
The file
Files
저장소 문서 변경 절차
규칙의 정본은 루트 AGENTS.md다. 이 스킬은 그 규칙을 실제 순서로 옮긴 것이며, 규칙과 어긋나면 AGENTS.md를 따른다.
1. 어디에 쓸지 먼저 정한다
AGENTS.md의 문서 배치 표에서 내용의 상태에 맞는 정본을 하나만 고른다. 고른 뒤 다음을 확인한다.
- 기존 정본에 같은 내용이 이미 있는가. 있으면 그 문서를 고치고 새로 쓰지 않는다.
- 다른 문서에는 요약과 링크만 두는가.
- 논의가 결정이나 구현으로 승격됐는가.
이미 열어 둔 문서라는 이유로 다른 주제의 내용을 섞어 넣지 않는다.
2. 내용을 쓴다
- 그림·예시 형식은
docs/contributing/doc-style.md를 따른다. 현재 동작 예시는 실제로 실행한 출력에서 옮긴다.$명령과 출력을 싣는 예시에는 블록 바로 앞에<!-- agctx-example: <고정물> -->를 달고evals/doc-scenarios.test.ts에 고정물을 둔다. 그러면 출력 문구 때문에 메시지 카탈로그를 핀하지 않아도 된다. - 외부 사실은
docs/references.md에 출처 링크와(확인일: YYYY-MM-DD)를 붙여 쓰고, 다른 문서는 그 절로 링크한다. - 코드를 가리킬 때는 파일과 그 안의 최상위 선언이나 키 이름으로 쓴다. 함수 안의 지역 이름은 가리킬 수 없다. 줄 번호와 코드 발췌는 쓰지 않는다. 지문 주석은 사람이 쓰지 않고
--stamp가 붙인다. 형식은 아래와 같다.
판정은 `src/check.ts`의 `checkProject`가 한다.이름이 그 파일에 있는지는 check:docs가 검사한다. 이유는 docs/discussion/repository/topics/code-citation-style.md에 있다.
- 코드 동작을 서술한 문서는 그 소스를 문서 상단 마커에 핀한다.
3. ADR이 필요한지 판단한다
아키텍처, 주요 기술 선택, 공개 인터페이스, 데이터·보안 경계, 되돌리기 어려운 결정을 바꾸면 docs/adr/에 ADR을 추가한다.
- 파일 이름은
NNNN-kebab-case-title.md이고 번호는 순차다. - 머리말에
* **상태:**,* **일자:**,* **결정자:**를 두고, 관련 ADR이 있으면* **관련:**으로 링크한다. - 0009 이후 ADR은
* **근거:**에 외부 근거 링크를 두거나, 외부 사실에 기대지 않으면외부 근거 없음: <이유>를 적는다. - 본문에는 배경(Context), 검토한 대안(Options), 결정(Decision), 결과 및 영향(Consequences)을 둔다.
- 채택된 ADR의 이력은 덮어쓰지 않는다. 결정을 바꾸려면 새 ADR을 쓰고 이전 결정과의 관계를 밝힌다. 오탈자·링크 정정은 기존 ADR에 반영해도 된다.
docs/README.md의 ADR 색인을 같은 변경에서 갱신한다.
4. 논의 문서의 상태와 기록을 맞춘다
논의 문서의 계약을 구현했거나 구현하면서 계약이 바뀌었으면 같은 변경에서 갱신한다.
docs/discussion/topics.json에서 그 주제의status- 구현 기록(
#### 구현 기록: <범위>) - 제안 요약의
권장 다음 작업
그다음 node tools/generate-discussion-status.ts로 주제 문서의 상태 줄, 영역 색인, README 상태 목록을 다시 생성한다. 이 세 곳은 손으로 고치지 않는다. 새 주제를 더하면 topics.json에 항목을 넣고, 주제 문서의 제목 아래에 <!-- agctx:generated:status:start -->와 <!-- agctx:generated:status:end --> 표지를 둔 뒤 생성한다.
형식과 기록 시점의 정본은 docs/discussion/architecture/topics/implementation-contracts.md다.
5. 해시를 다시 기록하고 검증한다
node tools/check-docs.ts # 무엇이 어긋났는지, 어느 소스가 바뀌었는지 본다
node tools/check-docs.ts --stamp <문서> # 그 문서를 다시 읽고 고친 뒤에만 실행한다
pnpm run check # 형식 검사·문서 계약·평가 전체--stamp는 문서 경로를 받는다. 경로를 적는 것이 그 문서를 다시 읽었다는 표시이므로, 경로 없이 실행하면 어긋난 문서의 목록만 보여 주고 1로 끝난다. 마커 형식이 바뀐 경우처럼 전부를 한 번에 다시 기록해야 하면 --stamp --all을 쓴다.
가리킨 코드가 바뀌었다 실패는 인용한 심볼의 내용이 바뀌었다는 뜻이다. 그 항목만 다시 읽고 고친 뒤 stamp한다. doc sources changed 실패는 핀한 소스가 바뀌었다는 뜻이다. stamp만 다시 실행해도 통과하므로, 먼저 문서를 열어 가리킨 위치와 서술이 지금 코드와 맞는지 확인한 뒤에 stamp한다. 게이트 계약과 대상 문서 목록은 docs/contributing/doc-gate.md가 정본이다.
6. 함께 갱신할 문서를 확인한다
- 사용자에게 보이는 기능·호환성·설치·검증·보안 변경:
CHANGELOG.md의Unreleased - 패키지의 목적·책임 경계·작업 모델:
docs/contributing/product-direction.md와 README 요약 - 공개 저장소 운영 계약:
docs/contributing/releasing.md와 관련 GitHub 파일·workflow - 진행 중인 작업의 다음 할 일이 생기거나 바뀌거나 끝남: 해당 논의 문서의
권장 다음 작업. 세션 사이의 인수인계는 커밋하지 않는HANDOFF.md에 쓴다.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

