charter-first
CommunityLoad page charter before any TSX edits.
Product & Management#guardrails#invariants#charter#contract-driven development#ui editing#MCP tool#anti-hooks
Authorwagnerra23
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents AI from making unsafe or non-compliant UI changes by forcing the active charter contract to be loaded before editing any .tsx file that has a neighboring .charter.md, reducing drift from agreed mission, invariants, UX targets, and anti-hooks.
Core Features & Use Cases
- Pre-edit charter enforcement: Ensures the charter is fetched first when working on pages/features with a matching .charter.md next to them (Charter > Spec).
- Live mission/goals invariants: Loads the canonical sections (Mission, Goals, Non-Goals, UX targets, automation hooks, and Anti-hooks) so edits follow production-approved intent.
- Draft safety warnings: When charters are in draft/rascunho/proposto status, surfaces warnings about missing or sensitive sections (especially Non-Goals and Anti-hooks) to avoid hallucinated constraints.
Quick Start
Before editing the file resources/js/Pages/Repair/Index.tsx, ask the AI to call the MCP tool charter-fetch with page_id set to the related Index.charter.md.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: charter-first Download link: https://github.com/wagnerra23/oimpresso.com/archive/main.zip#charter-first Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.