com um clique
lc-curate-context
// Create optimized llm-context rules for specific tasks by analyzing codebase content and generating minimal file selection patterns
// Create optimized llm-context rules for specific tasks by analyzing codebase content and generating minimal file selection patterns
Router for the CyberChitta design system and house craft — the writers' room of @restlessronin (Showrunner) and named AI collaborators, whose publication runs at cyberchitta.cc. Five task-specific child skills (design-throwaway, design-surface, wire-consumer, draft-article, copyedit) and two craft briefs (voice.md, visual.md). Use this skill if you're not sure which child fits.
Fetch a URL directly with scrapling's bot-detection bypass. Use when the user asks to fetch, curl, or scrape a URL from a bot-protected site.
| name | lc-curate-context |
| description | Create optimized llm-context rules for specific tasks by analyzing codebase content and generating minimal file selection patterns |
Create rules that define the minimal sufficient context for a task.
The job is not to gather a lot of relevant code. The job is to produce the smallest full-file and excerpted-file set that is still enough to complete the task.
full-files.excerpted-files.lc-preview.Full files and Excerpted files lists.Start narrow unless you have a good reason not to.
Use lc/flt-no-files when:
Use flt-repo-base or lc/flt-base when:
If lc-preview shows many unexpected full files, your baseline is too broad.
Full files
Excerpted files
Move a file from excerpted to full only when the exact body matters.
lc-previewlc-preview is the main verification step.
Read it in this order:
SummaryFull filesExcerpted filesAsk:
Full files?Full files?Excerpted files instead of Full files?Do not trust a rule until the exact file lists look right.
lc-previewTask: change preview formatting so it lists all selected full and excerpted files.
This is a narrow task. Start from lc/flt-no-files.
---
description: Improve lc-preview verification output
compose:
filters: [lc/flt-no-files]
excerpters: [lc/exc-base]
also-include:
full-files:
- "/src/llm_context/context_preview.py"
- "/src/llm_context/cli.py"
- "/src/llm_context/commands.py"
- "/src/llm_context/lc_resources/templates/lc/preview.j2"
excerpted-files:
- "/src/llm_context/context_generator.py"
- "/src/llm_context/context_spec.py"
- "/src/llm_context/file_selector.py"
- "/src/llm_context/rule.py"
---
Make lc-preview show exact full and excerpted file membership for rule verification.
Why this shape:
What to look for in lc-preview:
Full filesExcerpted filesTask: improve primitive rule composition and the skill docs that teach it.
This task is broader, but still needs discipline. Start from a repo filter only if it already excludes enough noise.
---
description: Improve primitive rules and skill guidance
compose:
filters: [flt-repo-base, flt-no-excerpters]
excerpters: [lc/exc-base]
also-include:
full-files:
- "/src/llm_context/lc_resources/skills/lc-curate-context/*.md"
- "/src/llm_context/lc_resources/rules/lc/*.md"
- "/.llm-context/rules/*.md"
- "/src/llm_context/rule.py"
- "/src/llm_context/rule_parser.py"
excerpted-files:
- "/src/llm_context/context_spec.py"
- "/src/llm_context/file_selector.py"
- "/src/llm_context/commands.py"
---
Improve the primitive rule vocabulary and the skill instructions that teach agents how to compose and verify task rules.
What to look for in lc-preview:
Full filesIf preview expands too far, drop the repo baseline and switch to lc/flt-no-files.
| Step | CLI | MCP |
|---|---|---|
| Explore | lc-outlines | lc_outlines |
| Validate | lc-preview <rule> | lc_preview |
| Get context | lc-context <rule> | lc_outlines + lc_missing |
| Check drift | lc-changed | lc_changed |
| Fetch exact files | lc-missing -f '[paths]' -t <ts> | lc_missing |
In rule patterns, paths start with /, relative to project root.
- "/src/llm_context/rule.py"
- "/tests/test_outliner.py"
Preview and generated context show namespaced paths like /{project-name}/src/....
tmp-prm-<name>.md: temporary task ruleprm-<name>.md: reusable prompt ruleflt-<name>.md: reusable filter primitiveWhen you notice this skill could be clearer, is missing a pattern, or led you down the wrong path, offer to record the insight.
Write it to SKILL-FEEDBACK.md at the root of the local llm-context.py repo (ask the user for the path if unsure). One short paragraph per entry: what happened, what the better approach is, and why.
PATTERNS.md for reusable shapesEXAMPLES.md for worked examplesSYNTAX.md for rule syntaxTROUBLESHOOTING.md for failure cases