avinyc:qmd-doctor
Run qmd health check for this project. Triggers on "qmd doctor", "check qmd health", "qmd problems", "diagnose qmd".
What this skill does
# QMD Doctor
Run a comprehensive health check on the qmd configuration for this project. Perform each check below in order and report results as `[PASS]`, `[FAIL]`, or `[WARN]`. At the end, summarize the total number of issues found.
## Remediation Reference
For any failure, suggest the appropriate fix:
| Failure | Fix |
|---------|-----|
| qmd binary not found | `npm install -g @tobilu/qmd` |
| .claude/qmd.json missing | Run `/avinyc:qmd-configure` |
| Missing project field | Run `/avinyc:qmd-configure` |
| Collection not in qmd index | Run `/avinyc:qmd-configure` |
| Collection naming mismatch | Run `/avinyc:qmd-configure` to rename |
| Git hook missing/wrong marker | Run `/avinyc:qmd-configure` and re-enable git hook |
| Git hook has old --index flag | Run `/avinyc:qmd-configure` and re-enable git hook |
| MCP server not responding | Run `claude mcp add qmd -- qmd mcp` or add qmd to `.mcp.json` |
| YAML config missing collection | Run `/avinyc:qmd-configure` |
## Checks
### 1. qmd binary
```bash
command -v qmd
```
`[PASS]` if found (print the path), `[FAIL]` if not.
### 2. Config file exists
Check if `.claude/qmd.json` exists using Read. If it does not exist, report `[FAIL]` and stop — remaining checks depend on it.
### 3. Valid JSON
Read `.claude/qmd.json`. If you can parse it as JSON, `[PASS]`. If the content is malformed, `[FAIL]` and stop.
### 4. Has "project" field
Check the parsed JSON has a non-empty `project` string. `[PASS]` or `[FAIL]`.
### 5. Default index database
```bash
test -f "$HOME/.cache/qmd/index.sqlite" && echo "exists" || echo "missing"
```
`[PASS]` if exists, `[FAIL]` if missing.
### 6. Global config
```bash
test -f "$HOME/.config/qmd/index.yml" && echo "exists" || echo "missing"
```
`[PASS]` if exists, `[FAIL]` if missing.
### 7-9. Collection checks
For each key in the `collections` object:
**7. Collection in qmd index:**
```bash
qmd collection list
```
Check if the collection name appears in the output. `[PASS]` or `[FAIL]`.
**8. Naming convention:** If the project name is set, check that the collection name starts with `{project}_`. `[PASS]` or `[WARN]`.
### 9. YAML config entries
If `~/.config/qmd/index.yml` exists, check that each collection name appears in it:
```bash
grep -F "{collection_name}:" "$HOME/.config/qmd/index.yml"
```
`[PASS]` or `[FAIL]` per collection.
### 10-11. Git hook checks (only if `gitHook` is `true`)
**10.** Check `.git/hooks/post-commit` exists. If it does, verify it contains the marker comment `# qmd-auto-index:{project}`. `[PASS]`, `[WARN]` (marker mismatch), or `[FAIL]` (missing).
**11.** Check the hook does NOT contain the deprecated `--index` flag. `[PASS]` or `[WARN]`.
### 12. MCP server connectivity
Try calling `mcp__qmd__status`. If it returns data, `[PASS]`. If the tool is not available or returns an error, `[WARN]` with message:
> MCP server not configured or not responding. Search will fall back to CLI. Run `claude mcp add qmd -- qmd mcp` or add qmd to `.mcp.json`.
## Output Format
Print each result on its own line:
```
[PASS] qmd binary found: /path/to/qmd
[PASS] .claude/qmd.json exists
[PASS] .claude/qmd.json is valid JSON
[PASS] Project name: myproject
[FAIL] Default index database missing: ~/.cache/qmd/index.sqlite
[WARN] MCP server not configured — search will use CLI fallback
...
N issue(s) found.
```
If all checks pass, end with: `All checks passed.`
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.