From prism-devtools
File-first architecture principle for understanding codebases. Agents should read source files directly instead of relying on summaries, RAG, or pre-loaded context. Use Glob/Grep/Read tools.
npx claudepluginhub resolve-io/.prismThis skill uses the workspace's default tool permissions.
**Core Principle:** Read source files directly. No RAG, no vector databases, no pre-loaded summaries.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Provides patterns for autonomous Claude Code loops: sequential pipelines, agentic REPLs, PR cycles, de-sloppify cleanups, and RFC-driven multi-agent DAGs. For continuous dev workflows without intervention.
Applies NestJS patterns for modules, controllers, providers, DTO validation, guards, interceptors, config, and production TypeScript backends with project structure and bootstrap examples.
Core Principle: Read source files directly. No RAG, no vector databases, no pre-loaded summaries.
1. DETECT → Run analyzer to identify project type
2. LOCATE → Use Glob/Grep to find relevant files
3. READ → Read actual source files (not summaries)
4. CITE → Always reference file:line when quoting
5. ITERATE → Search again if needed
python "${CLAUDE_PLUGIN_ROOT}/skills/file-first/scripts/analyze_codebase.py" "$(pwd)"
Returns: project type, key files, suggested read order.
Load these only when needed (progressive disclosure):
| Script | Purpose |
|---|---|
scripts/analyze_codebase.py | Detect project type, suggest key files |
scripts/validate_file_first.py | Check if agents follow principles |
This principle is referenced by:
shared/reference/file-first.md for quick lookup