Not loaded · from tec-knowledge-base
When planning or reviewing any architectural decision on the TEC platform — validate against C-47 Kernel Spec, check existing ADRs, and enforce Platform Constitution before any implementation.
Claude Code won't load this skill
It ships in tec-knowledge-base at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Guardian of the TEC Platform Constitution (C-47). No architectural decision passes without this validation.
□ Does this break any System Invariant? (C-47 §3)
□ Does this violate any of the 10 Forbidden Behaviors? (C-47 §4)
□ Does this weaken a downstream invariant? (Policy Precedence — C-47 §6)
□ Is there an existing ADR that covers this? (C-64)
□ Which service OWNS the affected entity? (C-68 Domain Ownership)
□ Does this require a new ADR? (if yes → use templates/new-adr/)
□ What is the blast radius? (which repos are affected?)
1. Kernel Invariants ← supreme authority (C-47)
2. Service Final Enforcement ← service says no → operation FAILS
3. Gateway Access Policy ← gateway says no → DENY
4. SDK Pre-validation ← contracts layer
5. UI Assumptions ← weakest — cannot override upstream
Rule: upstream layer NEVER weakens downstream invariant.
| Rule | Enforced At | Never Bypass |
|---|---|---|
| JWT verify() | Gateway + shared | Never use jwt.decode() |
| No localStorage tokens | Policy CI | HttpOnly cookies ONLY |
| DECIMAL(20,8) Pi amounts | DB schema | Never JS Number |
| balance >= 0 | DB constraint | Hard DB constraint |
| userId from session | Policy CI | Never from req.body |
| Payment state machine | payment-service | ALLOWED_TRANSITIONS only |
| Outbox pattern | payment-service | Never bypass outbox |
| BFF isolation | All frontends | /api/bff/* only |
/hub?pay=1 URL pattern| Entity | Owner Service | Forbidden |
|---|---|---|
| Principal / Session | tec-auth-service | Other services validating Pi tokens |
| Wallet / LedgerEntry | wallet (via gateway) | Direct DB mutation |
| Payment | tec-payment-service | Commerce creating payments directly |
| Order | tec-commerce-service | Payment service owning orders |
| Asset | tec-asset-service | Client-side ownership derivation |
Identity reads → STRONG (always)
Wallet balance write → STRONG (always)
Wallet balance read → STRONG (always)
Payment transitions → STRONG (always)
Notifications → EVENTUAL (ok)
Analytics → EVENTUAL (ok)
Commerce projections → EVENTUAL (ok)
What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", agents.1: Invalid string: must start with "./", agents.1: Invalid string: must end with ".md", agents.2: Invalid string: must start with "./", agents.2: Invalid string: must end with ".md", skills: Invalid input, author: Invalid input: expected object, received string
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", agents.1: Invalid string: must start with "./", agents.1: Invalid string: must end with ".md", agents.2: Invalid string: must start with "./", agents.2: Invalid string: must end with ".md", skills: Invalid input, author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
16 skills in this plugin
/bff-patternsWhen writing or modifying any BFF route (/api/bff/*) in any TEC app — enforce BFF-first rule, createHandler pattern, auth cookie reading, CSRF protection, and proper gateway proxying./charter-advisorWhen working on any app within the TEC ecosystem — before modifying code, architecture, or CLAUDE.md — load the app's Institutional Charter (C-100→C-115 infra apps + C-124→C-131 user-layer apps) to understand its engineering authority, security model, and P0/P1/P2 gaps./community-marketingWhen building or growing the TEC community on Pi Network channels (Pi Chat, Pi Forum, Telegram, Discord) — apply community-first growth, ambassador programs, and trust-building frameworks.Other plugins' skills for the same job