claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
Verifies workspace state and staged changes as a read-only preflight. Use before commits or PRs to confirm staged set is clean and correct.
Claude Code
$ npx -y skills add athola/claude-night-market --skill git-workspace-review --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill git-workspace-review -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill git-workspace-review -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill git-workspace-review -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill git-workspace-review -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill git-workspace-review -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill git-workspace-review -a windsurf -y
name: git-workspace-review description: Verifies workspace state and staged changes as a read-only preflight. Use before commits or PRs to confirm staged set is clean and correct. alwaysApply: false category: workspace-ops tags: - git - preflight - status - diff - staged tools: [] complexity: low estimated_tokens: 500 modules: - modules/git-commands.md role: library
Run `git status` after review to verify workspace state matches expectations.
Run `pytest plugins/sanctum/tests/test_git_workspace_review.py` to validate review workflow.
Use this skill before workflows that depend on repository state, such as commit message generation, PR preparation, or release notes. Run it once per session or whenever staged changes are modified.
1. `git-review:repo-confirmed` 2. `git-review:status-overview` 3. `git-review:code-quality-check` 4. `git-review:diff-stat` 5. `git-review:diff-details`
Mark each item as complete as you finish the corresponding step.
Run `pwd` to confirm you are in the correct repository directory. Execute `git status -sb` to view the current branch and short status, then capture the branch name and upstream information.
Analyze the `git status -sb` output for staged and unstaged changes. Stage or unstage files so that subsequent workflows operate on the intended diff.
Run `make lint` from the repository root to validate code quality before committing. It checks ruff format, runs the per-plugin ruff check, and runs bandit. It rewrites nothing: a check that edits the tree cannot report the diff it was asked to find. When it fails it names `make fix`, which is the mutating pair (`ruff format` plus `ruff check --fix`). The root Makefile defines no `format` target, and the plugin Makefiles that define one only apply inside their own directory.
Fix any errors immediately. Do not bypass pre-commit hooks with `--no-verify`. This check identifies issues early and avoids late-stage pipeline failures.
Run `git diff --cached --stat` for staged changes (or `git diff --stat` for unstaged work). Note the number of files modified and identify hotspots with large insertion or deletion counts.
When sem is available (see `leyline:sem-integration`), also run `sem diff --format plain --staged` to display an entity-level summary alongside the stat output. This shows which functions, classes, and methods changed rather than just line counts.
Run `git diff --cached` to examine the actual changes. For unstaged work, use `git diff`. Identify key themes, such as Makefile adjustments or new skill additions, to provide context for downstream summaries.
Downstream workflows rely on this context without re-running git.
the next commit, with nothing intended left unstaged
named to the user
summary that follows
If pre-commit hooks block a commit, resolve the reported issues instead of using `--no-verify`. `make lint` fixes styling automatically and surfaces the logical failures that remain. If merge conflicts occur, use `git merge --abort` to return to a clean state before retrying.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.