context-generate

Solid

Assemble a context package (code graph, requirements, constraints, blast radius) before a downstream generation task runs - human-approved, source-attributed. Do NOT use for simple lookups.

AI & Automation 9 stars 0 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
33
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ult-context-generate > **Status: piloting.** The What-L3/What-L2 dual-layer model, D10 blast-radius > analysis, D11 constraints layer, and the D12 handoff to a downstream generation > skill were validated end-to-end on a real ~40 KSLOC FastAPI codebase (an RBAC > guest-role feature, run through a full context-package generation and approval > cycle) before this migration. Now rolling out to a small set of pilot users on > substantially larger codebases (500 KSLOC+, often multi-repo), where the What-L1 > (external-spec) layer remains disabled and token-cost behavior at this scale is > still an open question. Report findings (works well / doesn't / surprises — > especially around graphify query budgets and token costs at scale) as an issue > in this repo so this can graduate out of pilot status or be reworked. > > **What-L1 fallback (Step 7.1, D13/D14) is also now piloting** — a small > `specs/external/` corpus is indexed by `scripts/md_index.py`, a > Python-stdlib-only CLI that builds a deterministic structural index > (headings, clause ids, section bounds, resolved cross-references — "the > graphify for markdown"; see `scripts/README.md`). Step 7.1 builds this index > once per run (`--stale-check`, the same build-once contract `graphify update` > uses), then queries it per both-layers-gap aspect with synonym-expanded keyword > matching to bridge terminology gaps between an aspect's wording and the external > spec's own terms. Validated end-to-end against a real downloaded ...

Details

Author
linkpranay-ai
Repository
linkpranay-ai/context-engineering-protocol
Created
2 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

context-engineer

Determines WHAT context an agent needs and packages it optimally. Actions: analyze (identify needed context), load (assemble from sources), prune (trim to token budget), inject (write to .claude/context-payload.md). Use when: (1) before spawning teammates, (2) context window is limited, (3) multi-source context assembly. Triggers: /context-engineer, 'prepare context', 'package context', 'context for agent'.

146 Updated 1 weeks ago
alfredolopez80
AI & Automation Listed

code-context-map

Generate and re-sync an AI-readable code context map (a ranked, token-budgeted, layered Markdown map of files, imports, signatures, invoke edges, and typed external boundary calls: db/http/queue) for a target project (or, from a seed file, its import chain), written to a gitignored folder inside that project and regenerated on invoke. Extraction is ripgrep-based by default, with optional parser augmentation when a parser is already present; no embeddings. The map is a seed for grep, not a replacement for reading code. Opt-in; not part of default task init. Use when an assistant needs fast structural orientation before editing a codebase, when onboarding to an unfamiliar repo, or when an existing map is stale. Do not use to locate one specific behavior (use code-locate), to analyze the blast radius of a planned change (use impact-analysis), to introspect a database schema (use db-context-supabase), or without a target codebase path.

6 Updated 3 weeks ago
Mozurok
AI & Automation Listed

context-creation

The brownfield back-fill. Routed to by /create-context, and by startup when .codearbiter/CONTEXT.md lacks the <!--INITIALIZED--> body marker but source code exists. Six gated phases — pre-flight, scout dispatch, synthesis, gap interview, write, lock. Reads the existing codebase through parallel scouts, drafts every surviving project-state doc, resolves gaps with the user, and locks the project as initialized.

144 Updated yesterday
arbiterForge