Detect repository changes using a git-first fingerprint strategy and classify them as none, non-material, or material to control downstream agent execution.
From claude-dev-ecosystemnpx claudepluginhub oiranca/claude-dev-ecosystemThis skill is limited to using the following tools:
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides slash command development for Claude Code: structure, YAML frontmatter, dynamic arguments, bash execution, user interactions, organization, and best practices.
Use this skill as the mandatory first step of every cycle.
Its job is to detect whether the repository changed in a meaningful way and decide whether downstream agents should run. This skill does not analyze code; it only detects and classifies change.
.agent-cache/AGENT_STATE.json..agent-cache/AGENT_STATE.json is missing or corrupt, run anyway and rebuild state..agent-cache/AGENT_STATE.json.docs/DECISIONS.md.Use a git-first working-tree strategy.
git diff --name-only --cached.git diff --name-only.git ls-files --others --exclude-standard.Combine results to detect staged files, unstaged files, and untracked files.
Classify the cycle as one of the following:
material_change = false.material_change = false.material_change = true.Treat these as material signals:
package.json.tsconfig.*.astro.config.*.vite.config.*.next.config.*.nuxt.config.*.svelte.config.*.Dockerfile.docker-compose.*.netlify.toml.vercel.json..github/workflows/*.src/pages/**.src/routes/**.app/**.For changed files only:
changed_files.Use fallback mode if not inside a git repository, git commands fail, or changed file count exceeds 200.
detection_mode = "legacy-fallback".detection_mode = "git-working-tree"..agent-cache/AGENT_STATE.json. Do not read source files for context..agent-cache/AGENT_STATE.json is corrupt JSON, delete it and treat the cycle as a first run.docs/ does not exist, create it.Write the following fields to .agent-cache/AGENT_STATE.json:
fingerprintprevious_fingerprintcycle_countlast_runmaterial_changechange_typedetection_modechanged_filesfiles_hashedPrint only short structured summary lines:
Do not print inline code or verbose debug output.
Upon completion, the agent (typically stack-analyzer) must Communicate the result to the Shared Task List.
change_type = "none": Stop downstream execution; return exit code 2; log the skip in docs/DECISIONS.md.change_type = "non-material": Continue with limited downstream scope; log the reduced-scope path in docs/DECISIONS.md.change_type = "material": Continue with full downstream evaluation; log the full path in docs/DECISIONS.md.