research-lang

Orchestrates multi-wave research programs that produce cited language rules and skills.

Updated Aug 13, 2026
One-click install
npx skills add https://github.com/ocx-sh/grimoire-lore --skill research-lang-ocx-sh
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: research-lang
Source: https://github.com/ocx-sh/grimoire-lore/tree/main/.claude/skills/research-lang
Command: npx skills add https://github.com/ocx-sh/grimoire-lore --skill research-lang-ocx-sh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Asking a model to write language best-practice rules directly produces plausible, uncited advice that changes no behavior, and researching only a handed-down topic list misses the topics nobody knew to ask for. This Skill runs a structured, self-directed research program that grounds findings in real codebase measurements, discovers topics from primary corpora, and ends in publishable AI-config rules and skills. ## Core Features & Use Cases - Eight-phase research loop: Frame, Ground, Scout, Map, Dive, Consolidate, Iterate, Author, and Validate, repeating until a wave produces no new MUST rules. - Worker prompt contracts: Verbatim output contracts for grounding auditors, scouts, deep-dive researchers, consolidators, and revisers so every artifact merges cleanly. - Artifact validation: A Python script checks name parity, context budgets, link resolution, dead globs, rule-table completeness, and runnable verification commands before publishing. - Use Case: A team wants its coding agents to become expert in Rust. The program audits their codebases, surveys canonical guides, linter catalogs, and failure corpora, consolidates cited rulesets with stable IDs, and ships glob-scoped rules plus a review skill. ## Quick Start Ask the agent to run a research program that turns our team's Rust expertise into cited rules and skills for our coding agents.

Frequently Asked Questions about research-lang

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create AI coding rules for a programming language?▼

Run a structured research program: audit the adopting codebase first, scout canonical guides and linter catalogs for candidate topics, deep-dive each topic with cited primary sources, then consolidate into numbered rules with verifications. This Skill orchestrates that entire loop.

How to research language best practices with AI agents?▼

Fan out cheap-model workers across five corpora (canonical guides, practitioner writing, codified practice, failure sources, recent shifts), then have a strongest-model agent consolidate findings into decisions and a verified ruleset. The Skill provides the worker prompt contracts and wave sizing.

What Python version does the artifact validator require?▼

The check-artifacts.py script requires Python 3.11 or later. It uses only the standard library, optionally using PyYAML for frontmatter parsing when available, and falls back to a minimal built-in parser otherwise.

When should I not use a research program for language rules?▼

Do not use it to answer a single language question or when the deliverable is not durable configuration. It is designed for producing a cited research corpus and publishable rules or skills, not one-off answers.

Why do AI-generated coding rules fail without grounding?▼

Without measuring the actual codebase, rules restate common knowledge, contradict real code shape, and lack verifications. The program requires file:line evidence, runnable check commands, and drops any rule the model already follows by default.