Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill polyglot-recipes명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | polyglot-recipes |
| description | > Use when this capability is needed. |
Be brief. Cite docs/AGENTIC_PATTERNS_4_0.md Part IX (NC1c, NC8, M5),
Part X (NC16, M22), Part XI §XI.4 (M6 trichotomy) and BUG_DATABASE.md
§§4-5 (I#54a/b polyglot edge bugs). aurora is the M14 polyglot
canonical (HCL+Python+SQL, validated through 3 cycles); the
constitutional polyglot sentinel.
Specializes the five hub orientations for cross-language seams. This
skill fires when no single per-language skill (c-recipes,
python-recipes, javascript-recipes, jvm-recipes, go-recipes,
rust-recipes) captures the task because the interesting edges
cross language boundaries. Most often escalates to
ripvec:drift-auditor because polyglot dark-matter manifests as
systemic dead-zone drift — ripvec can't see the seam, so the seam
silently rots.
What ripvec sees on a polyglot corpus:
{{var}} becomes the URL the JS fetch() hits. None
of these are typed in ripvec's eyes — every hop is a string.
M5 anchor.rg-files(name) / index-files(name). On aurora, bucket_name: 11 files contain the
string, 1 is in the symbol index. Ratio 11:1 = ripvec is blind to
10 of the 11 files for this name. Quantifiable polyglot blindness.terraform_remote_state.X.outputs.Y)find_similar(symbol_name=X) returns "not in index" but rg
finds X across the corpus, that's a polyglot dark-matter signal.terraform_remote_state and SQL FROM/JOIN edges are partial-
resolved via semantic search; full LSP edge resolution is a
4.2.0+ target. M22 Polyglot Incompleteness Cost says: when
bug deferral lets the dark-matter coefficient grow, productivity
decays at compound rates.| Recipe | Trigger | Tool sequence | Caveat | Cite |
|---|---|---|---|---|
| NC16 Polyglot Dark-Matter Probe | "Quantify how blind ripvec is on this name" | mcp__ripvec__find_similar(symbol_name=X) → if "not in index" → cross-language mcp__ripvec__search(corpus="all", query=X) → compare hit-counts; ratio = dark-matter coefficient | High ratio (≥5) = serious polyglot blindness; pair with workaround | Part X §X.4 NC16 |
| NC8 Runtime-Variable-Injection Trace | "How does this Python config value reach the SQL query?" | Pick variable name (e.g., athena_silver_schema); mcp__ripvec__search(corpus="all", query="athena_silver_schema") → enumerate hits across HCL/Python/SQL files → narrate the 4-hop chain by file order | Reproducible by name-grep even where ripvec can't trace symbolically; M5 use-case canonical | Part IX §IX.4 NC8 |
| M6 Codd-form Oracle Probe (HCL remote_state) | "Where does Terraform module A read from module B's outputs?" | mcp__ripvec__search(query="terraform_remote_state", root=infrastructure/) → for each hit, the .outputs.X path IS the Codd projection | I#54a partial: search works, lsp_references returns silent empty on HCL refs (deferred 4.2.0) | M6, BUG_DATABASE §4 I#54a |
| M6 Pearl-form Oracle Probe (Python→SQL @{var}) | "Where does this template var get bound?" | Pick @{var_name} from SQL → mcp__ripvec__search(corpus="all", query="var_name") → look for variables={var_name: ...} Python assignment | This IS Pearl's do(var_name=value) intervention on the SQL DAG | M6, Part XI §XI.4 |
| M6 Hickey-form Oracle Probe (typed value/identity) | "Decomplect this tfvars string from its consumer types" | mcp__ripvec__search(query="bucket_name") then mcp__ripvec__lsp_references on each site to classify consumer-type (ARN vs S3-URI vs path) | M6 Hickey-form: the value travels typed-free; consumer-types diverge over time = M22 cost manifesting | M6, M22 |
| NC7 Spec-as-Implementation-Oracle | "Does the spec doc match the impl?" |
Per docs/BUG_DATABASE.md (verified Cycle 11 W3 / 4.1.9).
| Bug | Status | Symptom | Workaround | Cite |
|---|---|---|---|---|
B-0017 / I#54a HCL terraform_remote_state edges | Open (P2) | lsp_references on HCL .outputs.X returns silent empty; semantic search works | Use mcp__ripvec__search instead of lsp_references for HCL edges | BUG_DATABASE §4 |
| B-0018 / I#54b SQL FROM/JOIN edges | Open (P2) | SQL table references not resolved to schema definitions | Cross-language string search; the M5 dark-matter pattern | BUG_DATABASE §4 |
B-0019 HCL module "X" { source = "../X" } blocks | Open (P3, subsumed by I#54a) | Module composition edges missing | Workaround via search; treat as I#54a | BUG_DATABASE §4 |
| B-0020 SQL chunker zero-symbols (per-CREATE granularity) | Partial fix | CREATE TABLE → struct now indexed per-file; per-CREATE granularity still missing | One file = one schema oracle; live with file-level granularity | BUG_DATABASE §4 |
B-0021 HCL locals { } blocks chunked as single | Open (P3) | Individual local-vars not addressable | Use mcp__ripvec__search(query="local.X") | BUG_DATABASE §4 |
B-0023 HCL locals { ... } collapsed to single chunk | Open (P3) | Same family as B-0021 | Same workaround | BUG_DATABASE §4 |
| N3 anti-pattern: string-API across languages | Open architectural | Treating untyped string passing as if typed | Apply M5 + M6 trichotomy; document each oracle's form explicitly | M5, M22 |
flowchart TD
U[User: "How does the silver schema name<br/>get from Terraform to the SQL query?"] --> PV[Pick a variable name<br/>e.g. athena_silver_schema]
PV --> SA[mcp__ripvec__search<br/>corpus=all, query=athena_silver_schema]
SA --> CLA{Hits include .tf .py .sql .j2 ?}
CLA -->|Yes — polyglot trace| EH[Enumerate per file kind]
CLA -->|HCL only| HCL_only[Single-language;<br/>route to c-recipes / language-specific]
EH --> HF[For each HCL hit:<br/>read locals{} or output{} or var{} surrounding]
HF --> PF[For each Python hit:<br/>read read_tfvar / config dataclass / @click.option]
PF --> SF[For each SQL hit:<br/>read CREATE TABLE / @{var} interpolation / FROM]
SF --> JF[For each Jinja/.j2 hit:<br/>read {{var}} expansion]
JF --> CH[Chain narration: HCL output → Python read → SQL @{var} → Jinja {{var}}]
CH --> DM[Compute M5 dark-matter coefficient<br/>rg-files / index-files ratio]
DM --> DMR{Ratio ≥ 5?}
DMR -->|Yes| ALERT[**Polyglot dark matter detected**<br/>route to ripvec:drift-auditor<br/>cite M22 polyglot incompleteness cost]
DMR -->|No| CLEAN[Trace is clean;<br/>document M6 oracle form per hop]
HCL_only --> H6[H6 Fill-Graph Dual<br/>combine find_similar+lsp_references<br/>per c-recipes / jvm-recipes appropriate]
Polyglot is exercised primarily by aurora (canonical IaC polyglot, per Part X §X.4):
bucket_name: 11:1).
NC8 4-hop chain reproducible. NC7 spec-vs-impl drift quantifiable.bucket_name was 11:1 in Wave 5 → 11:0
in Wave 6 (the darkness deepened, not improved).Polyglot's earned heritage:
terraform_remote_state.X.outputs.Y is literally a relational
projection (SELECT outputs.Y FROM remote_state WHERE name=X).
M6 Codd-form anchor.do(var=value) operator on the SQL DAG: an intervention
not an observation. M6 Pearl-form anchor.Source: fnordpig/my-claude-plugins — distributed by TomeVault.
mcp__ripvec__find_similar(symbol_name=fn_in_spec) against find_similar(symbol_name=fn_in_impl) → sim score IS the drift index |
| Sim 1.0 = spec is impl mirror (rare); sim 0.7-0.9 = healthy drift; sim < 0.5 = stale |
| Part IX §IX.4 NC7 |
| NC13 Spec-Oracle Drift Gradient | "Is the implementation drifting from the spec?" | Run NC7 across N spec/impl pairs; sort by descending sim gap; pairs with gap > 0.3 are the drift hotspots | Quantitative — actionable in PR descriptions ("4 spec/impl drifts above threshold; close before merge") | Part X §X.4 NC13 |
| M5 Aurora-Style 4-Layer Bridge Audit | "Audit cross-language data flow end-to-end" | Pick a single variable name; chain HCL→Python→SQL→[Jinja | JS] via mcp__ripvec__search(corpus="all") per hop; document which hops ripvec sees (LSP edges) vs which it doesn't (M5 dark matter) | Per-variable; this is the aurora canonical recipe |