boundary-guard
Skill1 starsChanged 20 days agoMITView on GitHub
Restricts Phase 6 file modifications strictly to paths listed in the active task's files_allowed field in docs/tasks/TASKS.md, halting on missing scopes or unauthorized edits.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- platform-cliSkill
- platform-desktopSkill
- platform-mobileSkill
- platform-pluginSkill
- platform-webSkill
- agentic-security-guardSkill
- architecture-guardSkill
- artifact-analyzerSkill
- code-quality-gateSkill
- cognitive-load-auditorSkill
- context-groundingSkill
- copy-auditSkill
- cost-estimatorSkill
- dast-scannerSkill
- database-architectSkill
- design-auditSkill
- design-system-generatorSkill
- design-system-integratorSkill
- environment-preflightSkill
- evidence-gated-blockingSkill
- human-in-the-loopSkill
- lessons-learnedSkill
- mcp-discoverySkill
- meta-judgeSkill
- ponytail-wrapperSkill
- prd-generatorSkill
- prompt-historySkill
- sast-scannerSkill
- sca-secret-scannerSkill
- security-context-managerSkill
- security-gateSkill
- security-hardeningSkill
- snapshot-rollbackSkill
- stack-advisorSkill
- task-breakdownSkill
- tech-spec-writerSkill
- test-suite-auditorSkill
- ui-interaction-authoritySkill
- viewport-qaSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Read the active task in docs/tasks/TASKS.md and locate its files_allowed field.
- Very specific: line 19
Before creating, modifying, or deleting any file, normalize its workspace-relative path and check whether it appears explicitly in the …
- Very specific: line 21
If the target file is NOT listed in files_allowed, STOP immediately.
- Very specific: line 22
Ask the user for permission to expand the task scope, explaining why the extra file needs changes, and update files_allowed in …
- Very specific: line 25
Every file touched during Phase 6 is explicitly authorized in the active task's files_allowed field (or approved for scope expansion by the …
- Very specific: line 33
Never modify files outside the active task's files_allowed scope.
- Very specific: line 34
Never silently expand files_allowed without user confirmation.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Boundary Guard
Trigger
Mandatory before any file creation, edit, or deletion during Phase 6 (Implementation).
Process
- Read the active task in
docs/tasks/TASKS.mdand locate itsfiles_allowedfield. - If
files_allowedis missing or empty:- HALT immediately without editing any source file.
- Request updating
docs/tasks/TASKS.mdso the task explicitly defines itsfiles_allowedpaths before implementation continues.
- Check Target File Path:
- Before creating, modifying, or deleting any file, normalize its workspace-relative path and check whether it appears explicitly in the active task's
files_allowedlist.
- Before creating, modifying, or deleting any file, normalize its workspace-relative path and check whether it appears explicitly in the active task's
- Halt on Out-of-Scope File:
- If the target file is NOT listed in
files_allowed, STOP immediately. - Ask the user for permission to expand the task scope, explaining why the extra file needs changes, and update
files_allowedindocs/tasks/TASKS.mdonly after approval.
- If the target file is NOT listed in
Output Contract
Every file touched during Phase 6 is explicitly authorized in the active task's files_allowed field (or approved for scope expansion by the user).
Checklist
- Active task in
docs/tasks/TASKS.mddefinesfiles_allowed - Every target file path verified against
files_allowedprior to editing - Out-of-scope edits halted for explicit user permission
Prohibitions
- Never modify files outside the active task's
files_allowedscope. - Never silently expand
files_allowedwithout user confirmation.
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.

