review-changes
Skill116 starsChanged 3 months agoApache-2.0View on GitHub
Review code changes in the AppClaw repo for correctness, CLI/VSCode extension consistency, and YAML flow parsing regressions. Use this skill whenever the user says "review my changes", "check my changes", "validate changes", "does this break anything", "review the diff", or any variation of wanting to verify that recent code modifications haven't broken the CLI, VSCode extension, or YAML flow parsing. Also use when the user is about to commit or push and wants a sanity check.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/nvxtheir own version, first seen Oct 3, 2026
- azborgonovo/ai-skillstheir own version, first seen Sep 7, 2026
- imMamdouhaboammar/get-things-donetheir own version, first seen Sep 1, 2026
- fulopkovacs/fuko-skillstheir own version, first seen Aug 30, 2026
- jjxmonster/skillstheir own version, first seen Aug 19, 2026
- leaf76/agent-skillstheir own version, first seen Aug 17, 2026
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- tirth8205/code-review-graph★ 32ksame name
- docker/docs★ 4.7ksame name
- microsoft/nvx★ 296same name
- timothywarner-org/claude-code★ 224same name
- jjxmonster/skills★ 8same name
- mrclrchtr/skills★ 8same name
- munvard/dockterm★ 8same name
- imMamdouhaboammar/get-things-done★ 2same name
- Lucface/claude-skills★ 1same name
- renatorozas/claude-code-config★ 1same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- emil-design-engSkill
- generate-appclaw-flowSkill
- use-appclaw-agent-cliSkill
- use-appclaw-cliSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 8 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
When triggered, perform these checks in order:
- Distinctive: line 30
Run git diff (staged + unstaged) and git diff --cached to see all pending changes.
- Distinctive: line 39
If any shared contract files changed, or if extension/CLI files changed:
- Very specific: line 43
Read src/json-emitter.ts (the JsonEvent type union)
- Very specific: line 44
Read vscode-extension/src/bridge.ts (the AppclawEvent type and individual event interfaces)
- Very specific: line 50
Read src/config.ts (the Zod schema for env vars)
- Very specific: line 51
Read the getEnvFromSettings() function in vscode-extension/src/bridge.ts
- Very specific: line 52
Read vscode-extension/package.json contributes.configuration section
- Distinctive: line 53
Verify every env var the CLI reads has a corresponding VS Code setting + mapping
- Distinctive: line 72
Run the test suites to verify parsing still works:
- Distinctive: line 82
If tests fail, report which tests failed and why.
- Distinctive: line 86
Read the changed regex patterns
- Distinctive: line 87
Check each example YAML flow file against the parser mentally:
- Very specific: line 132
If the user only changed files that don't affect the CLI/extension contract (e.g., only src/agent/ files), skip the cross-surface check and …
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review Changes
This skill reviews code changes in AppClaw to catch breakage across two surfaces (CLI and VSCode extension) and validate YAML flow parsing. AppClaw has a fragile contract between these surfaces — the CLI emits NDJSON events that the extension parses, and changes to either side can silently break the other.
Why this matters
AppClaw has three main failure modes when code changes:
- CLI ↔ Extension drift — The CLI's
src/json-emitter.tsdefines event types. The extension'svscode-extension/src/bridge.tsmirrors those types manually. When someone adds a field to one side, the other silently ignores it, causing subtle bugs. - YAML flow parsing regressions — Natural language parsing in
src/flow/natural-line.tsuses regex patterns that interact in surprising ways. A change to one regex can break another flow format. - Config drift — The CLI reads env vars via
src/config.ts(Zod schema). The extension maps VS Code settings to env vars inbridge.ts:getEnvFromSettings(). New config options added to one side may not appear in the other.
Review process
When triggered, perform these checks in order:
Step 1: Identify what changed
Run git diff (staged + unstaged) and git diff --cached to see all pending changes. Categorize the changed files:
- Shared contract files (high risk):
src/json-emitter.ts,src/flow/types.ts,src/config.ts - CLI-side flow files (medium risk):
src/flow/natural-line.ts,src/flow/parse-yaml-flow.ts,src/flow/run-yaml-flow.ts,src/flow/variable-resolver.ts,src/flow/llm-parser.ts - Extension files (medium risk): anything under
vscode-extension/src/ - Other files (lower risk): agent, perception, vision, etc.
Step 2: Cross-surface consistency check
If any shared contract files changed, or if extension/CLI files changed:
Event type check:
- Read
src/json-emitter.ts(theJsonEventtype union) - Read
vscode-extension/src/bridge.ts(theAppclawEventtype and individual event interfaces) - Compare every event variant — field names, types, optional vs required
- Flag any mismatch (missing fields, type differences, new events not mirrored)
Config mapping check:
- Read
src/config.ts(the Zod schema for env vars) - Read the
getEnvFromSettings()function invscode-extension/src/bridge.ts - Read
vscode-extension/package.jsoncontributes.configuration section - Verify every env var the CLI reads has a corresponding VS Code setting + mapping
Report format:
## Cross-Surface Consistency
### Event Types
- [OK] connected — fields match
- [DRIFT] flow_done — CLI has `failedPhase?: string` and `phaseResults?: unknown[]`, extension bridge is missing both
- [NEW] screen — not handled in extension's formatEvent (returns null)
### Config Mapping
- [OK] LLM_PROVIDER — mapped via llmProvider setting
- [MISSING] NEW_CONFIG_VAR — added to CLI config but no VS Code setting existsStep 3: YAML flow parsing validation
Run the test suites to verify parsing still works:
# Run vitest for flow parsing, variable resolution, and cross-surface validation
cd /Users/saikrishna/Documents/git/appclaw && npm test
# Run the integration verification script
npx tsx tests/verify-parsing.tsIf tests fail, report which tests failed and why. If tests pass, confirm that.
Then, if natural-line.ts or parse-yaml-flow.ts changed, do an additional manual audit:
- Read the changed regex patterns
- Check each example YAML flow file against the parser mentally:
examples/flows/google-search.yaml(legacy structured:tap:,type:,done:)examples/flows/vodqa-natural.yaml(natural language flat)examples/flows/settings-wifi-on.yaml(structured with comments)examples/flows/youtube-search-appium3.yaml(mixed natural + structured)tests/flows/youtube-phased.yaml(phased with variables)flows/youtube.yaml(legacy flat with phases)
- Flag any step that would now parse differently or fail
Step 4: TypeScript compilation check
cd /Users/saikrishna/Documents/git/appclaw && npm run typecheckReport any type errors, especially ones related to the changed files.
Step 5: Summary report
Present findings as a structured report:
# Change Review Summary
## Files Changed
- list of files with risk level
## Cross-Surface Issues
- any drift or mismatches found (or "None found")
## YAML Parsing
- test results (pass/fail counts)
- any regressions identified
## Type Check
- clean or errors found
## Recommendations
- specific fixes needed, if anyBe direct — if everything looks good, say so briefly. If there are issues, be specific about what's wrong and suggest the fix.
Important edge cases
- If the user only changed files that don't affect the CLI/extension contract (e.g., only
src/agent/files), skip the cross-surface check and say so. - Tests use vitest (
npm test). The cross-surface contract test (tests/flow/cross-surface.test.ts) automatically validates CLI ↔ extension event parity. - The extension has its own build step (
cd vscode-extension && npm run compile). If extension files changed, run that too.
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.

