Skip to content
Back to skills

Ywc Architecture Invariants

ASecurity

(ywc) Validate an optional repository-root architecture-invariants.json contract and bounded normalized edge evidence. Triggers: "architecture invariants", "architecture boundary", "architecture contract", "boundary validation". Validation-only in v1; never executes verifier data. Do not use for: verifier execution, general architecture advisory or design trade-off judgment (use ywc-architect), or security review (use ywc-security-audit / ywc-security-engineer).

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentssecurity

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add yongwoon/ywc-agent-toolkit --skill ywc-architecture-invariants --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ywc Architecture Invariants?

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

Security grade badge for Ywc Architecture Invariants
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yongwoon-ywc-architecture-invariants/badge)](https://www.skillsdirectory.com/skills/yongwoon-ywc-architecture-invariants)

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: ywc-architecture-invariants
description: >-
  (ywc) Validate an optional repository-root architecture-invariants.json
  contract and bounded normalized edge evidence. Triggers: "architecture
  invariants", "architecture boundary", "architecture contract",
  "boundary validation". Validation-only in v1; never executes verifier data.
  Do not use for: verifier execution, general architecture advisory or design
  trade-off judgment (use ywc-architect), or security review (use
  ywc-security-audit / ywc-security-engineer).
---

# ywc-architecture-invariants

Use the shared helper to validate the optional root `architecture-invariants.json`,
validate normalized evidence, and audit a bounded changed-path scope. The contract
is JSON-compatible and closed: unknown fields, unsafe paths, invalid globs,
ambiguous mappings, and incomplete coverage return `NEEDS_CONTEXT`.

## Interface

```text
ywc-architecture-invariants --mode draft --proposal <path> --output <path> --approve-write
ywc-architecture-invariants --mode validate [--manifest <path>]
ywc-architecture-invariants --mode audit --changed-path <path>... --evidence <path> [--manifest <path>]
```

V1 launches zero child processes and accepts no executable/verifier fields.
Omitted manifest discovery checks only the repository root. An absent discovered
manifest returns `N/A — no architecture contract`; an explicit missing or invalid
manifest never falls back. See [references/contracts.md](references/contracts.md)
for the exact schemas and verdict precedence.

Files in this skill

  • README.en.md270 B
  • README.es.md151 B
  • README.ja.md178 B
  • README.ko.md188 B
  • README.md178 B
  • README.zh.md133 B
  • SKILL.md1.5 KB
  • agents/openai.yaml285 B
  • evals/evals.json3.6 KB
  • references/contracts.md2.7 KB

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.