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

ontoly-software-graph

하는 일

이 스킬은 미리 만들어진 소프트웨어 프로젝트 코드 지도를 사용해 AI 에이전트가 프로젝트가 어떻게 만들어졌는지 답하게 합니다. 아키텍처를 검토하거나 변경을 계획하는 개발자를 위한 것입니다.

사용하는 경우

  • ✓소프트웨어 프로젝트가 어떻게 구성되어 있는지 이해하고 싶을 때.
  • ✓요청이 코드 안에서 어떻게 이동하는지 추적해야 할 때.
  • ✓리팩터링을 계획하면서 무엇이 영향을 받을지 보고 싶을 때.

스킬 링크

https://github.com/anbeime/skill/blob/main/skills/ontoly-software-graph/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/anbeime/skill/blob/main/skills/ontoly-software-graph/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분.

작동 방식

이 스킬은 기존 Ontoly 그래프가 있는지 확인하고, 그 도구로 인용된 근거와 함께 질문에 답합니다. 그래프로 해결할 수 없을 때만 소스 파일을 검색합니다.

기술 내용 (원본 SKILL.md)

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

Ontoly Software Graph

Use this skill when a coding agent needs evidence-backed software understanding from an Ontoly graph before searching repository files directly.

When to Use

  • Explaining a repository architecture
  • Tracing a request, route, controller, service, or dependency path
  • Finding owners of services, modules, routes, configuration, or environment variables
  • Reviewing dependency impact before a refactor
  • Auditing dead code, cycles, unresolved imports, graph quality, or semantic coverage
  • Preparing documentation, onboarding notes, or architecture review from graph evidence

Required Workflow

  1. Check whether an Ontoly graph already exists by looking for .ontoly/, SoftwareGraph.json, diagnostics.json, validation reports, or an Ontoly MCP configuration.

  2. If no graph exists and the user permits local analysis, run:

    ontoly build .
    
  3. Inspect graph health before answering: diagnostics, graph hash, semantic coverage, trust or quality score, framework detection, and generation timestamp.

  4. Prefer Ontoly CLI or MCP capabilities for graph questions instead of scanning source files first.

  5. Use repository search only when Ontoly cannot answer, the graph is stale, the graph is incomplete, or the user explicitly asks for source-level verification.

  6. Always cite graph evidence in the answer: node IDs, edge types, file paths, source locations, diagnostics, or framework analyzer output.

  7. State confidence from graph evidence. Do not guess confidence.

Useful Ontoly Capabilities

  • ExplainArchitecture for repository and package topology
  • FindDependencies for dependency trees and direct consumers
  • ImpactAnalysis for refactor blast radius
  • TraceExecution for request, route, and call-flow tracing
  • FindConfigurationUsage for configuration and environment variable usage
  • FrameworkReport for detected framework concepts such as modules, controllers, providers, and routes
  • FindDeadCode for unreachable or unused graph regions

Answer Shape

When answering, include:

  • the direct answer
  • graph evidence
  • confidence
  • diagnostics or caveats
  • fallback source inspection only if needed

Example:

AuthController handles authentication.

Evidence:
- node: class:src/auth/auth.controller.ts:AuthController
- route edges: HANDLES POST /login, POST /logout
- dependency edges: USES AuthService, JwtService

Confidence: high, because the graph has controller, route, and dependency edges with source locations.

Fallback Rules

  • If the graph is missing, build it first when allowed.
  • If graph validation fails, report the failure and use source search only to verify the affected area.
  • If multiple nodes match the same name, ask for disambiguation or show the candidates with package/module context.
  • If the requested concept is not in the graph, return NOT_FOUND with the closest graph evidence instead of inventing an answer.
자주 묻는 질문

아직 그래프가 없으면 어떻게 하나요?

허락하면 이 스킬은 ontoly 명령으로 로컬에서 그래프를 만들 수 있습니다.

답변이 실제 코드를 가리키나요?

네. 이 스킬은 에이전트가 그래프의 노드 ID, 연결 유형, 파일 경로를 인용하도록 요구합니다.

사용되지 않는 코드를 찾을 수 있나요?

네. 쓰이지 않는 코드, 의존성 순환, 해결되지 않은 import 점검을 다룹니다.

상세 정보

작성자의 원본 설명

Use Ontoly's deterministic Software Graph and MCP capabilities for architecture review, request tracing, dependency analysis, configuration lookup, and impact analysis before falling back to source-file search.

repo: anbeime/skill

인기도

GitHub 스타
9.0k
순위
#12314
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬