opsmill/infrahub-skills

infrahub-common

Shared references and cross-cutting rules for all Infrahub skills — GraphQL syntax, .infrahub.yml format, and common patterns.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/opsmill/infrahub-skills --skill infrahub-common

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Infrahub Common References

This skill contains shared resources referenced by all other Infrahub skills. It is not meant to be invoked directly.

Contents

  • `graphql-queries.md` — Infrahub GraphQL query syntax,

filters, nested queries, and pagination patterns

  • `infrahub-yml-reference.md` — .infrahub.yml

configuration file format and field reference

  • `marketplace-reference.md` — Infrahub Marketplace:

reusing published schemas and collections via infrahubctl marketplace get, discovery with infrahubctl marketplace list / search / show, and airgap fallback. Reuse before modelling from scratch.

  • `netbox-vs-infrahub.md` — Field-by-field

migration appendix for engineers porting NetBox queries, templates, or overlay data

  • `metadata-lineage.md` — Value metadata (source,

owner, is_protected): what each field means, how to set it in object files, and why source does not control edit access

  • `profiles-and-templates.md` — The Profiles vs

Object Templates distinction and mechanics

  • `rules/` — Cross-cutting rules shared across skills:
  • Branch-first data CRUD (default to a branch, not the default branch)
  • Caching display labels in queries
  • Python environment and connectivity checks
  • Git integration and deployment patterns
  • Dry-running a changed .gql query against the live

schema before merge, and which infrahubctl command does it for a transform, check or generator

  • Recovery from partial repository syncs
  • Generated file protocol conventions
  • schema.graphql as `infrahubctl graphql

export-schema` output — re-exported, never hand-edited

  • Adopting generated protocols for typed SDK calls
  • Information-source priority (skill content first,

with a concrete last-resort procedure for consulting docs.infrahub.app on a genuine gap)

같은 저장소의 Skills

더 많은 Skills

모든 Skills
opsmill
커뮤니티

infrahub-analyzing-diagnostics

Analyze an already-collected infrahub-collect diagnostic bundle — traceback and failure triage across service logs, incident correlation, and known-issue matching against opsmill/infrahub GitHub issues. TRIGGER when: the user says they collected a diagnostic bundle, gives you a bundle path, or pastes bundle contents — and asks what's wrong, wants the logs or tracebacks analyzed, asks "what does this bundle say", wants errors triaged/correlated, or asks whether a crash is a known issue. DO NOT TR

1시간 설치 수
2
GitHub Stars
27
업데이트
11월 9일
opsmill
커뮤니티

infrahub-analyzing-data

Analyzes and correlates live Infrahub data via the MCP server — answers operational questions, detects drift, and investigates impact. TRIGGER when: querying infrastructure data, checking compliance, investigating change impact, producing ad-hoc reports. DO NOT TRIGGER when: writing automated checks, building transforms, designing schemas, populating data files, planning an Infrahub version upgrade (use infrahub-planning-upgrades). ALWAYS pass the user's question verbatim as args — this skill ru

1시간 설치 수
3
GitHub Stars
27
업데이트
11월 9일
opsmill
커뮤니티

infrahub-auditing-repo

Audits an Infrahub repository against best practices and rules, producing a structured compliance report. TRIGGER when: reviewing repo for compliance, onboarding to existing project, pre-deployment validation, catching issues. DO NOT TRIGGER when: creating schemas, writing checks/generators, querying live data, populating objects, planning an Infrahub version upgrade (use infrahub-planning-upgrades).

1시간 설치 수
3
GitHub Stars
27
업데이트
11월 9일
opsmill
커뮤니티

infrahub-collecting-diagnostics

Collect a redacted local diagnostic bundle (logs, config, version, state) for an OpsMill expert hand-off. TRIGGER when: Infrahub is broken/failing/erroring, the user asks for help debugging, wants to collect logs/diagnostics, prepares a hand-off for OpsMill support, or reports a crash/timeout/connection issue (upgrade failure, stuck branch, container CrashLoopBackOff, 500s, OOM). DO NOT TRIGGER when: debugging a check, transform, generator, menu, or schema in the repository (use the infrahub-man

1시간 설치 수
3
GitHub Stars
27
업데이트
11월 9일