본문으로 건너뛰기
Skillpedia
일반 코딩8.6k · #12388

loading-addressable-markdown

하는 일

이 스킬은 AI 에이전트가 긴 Markdown 문서 전체 대신 제목 기준의 섹션 하나만 열 수 있게 합니다. 제목 주소로 섹션을 가리키는 긴 프로젝트 문서를 다루는 에이전트를 위한 것입니다.

사용하는 경우

  • ✓작업이 file.md#heading 같은 주소로 문서 섹션을 지정할 때.
  • ✓긴 Markdown 파일에서 나머지를 읽지 않고 한 부분만 필요할 때.
  • ✓대시보드나 미션 파일이 특정 Markdown 섹션을 연결하고 있을 때.

스킬 링크

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/loading-addressable-markdown/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/loading-addressable-markdown/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 미션 폴더에 있는 소스 정리 명세에서 제안 섹션만 불러와 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

번들된 스크립트를 실행해 요청한 제목을 찾고, 하위 섹션까지 포함합니다. 코드 블록 안에 있는 제목은 건너뜁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Loading Addressable Markdown

Overview

Load exactly one addressed Markdown section from any filesystem tree. The resolver mirrors OpenRig's shipped H2/H3 grammar without requiring the file to live in the context library.

Use

Run the bundled script. Relative file references resolve from --root; without it they resolve from the current directory.

node ~/.agents/skills/loading-addressable-markdown/scripts/resolve-markdown.mjs \
  --root /path/to/mission \
  'slices/09-source-cleanup/SPEC.md#proposal'

The accepted forms are:

  • file.md — whole file
  • file.md#h2-slug — full H2 span, including child sections
  • file.md#h2-slug/h3-slug — full H3 span

Slugs are lowercase; Markdown emphasis/code markers are removed; each other non-alphanumeric run becomes -. Duplicate or missing paths fail loudly. Headings inside fenced code blocks are ignored.

Common mistakes

  • Do not use rig context get for an arbitrary filesystem path; that command resolves context-library refs.
  • Do not hand-slice headings with sed or line numbers; the bundled resolver owns span and fence behavior.
  • Quote addresses in shell commands.
자주 묻는 질문

어떤 폴더의 섹션도 불러올 수 있나요?

네. 여러분이 준 루트 폴더를 기준으로 어떤 파일 경로에서도 작동합니다.

어떤 주소 형식을 받나요?

파일 전체, 두 번째 수준 제목, 또는 두 번째 수준 제목 아래의 세 번째 수준 제목을 받습니다.

sed로 자르면 안 되나요?

스킬은 번들된 스크립트가 섹션과 코드 블록의 예외 상황을 올바르게 처리하므로, 수동으로 자르는 것은 위험하다고 설명합니다.

상세 정보

작성자의 원본 설명

Use when a mission, slice, dashboard, or task references Markdown as path#h2-slug or path#h2-slug/h3-slug outside the OpenRig context-pack library.

repo: mvschwarz/openrig

인기도

GitHub 스타
8.6k
순위
#12388
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬