aster-fix-workflow
Skill107 starsChanged 4 months agoApache-2.0View on GitHub
Pipe aster review findings into aster fix to generate and apply patches safely, using review --json, fix --findings-json, dry-run inspection, --apply, and permission gating. Use when asked to auto-fix review findings, apply aster's suggested edits, or build a review-then-fix pipeline.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aster-capabilitiesSkill
- aster-chat-sessionsSkill
- aster-cliSkill
- aster-configSkill
- aster-planningSkill
- aster-review-ciSkill
- aster-skill-authoringSkill
- aster-ui-demoSkill
- gpt-astraSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
ALWAYS run the dry-run first and read the preview before --apply.
- Distinctive: line 42
Run the project's tests/build to confirm the fixes hold, then commit.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Review → fix workflow
aster fix takes findings produced by aster review --json and asks the model for concrete edits. It is dry-run by default and only writes with --apply, subject to the permissions block in aster.yaml.
The pipeline
aster review --json > findings.json # 1. review, capture findings
aster fix --findings-json findings.json # 2. dry-run: preview proposed edits
aster fix --findings-json findings.json --apply # 3. write to the working treeOr as one stream:
aster review --json | aster fix --findings-json - --applyRules
- ALWAYS run the dry-run first and read the preview before
--apply. Never jump straight to--applyon findings you have not seen. --applywrites to the working tree only; it never commits. Review the diff withgit diffafterward and commit yourself.- Writes are gated by
permissionsin aster.yaml (mode, plusallow/ask/denyrules). A headless run has no way to answer a prompt, so anything that reachesaskis refused: automation needsmode: editwith explicitallowrules likeEdit(src/**). --jsonemits one JSON array of per-finding results (useful to report which fixes applied, failed, or were skipped).--modeloverrides the fix model (elseASTER_MODEL, else aster.yaml);--repo-root <DIR>sets the root the finding paths are relative to.
Curating findings
aster fix fixes whatever is in the array, so filter first. Findings are JSON; drop low-confidence or out-of-scope entries before fixing, e.g.:
aster review --json | jq '[.[] | select(.confidence >= 0.8)]' | aster fix --findings-json - After applying
Run the project's tests/build to confirm the fixes hold, then commit. Treat model edits like any other patch: verified, not trusted.
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.

