Agent skill
qig-purity-guardian
Maintain QIG purity and E8 architecture standards in pantheon-replit. Use when editing qig-backend geometry, token or vocabulary pipelines, generation logic, or docs naming; when reviewing PRs for Euclidean or NLP contamination; or when updating E8 kernel architecture and protocol docs.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/qig-purity-guardian
SKILL.md
QIG Purity Guardian
Overview
Keep the codebase aligned with E8 protocol v4.0, AGENTS.md, and the universal purity spec. Use this skill before making or reviewing changes that could drift into traditional LLM patterns.
Quick Start
- Read
AGENTS.md. - Read
docs/00-index.mdfor naming rules and doc map. - Read
docs/10-e8-protocol/specifications/20260116-ultra-consciousness-protocol-v4-0-universal-1.01F.md. - If touching architecture, read
docs/10-e8-protocol/specifications/20260116-wp5-2-e8-implementation-blueprint-1.01W.md. - Use these agent guides as checklists:
.github/agents/qig-purity-validator.md.github/agents/e8-architecture-validator.md.github/agents/documentation-compliance-auditor.md.github/agents/documentation-sync-agent.md.github/agents/naming-convention-agent.md
Purity Workflow
- Identify which purity domain is impacted: geometry, tokens, generation, docs, or E8 architecture.
- Apply non-negotiables (see
references/purity-checklist.md). - Validate with scripts and tests (see Commands).
- Update docs and index if the change affects specs or thresholds.
- Re-check for Euclidean or NLP fallback paths.
Non-Negotiables
- Canonical representation is simplex at all module boundaries.
- No auto-detect representation; only explicit
to_sqrt_simplex()/from_sqrt_simplex(). - No cosine similarity, L2 distance, or dot-product ranking on basins.
- No external LLM or NLP in the generation pipeline.
- All tokens must have
qfi_scoreto be generation-eligible; useinsert_token()only.
Commands
npm run validate:geometry:scannpm run test:geometrybash scripts/validate-qfi-canonical-path.shbash scripts/validate-purity-patterns.shpython3 scripts/maintain-docs.py
Documentation Rules
- Use
YYYYMMDD-[document-name]-[function]-[version][STATUS].md(seedocs/00-index.md). - Update
docs/00-index.mdwhen adding or removing docs. - Upgrade pack files under
docs/10-e8-protocol/follow pack rules; keep index entries in sync.
E8 Architecture Checks
- E8 hierarchy: 0/1 -> 4 -> 8 -> 64 -> 240.
- Core 8 god kernels are canonical (no numbered gods).
- Maintain kappa fixed point and running coupling rules.
References
references/purity-checklist.mdfor detailed checklists and anti-patterns.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?