repo-a-policy-selftest-gate
Enforce Repo A DDC policy and acceptance gates before PRs. Use when changing policy files, node runtime behavior, guardrail-sensitive config, or validation tooling that must satisfy AGENTS.md acceptance commands.
Best use case
repo-a-policy-selftest-gate is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Enforce Repo A DDC policy and acceptance gates before PRs. Use when changing policy files, node runtime behavior, guardrail-sensitive config, or validation tooling that must satisfy AGENTS.md acceptance commands.
Teams using repo-a-policy-selftest-gate should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/repo-a-policy-selftest-gate/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How repo-a-policy-selftest-gate Compares
| Feature / Agent | repo-a-policy-selftest-gate | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Enforce Repo A DDC policy and acceptance gates before PRs. Use when changing policy files, node runtime behavior, guardrail-sensitive config, or validation tooling that must satisfy AGENTS.md acceptance commands.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Repo A DDC Policy and Selftest Gate Use this skill to run required pre-PR validation in `<PRIVATE_REPO_A>`. ## Workflow 1. Review `AGENTS.md`, `INSTRUCTIONS.md`, and policy manifests before coding. 2. Run lint/type gates. 3. Run mesh-ready selftest against `config/device_policy.json`. 4. Run focused tests for changed modules. 5. Ensure policy/config changes remain documented and intentional. ## Scope Boundary Use this skill for `<PRIVATE_REPO_A>` policy/selftest acceptance gates only. Do not use this skill for: 1. `<PRIVATE_REPO_C>` policy/schema or trace/ranking contracts. 2. General boundary-governance checks in other repos. 3. Runtime bridge or hardware troubleshooting lanes. ## Required Commands Run from `<PRIVATE_REPO_A>` root: ```bash ruff check . mypy repo_a_node python -m repo_a_node --policy config/device_policy.json --selftest config/mesh_ready_selftest.yaml pytest -q ``` ## Policy Safety Notes - Never hardcode secrets, URLs, or policy overrides. - Do not relax canary/redundancy defaults without docs and policy updates. - Keep governance boundaries aligned with `BOUNDARIES.md`. ## Reference - `references/gate-checklist.md` ## Loopback If this lane is unresolved, blocked, or ambiguous: 1. Capture current evidence and failure context. 2. Route back through `$skill-hub` for chain recalculation. 3. Resume only after the updated chain returns a deterministic next step.
Related Skills
repo-metadata
This skill should be used when the user asks to "update repo description", "improve repository description", "generate topics", "add labels to repo", "optimize github metadata", "make repo more discoverable", "improve repo SEO", "update project description", or needs to create engaging repository descriptions and topics that improve discoverability. Analyzes project files to generate optimized GitHub metadata.
repo-atlas
Build a self-contained persistent context system (atlas) for any repository. Use when asked to create a repo map, generate codebase documentation for LLM agents, set up an atlas, or create onboarding docs for a codebase. Also use when asked to "map this repo", "document this codebase", or "create context docs".
PolicyPulse Development
AI-powered synthetic population simulator with clean architecture, Python type safety, and professional dashboard design patterns
analysis-report
Generates comprehensive, structured research reports.
agent-multi-repo-swarm
Agent skill for multi-repo-swarm - invoke with $agent-multi-repo-swarm
acc-create-aggregate
Generates DDD Aggregates for PHP 8.5. Creates consistency boundaries with root entity, domain events, and invariant protection. Includes unit tests.
repoint-branch
Extract independent changes from a feature branch into a new PR targeting main.
github-multi-repo
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration
add-repository
Add a new Git repository to the message registry for automatic message type loading. Use when the user wants to support message types from a new ROS2 repository, or when adding support for a new message package.
Release Checklist Gate
Checklist gate for production release - must pass all items before deploying to production.
optimise-cursor-repo
Audit a repository and produce prioritised recommendations for improving Cursor performance and developer experience. Use when the user wants to optimise their repo for Cursor, improve indexing, add rules, or assess their Cursor configuration.
fix-repo
Improve a specific repo's corpus conformance by fixing its top diverging cops in parallel using worktree-isolated teammates.