Progressive Retrieval-Optimised Information Structure Maker
A methodology for transforming monolithic system prompts into Claude Projects-optimised knowledge architectures.
Large system prompts hit Claude's context limits and degrade retrieval accuracy. Claude Projects solves this with knowledge files, but poorly structured files lead to retrieval failures—Claude fetches the wrong content or misses relevant information entirely.
PRISM transforms sprawling prompts into retrieval-optimised knowledge systems using a three-layer architecture:
| Layer | Purpose | Size Target |
|---|---|---|
| Instructions | Routes queries to content (conductor pattern) | 4,000-8,000 chars |
| Operational | HOW the system works (workflows, decisions) | 2,000-5,000 chars/file |
| Reference | WHAT the system knows (concepts, examples) | 2,000-6,000 chars/file |
Core Insight: Instructions should be a CONDUCTOR, not a CONTAINER. They route to content; they don't hold it. If Instructions exceed 8,000 chars, you're putting sheet music in the conductor.
- Conductor Pattern — Instructions route to knowledge; they don't contain it
- Chunk Resilience — Content survives Claude's 400-800 token chunking
- Hybrid Retrieval Optimisation — Balanced for both BM25 keywords and semantic embeddings
- 8 Quality Gates — Systematic verification before delivery
- 16 Anti-Patterns — Common mistakes to avoid
Upload the contents of Claude Project/ to a new Claude Project:
INSTRUCTION.md→ Project InstructionsProject-Files/*→ Project Knowledge
Give Claude your monolithic prompt and ask it to apply PRISM methodology. The eight-phase process will:
- Classify — Tag content as OPERATIONAL or REFERENCE
- Ingest — Extract content by layer
- Architect — Design domain structure
- Instructions — Create routing layer
- Domain Files — Write operational + reference files
- Optimise — Balance retrieval signals
- Verify — Test with 30+ queries
- Package — Organise and deliver
Upload the generated files to a new Claude Project and run the test matrix to verify retrieval accuracy.
├── Claude Project/ # The PRISM methodology itself
│ ├── INSTRUCTION.md # Core routing instructions
│ └── Project-Files/ # Phase guides, templates, reference docs
│
├── claude-code-expert-system/ # Complete example implementation
│ ├── INSTRUCTIONS.md # Conductor layer
│ ├── operational/ # 4 workflow files
│ ├── reference/ # 15 domain files
│ └── supporting/ # 5 cross-cutting files
│
└── docs/ # Architecture docs and tutorials
├── SOLUTION-ARCHITECTURE.md
└── Learning-how-it-works/
The claude-code-expert-system/ directory demonstrates PRISM v3.4 applied to Claude Code documentation:
- Source: Claude Code official documentation
- Output: 27 files across three layers
- Test Coverage: 35 verification queries across 7 types
Features demonstrated:
- YAML frontmatter with semantic triggers
- Tiered source authority
- Cross-cutting decision matrices
- Complete test matrix
| Document | Description |
|---|---|
| SOLUTION-ARCHITECTURE.md | Complete technical architecture |
| CHANGELOG.md | Version history and migration guides |
| Learning-how-it-works/ | Practical tutorials |
- YAML Frontmatter — Machine-readable metadata in all domain files
- Tiered Source Authority — 4-tier system for ranking authoritative sources
- Cross-Cutting Domains — Guidance for decision matrices and bridging files
- Prompt Templates — Ready-to-use prompts in reference files
Built for Claude Projects by humans and AI working together.
