exstruct-cli
Skill204 starsChanged 7 months agoBSD-3-ClauseView on GitHub
Use ExStruct CLI to validate, inspect, create, and edit Excel workbooks safely. Trigger when an agent needs `exstruct patch`, `exstruct make`, `exstruct validate`, `exstruct ops list`, or `exstruct ops describe`, especially for create-vs-edit decisions, dry-run workflows, backend constraints, or safe workbook-edit guidance.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adr-drafterSkill
- adr-indexerSkill
- adr-linterSkill
- adr-reconcilerSkill
- adr-reviewerSkill
- adr-suggesterSkill
- codacy-issues-fetcherSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use the existing editing CLI as the default local operational interface for ExStruct workbook create/edit requests.
- Very specific: line 13
Use exstruct make when the user wants a new workbook created and populated.
- Very specific: line 14
Use exstruct patch when the user wants an existing workbook edited.
- Very specific: line 15
Use exstruct validate when workbook readability is uncertain or before a risky edit on an unfamiliar file.
- Very specific: line 17
Use exstruct ops list when the required operation is still unclear.
- Very specific: line 18
Use exstruct ops describe <op> when you know the likely op name but need the exact schema or constraints.
- Distinctive: line 25
Do not invent unsupported patch ops.
- Distinctive: line 26
Do not apply destructive edits immediately when the request is ambiguous.
- Very specific: line 27
Prefer --dry-run before risky edits.
- Very specific: line 38
Run --dry-run for risky edits and inspect PatchResult.
- Distinctive: line 40
Verify the result with the lightest step that still matches the user's risk.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ExStruct CLI
Use the existing editing CLI as the default local operational interface for ExStruct workbook create/edit requests.
Select a command
- Use
exstruct makewhen the user wants a new workbook created and populated. - Use
exstruct patchwhen the user wants an existing workbook edited. - Use
exstruct validatewhen workbook readability is uncertain or before a risky edit on an unfamiliar file. - Use
exstruct ops listwhen the required operation is still unclear. - Use
exstruct ops describe <op>when you know the likely op name but need the exact schema or constraints. - Hand the workflow off to MCP when the user needs host-owned path policy, transport mapping, artifact mirroring, or other server-managed behavior.
Safety rules
- Do not invent unsupported patch ops.
- Do not apply destructive edits immediately when the request is ambiguous.
- Prefer
--dry-runbefore risky edits. - Pin
--backend openpyxlwhen the dry run and the real apply must use the same engine. - Explain backend-specific failures directly instead of hiding them behind a generic retry.
Workflow
- Decide whether the request is create, edit, or actually an MCP-hosted task.
- Identify the needed op or inspect the public op schema.
- Validate the workbook when the file, backend, or request is uncertain.
- Run
--dry-runfor risky edits and inspectPatchResult. - Apply the real edit only after the planned change is acceptable.
- Verify the result with the lightest step that still matches the user's risk.
References
references/command-selection.mdreferences/safe-editing.mdreferences/ops-guidance.mdreferences/verify-workflows.mdreferences/backend-constraints.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

