
Batch member cites a path only a non member adds
Checks that a batch of pull requests does not cite file paths that will never exist
Batch member cites a path only a non member adds is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Batch member cites a path only a non member adds
This skill tackles a gap that ordinary merge gates miss: a change may mention a file path in comments, docstrings or data files, while that file only arrives in a separate pull request outside the batch. It walks through computing the set of paths the merged tree will contain, extracting path-like strings from the lines each member adds, and subtracting one from the other to list dangling citations.
The workflow is shell-based and uses git commands such as ls-tree, diff and cat-file, along with comm and grep. It includes guidance on sorting, on sorting out false positives like placeholders, relative and runtime-built paths, and on choosing between pulling the sibling in, rewriting the citation, or hedging it with a tracked follow-up. It also covers a verification step that confirms the check can actually fail.
It expects a git repository with a base branch and member branches, and a working shell. The author's notes say the approach was measured on a real three-member batch.
When your agent uses it
You wrote something correct that the default reader cannot reach: a batch member citing a path only a NON-member adds, or a rule, ruling or ledger sitting on an unlanded branch.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (17 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the agent-traffic-control plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add wan-huiyan/agent-traffic-control
/plugin install agent-traffic-control@wan-huiyan-agent-traffic-controlOr copy only this skill to ~/.claude/skills/batch-member-cites-a-path-only-a-non-member-adds:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/batch-member-cites-a-path-only-a-non-member-adds &&
cp -R "$tmp/plugins/agent-traffic-control/skills/batch-member-cites-a-path-only-a-non-member-adds" ~/.claude/skills/batch-member-cites-a-path-only-a-non-member-adds &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/batch-member-cites-a-path-only-a-non-member-adds inside it instead.
Copy the skill folder to ~/.agents/skills/batch-member-cites-a-path-only-a-non-member-adds to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/batch-member-cites-a-path-only-a-non-member-adds &&
cp -R "$tmp/plugins/agent-traffic-control/skills/batch-member-cites-a-path-only-a-non-member-adds" ~/.agents/skills/batch-member-cites-a-path-only-a-non-member-adds &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/batch-member-cites-a-path-only-a-non-member-adds inside it instead.
Copy the skill folder to ~/.cursor/skills/batch-member-cites-a-path-only-a-non-member-adds to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/batch-member-cites-a-path-only-a-non-member-adds &&
cp -R "$tmp/plugins/agent-traffic-control/skills/batch-member-cites-a-path-only-a-non-member-adds" ~/.cursor/skills/batch-member-cites-a-path-only-a-non-member-adds &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/batch-member-cites-a-path-only-a-non-member-adds inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/wan-huiyan/agent-traffic-control.git --path plugins/agent-traffic-control/skills/batch-member-cites-a-path-only-a-non-member-addsOr copy the folder to ~/.gemini/skills/batch-member-cites-a-path-only-a-non-member-adds yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/batch-member-cites-a-path-only-a-non-member-adds:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/batch-member-cites-a-path-only-a-non-member-adds &&
cp -R "$tmp/plugins/agent-traffic-control/skills/batch-member-cites-a-path-only-a-non-member-adds" ~/.copilot/skills/batch-member-cites-a-path-only-a-non-member-adds &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/batch-member-cites-a-path-only-a-non-member-adds inside it instead.
Get the folder:
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.gitThen copy agent-traffic-control/plugins/agent-traffic-control/skills/batch-member-cites-a-path-only-a-non-member-adds into your agent's skills folder as batch-member-cites-a-path-only-a-non-member-adds. Agents that support SKILL.md read one folder per skill.
What it does
- Post-merge path set
- Builds the list of paths the target branch will hold after the batch merges, using base tree plus added files.
- Citation extraction
- Pulls path-shaped strings from the lines each member adds, with an extension list that can be tuned per repository.
- Dangling citation subtraction
- Compares cited paths with the post-merge tree to list references to files that will not exist.
- False positive triage
- Explains common benign survivors such as placeholders, relative links, runtime-generated paths and external paths.
- Self-test and verification
- Shows how to prove the check can fail and how to confirm citations against the target branch after landing.
- Rule visibility check
- Adds a companion check to confirm that a rule or ledger is readable from the main branch, not only from unlanded branches.
Good for
- Check a batch of pull requests for comments that cite files only another pending pull request adds
- Find documentation links in a merge train that point to paths missing from main
- Audit a tracker or data file for path references that do not resolve after landing
- Verify that a coordination rule is visible on the default branch before relying on it
Batch member cites a path only a non member adds FAQ
What does Batch member cites a path only a non member adds need to run?
A git repository with the base branch and the member branch heads available, plus a shell with grep, sort and comm. It uses three-dot diffs against the base.
What does Batch member cites a path only a non member adds change in the repository?
Nothing directly. It writes temporary files under /tmp and reports missing paths; fixing a dangling citation is left to the user.
Does Batch member cites a path only a non member adds trigger automatically?
No. The skill has disable-model-invocation set, so it is run deliberately as part of batch assembly.
Is Batch member cites a path only a non member adds a blocking gate?
The author describes it as advisory. The measured noise is high, so every survivor needs to be reviewed by hand.
How do I install Batch member cites a path only a non member adds in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/batch-member-cites-a-path-only-a-non-member-adds to use it in all your projects, or to .claude/skills/batch-member-cites-a-path-only-a-non-member-adds in one project. Or install the agent-traffic-control plugin, which includes it: /plugin marketplace add wan-huiyan/agent-traffic-control, then /plugin install agent-traffic-control@wan-huiyan-agent-traffic-control.
Does Batch member cites a path only a non member adds run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Batch member cites a path only a non member adds?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Batch member cites a path only a non member adds?
The closest alternatives to Batch member cites a path only a non member adds are Batch merge subject is not evidence a member landed, Clean merge lands line guard on a value neither branch predicted, Git post merge cleanup, Fix merge conflicts and Control tower.
Where this comes from
- Description: from the skill's own SKILL.md.
More from wan-huiyan/agent-traffic-control

Teaches agents to refuse a flawed instruction only with measured evidence attached
- Open source
- 5 GitHub stars
- Developer tools

Catches silent deletions when a subagent edits large files with repeated blocks
- Open source
- 5 GitHub stars
- Developer tools

Holds a pull request from merging by stopping its agent, disarming auto-merge, then
- Open source
- 5 GitHub stars
- Developer tools

Checks whether a pull request truly landed by comparing file content, not commit subjects
- Open source
- 5 GitHub stars
- Developer tools

Checks a branch for stale-base changes that would silently undo newer main work
- Open source
- 5 GitHub stars
- Developer tools

Checks whether a CI skip rule actually saves money or only moves job minutes
- Open source
- 5 GitHub stars
- Developer tools



