Collect changed files from git diff and explicit paths, categorize by type, output manifest.
/plugin marketplace add reedom/claude-code-commands/plugin install reedom-quick-refactor@reedom-commands-and-skillsThis skill is limited to using the following tools:
scripts/cleanup.shscripts/collect-info.shSkill for collecting files to review: runs git diff against target branch, merges explicit files, categorizes by type.
| Arg | Default | Description |
|---|---|---|
--against | origin/main | Target branch for diff comparison |
--files | (none) | Comma-separated explicit file paths |
Run:
${CLAUDE_PLUGIN_ROOT}/skills/collect-commits-and-files/scripts/collect-info.sh --against <branch> --files <paths>
Returns JSON manifest:
{
"temp_dir": "<git-root>/.tmp/quick-refactor-XXXXXX",
"repo_root": "/path/to/repo",
"against_branch": "origin/main",
"paths": {
"diff_dir": "<temp_dir>/diff",
"files_dir": "<temp_dir>/files",
"reviews_dir": "<temp_dir>/reviews"
},
"summary": {
"total_files": 10,
"source": 6,
"test": 2,
"config": 1,
"docs": 1
},
"project_rules": ["/path/to/CLAUDE.md", "/path/to/.kiro/steering.md"]
}
If script returns error, report to caller:
{"error": "No files to review", "error_code": "NO_FILES"}
Error codes:
NOT_GIT_REPO: Not in a git repositoryBRANCH_NOT_FOUND: Target branch does not existNO_FILES: No files found to reviewNO_EXISTING_FILES: All files are deletedThe script creates temp directory at <git-root>/.tmp/ (falls back to system temp):
<git-root>/.tmp/
├── .gitignore # Contains `*` to ignore all temp files
└── quick-refactor-XXXXXX/
├── diff/ # Individual file diffs
│ └── <md5hash>.diff
├── files/ # File paths by category (JSON arrays)
│ ├── source.json # ["path/to/file1.ts", "path/to/file2.ts"]
│ ├── test.json
│ ├── config.json
│ └── docs.json
└── reviews/ # Empty, for review agent outputs
After processing is complete, run:
${CLAUDE_PLUGIN_ROOT}/skills/collect-commits-and-files/scripts/cleanup.sh <temp_dir>
| Category | Description | Example patterns |
|---|---|---|
| source | Source code files | *.ts, *.py, *.go |
| test | Test files | *_test.go, *.spec.ts, tests/ |
| config | Configuration | *.yaml, .eslintrc, .github/ |
| docs | Documentation | *.md, docs/ |
Return the manifest JSON directly. Orchestrator uses this to:
paths.files_dirsummary countspaths.reviews_dirtemp_dir on completionCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.