Skip to content
Back to skills

Repo A Policy Selftest Gate

ASecurity

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.

  • 57 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 31, 2026
developmentpythongobashnode

Security analysis

A100/100

Scanned May 31, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill repo-a-policy-selftest-gate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repo A Policy Selftest Gate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Repo A Policy Selftest Gate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-repo-a-policy-selftest-gate/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-repo-a-policy-selftest-gate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: repo-a-policy-selftest-gate
description: 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.
---

# 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.