Go to the source code of this file.
Namespaces | |
| namespace | audit_agent_setup |
Functions | |
| dict[str, str] | audit_agent_setup.frontmatter (Path path) |
| Parse the simple YAML front matter used by a skill file. | |
| dict[str, Path] | audit_agent_setup.skill_entries (Path root) |
| Return skill directories directly below one discovery root. | |
| set[str] | audit_agent_setup.entry_names (Path root) |
| Return every direct child name under a skill discovery root. | |
| None | audit_agent_setup.remove_entry (Path path) |
| Remove one skill-tree entry without following a directory symlink. | |
| None | audit_agent_setup.synchronize () |
| Materialize byte-identical Claude skill copies from the canonical tree. | |
| subprocess.CompletedProcess[str] | audit_agent_setup.git (*str args) |
| Run Git with machine-global excludes disabled. | |
| list[str] | audit_agent_setup.audit () |
| Validate shared instructions, skill discovery copies, and local-settings hygiene. | |
| argparse.Namespace | audit_agent_setup.parse_args (list[str] argv) |
| Parse audit command-line arguments. | |
| int | audit_agent_setup.main (list[str]|None argv=None) |
| Synchronize when requested, then fail closed on portability drift. | |
Variables | |
| audit_agent_setup.REPO_ROOT = Path(__file__).resolve().parents[2] | |
| str | audit_agent_setup.CANONICAL_ROOT = REPO_ROOT / ".agents" / "skills" |
| str | audit_agent_setup.CLAUDE_ROOT = REPO_ROOT / ".claude" / "skills" |
| dict | audit_agent_setup.EXPECTED_SKILLS |
| str | audit_agent_setup.LOCAL_SETTINGS = ".claude/settings.local.json" |
| str | audit_agent_setup.LOCAL_SETTINGS_PATTERN = "/.claude/settings.local.json" |