kuberstar/qartez-mcp/skill
Claude Code and agent skill by kuberstar/qartez-mcp
- community
Checking that the SKILL.md file is still in the repository.
Semantic code intelligence skill for qartez MCP. Use qartez tools for code exploration, impact analysis, and guarded refactors; treat built-in code-tool denials as routing signals and recover via qartez replacements.
Install
npx vskill@latest install kuberstar/qartez-mcp/skillSKILL.md
Qartez - Semantic Code Intelligence Skill
Qartez provides semantic, graph-aware code intelligence for any repository. It replaces naive file-system tools (glob, grep, read) with structured analysis grounded in a pre-built language-aware index.
This applies equally to application code and to infrastructure-as-code / DevOps repos. Qartez indexes Kubernetes/Kustomize/Helm YAML, Terraform/OpenTofu HCL, ArgoCD manifests, Dockerfiles, Ansible, and CI configs, and builds a cross-file dependency graph over them (Kustomize resources/bases/components/patches, Terraform local module sources, Helm Chart.yaml dependencies, ArgoCD Application source paths). Use the same qartez-first workflow when the task is "deploy X", "wire up this k8s app", "trace which overlay a manifest belongs to", or "what breaks if I change this base" - see references/doctrine-infra.md.
1. When Qartez Is Authoritative
Use qartez for all code-related exploration and analysis work.
Use built-in tools only for non-code content or when qartez cannot handle the request.
| Built-in intent | Qartez replacement | |
|---|---|---|
glob / ls / find | qartez_map | |
grep / rg | qartez_grep or qartez_find | |
read / cat on source (exploration) | qartez_read | |
| outline/API surface read | qartez_outline |
qartez_read is for exploration. When you are about to make a non-symbol Edit (imports, partial-line tweaks, config, multi-block edits), a built-in Read of the exact target range first is the correct path - the harness must record it in readFileState before Edit/Write succeeds. qartez_read does not populate that state. For symbol-level changes, prefer the qartez mutators (Section 5), which need no prior Read.
| dependency inspection | qartez_deps | |
|---|---|---|
| call chain tracing | qartez_calls / qartez_refs |
Infra-as-code counts as code here. A DevOps task in an infra repo (Kubernetes/Kustomize/Helm/Terraform/ArgoCD/GitOps) is qartez-first exactly like an app-code task. qartez_map for the manifest layout, qartez_find/qartez_grep to locate a resource / module / kustomization.yaml, qartez_deps to see which overlays and bases a manifest pulls in, and qartez_impact before editing a shared base or module. Do not fall back to raw grep/find just because the files are YAML/HCL. Full playbook: references/doctrine-infra.md.
2. Runtime States
Read .qartez/status.json first when available.
| State | Required behavior | |
|---|---|---|
READY | Use qartez-first workflow normally | |
INDEXING | Use qartez_map; defer symbol/code queries | |
UNAVAILABLE | Report capability mismatch; do not silently continue | |
CAPABILITY_MISMATCH | Report immediately to parent/orchestrator | |
STALE | Proceed with warning | |
RISK_ACK_REQUIRED | Call qartez_impact, then retry edit |
3. Denied-tool Recovery Protocol
A denied built-in code tool call is a routing signal, not completion.
Guards emit JSON payloads. Parse replacement and retry immediately.
If reason_code is INDEX_NOT_READY, wait until READY and retry.
4. Subagent / Delegated Sessions
For delegated sessions (e.g., <!-- OMO_INTERNAL_INITIATOR -->):
- Start with qartez tools directly.
- Treat denials as routing signals and recover via replacement tool.
- If qartez tools are visible but execution fails, report
CAPABILITY_MISMATCH. - End with the execution footer template below.
5. Operating Modes
Explore mode (read-only)
Primary tools: qartez_map, qartez_find, qartez_grep, qartez_read, qartez_outline, qartez_refs, qartez_calls, qartez_deps, qartez_context, qartez_stats.
Change mode (edit-authorized)
Risk tools and transforms: qartez_impact, qartez_diff_impact, qartez_cochange, qartez_unused, qartez_rename, qartez_move, qartez_rename_file.
Prefer qartez mutators for structural/symbol edits. qartez_replace_symbol, qartez_insert_after_symbol, qartez_insert_before_symbol, qartez_rename, qartez_move, qartez_safe_delete, and qartez_rename_file operate on the index directly. They need no prior built-in `Read` (they bypass readFileState) and they are not subject to the load-bearing ack gate (the guard matches only Edit|Write|MultiEdit). Use them to replace a whole function/struct/class body, add a sibling symbol, rename, relocate, or delete - friction is zero.
Use built-in `Edit` only for non-symbol regions: import blocks, partial-line edits, config/manifest values, or multi-block changes inside one symbol. For those, do a built-in Read of the target range immediately before the Edit (see Section 7).
6. Workflows
- Explore:
qartez_map → qartez_find → qartez_outline → qartez_read → qartez_refs/calls → qartez_deps - Debug:
qartez_find → qartez_calls → qartez_refs → qartez_read → qartez_context → qartez_deps - Review before edit:
qartez_outline → qartez_impact → qartez_cochange → qartez_deps → qartez_context - Refactor:
qartez_find → qartez_refs → qartez_impact → qartez_deps → qartez_rename/move → re-verify refs - Pre-merge:
qartez_diff_impact → qartez_hotspots → qartez_cochange → qartez_boundaries → qartez_context - Infra/DevOps:
qartez_map → qartez_find (resource/module/kustomization) → qartez_deps (overlays+bases) → qartez_impact (shared base/module) → edit → qartez_diff_impact
7. Modification Guard and Edit Prep
Symbol-level change (preferred, zero friction)
qartez_map/qartez_find/qartez_read/qartez_impact to understand, then apply the change with a qartez mutator (qartez_replace_symbol, qartez_insert_after_symbol, qartez_insert_before_symbol, qartez_rename, qartez_move, qartez_safe_delete). No built-in Read and no ack are needed.
Non-symbol Edit (imports, partial lines, config, multi-block)
Canonical flow:
qartez_map/qartez_find/qartez_read/qartez_impactto locate and understand the region.- Proactively run a built-in
Readof the exact target line range. This is the required step that records the file inreadFileState;qartez_readdoes not. The read-guard hook explicitly endorses thisRead- it is not a mistake. - Built-in
Edit.
If edit is blocked on a load-bearing file
- Call
qartez_impactwithfile_path. - Review blast radius.
- Retry edit (ack window defaults to 10 minutes). Note: the qartez mutators above are not subject to this gate.
8. Subagent Execution Footer
Delegated sessions should end with:
9. References
references/runtime-contract.mdreferences/subagent-contract.mdreferences/host-matrix.mdreferences/confidence-model.mdreferences/doctrine-explore.mdreferences/doctrine-debug.mdreferences/doctrine-review.mdreferences/doctrine-refactor.mdreferences/doctrine-premerge.mdreferences/doctrine-infra.mdreferences/tools.mdreferences/guard.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingscripts/skill/SKILL.md
Popularity
- Repository stars
- 58
- Repository forks
- 7
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kuberstar/qartez-mcp/skill)