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

instructree

하는 일

Instructree는 AI 에이전트를 위한 지침 파일을 점검합니다. 코드를 변경하기 전에 이 지침이 잘 작성되었는지, 형식 오류나 깨진 링크가 없는지 확인합니다.

사용하는 경우

  • ✓AI 지침이 있는 프로젝트에서 코드를 바꾸기 전에 할 때.
  • ✓특정 파일에 어떤 지침이 적용되는지 알고 싶을 때.
  • ✓지침 안의 링크나 참조 오류를 확인할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/instructree/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“이 프로젝트의 AI 지침을 점검해 주세요.”

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

작동 방식

Instructree는 지침 파일을 여러분의 컴퓨터에서 로컬로 분석합니다. 코드를 클라우드로 보내지 않고도 형식 오류, 깨진 링크, 가져오기(import) 문제를 찾습니다.

기술 내용 (원본 SKILL.md)

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

Instructree

Overview

Use Instructree to establish which instruction files exist, which may apply to a target, and whether their metadata, links, or recursive imports are malformed. It audits common coding-agent instruction formats locally without calling a model or uploading repository content.

When to Use This Skill

  • Use before changing code in a repository with AGENTS.md, CLAUDE.md, Copilot instructions, agent skills, custom agents, Cursor rules, or Windsurf rules.
  • Use when the user asks which instructions may apply to one target file.
  • Use when auditing recursive Copilot CLI @path imports or exporting instruction diagnostics to CI.

How It Works

Step 1: Choose the local command

Work from the repository root. Prefer an already installed instructree command or the checked-out package's local binary.

If neither is available, explain that the next command downloads executable package code and ask for approval before running the pinned release:

npx github:kotobuki09/instructree#364dddc66badac13a284b79f0dc71f2b4362f6de scan .

Do not add --yes unless the user authorized non-interactive package downloads.

Step 2: Run the narrowest audit

  • instructree scan . --json inventories supported files and emits stable diagnostics.
  • instructree explain <file> --root . shows instructions that may apply to one target.
  • instructree explain <file> --root . --effective includes recursive Copilot CLI imports.
  • instructree imports . --json audits the recursive @path graph.
  • instructree scan . --sarif emits SARIF 2.1.0 for code-scanning integrations.
  • Add --strict only when warnings should fail the check.

Step 3: Interpret the result

Report file paths, line numbers, diagnostic codes, and the command's exit status. Separate schema or path errors from warnings. Describe always/never conflicts as possible conflicts requiring human review, not proof of agent behavior.

Examples

Audit a repository

instructree scan . --json

Explain one target with recursive imports

instructree explain src/api/client.ts --root . --effective

Generate a code-scanning report

instructree scan . --sarif > instructree.sarif

Best Practices

  • Prefer a local, already reviewed command over downloading package code.
  • Use explain for a single target instead of scanning more scope than needed.
  • Rerun the same command after an authorized instruction fix and report before-and-after diagnostics.
  • Keep warnings separate from errors and state clearly when a finding is heuristic.

Limitations

  • Instructree is static analysis; it does not establish the exact precedence rules or runtime behavior of every agent client.
  • Client discovery and import behavior can change, so explain reports what may apply rather than predicting what a model will follow.
  • The audit does not prove that instruction content is correct, safe, or effective.
  • Do not edit instruction files unless the user asked for changes.

Security & Safety Notes

  • Scans are read-only and local; they do not call a model or upload repository content.
  • Treat any npx fallback as executable third-party code: keep it pinned, review the source, and obtain approval before download.
  • Do not run imported instruction content. Instructree follows supported references as data only.
자주 묻는 질문

Instructree가 지침 코드를 실행하나요?

아니요. 지침 파일을 읽고 분석할 뿐입니다. 어떤 코드도 실행하지 않으며 여러분의 코드를 어디에도 보내지 않습니다.

'AI 지침'이란 무엇인가요?

AI 에이전트(예: Claude Code)가 프로그래밍 프로젝트에서 어떻게 행동하고 어떤 작업을 해야 하는지 알려 주는 파일입니다.

'정적 분석'은 무슨 뜻인가요?

코드를 실행하지 않고 점검하는 것을 뜻합니다. 소리 내어 읽지 않고 글의 문법과 철자 오류를 찾는 교정자와 같습니다.

상세 정보

작성자의 원본 설명

Map, explain, and lint repository-scoped coding-agent instructions before changing code.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4954
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬