From prism-devtools
Initialize PRISM .context folder in current project. Use when starting PRISM work in a new project or setting up context management.
npx claudepluginhub resolve-io/.prismThis skill uses the workspace's default tool permissions.
Set up the `.context/` folder structure in the current project with PRISM context modules.
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.
Set up the .context/ folder structure in the current project with PRISM context modules.
.context/ already exists.context/core, etc.).context/ folder structure in project root.prism-installed to indicate setup completeplugins/prism-devtools)# Check if .context already exists
if (Test-Path ".context") { Write-Host ".context/ already exists" } else { Write-Host "Ready to initialize" }
# Check if CLAUDE.md exists
if (Test-Path "CLAUDE.md") { Write-Host "CLAUDE.md exists - will offer to update" }
# Create .context folders
mkdir -p .context/core
mkdir -p .context/safety
mkdir -p .context/workflows
mkdir -p .context/project
mkdir -p .context/cache/mcp-responses
mkdir -p .context/cache/terminal-logs
mkdir -p .context/cache/session-history
Copy all template files from PRISM plugin:
Source: $PLUGIN_DIR/templates/.context/
PLUGIN_DIR="plugins/prism-devtools"
# Copy core context files
cp "$PLUGIN_DIR/templates/.context/core/persona-rules.md" ".context/core/"
cp "$PLUGIN_DIR/templates/.context/core/commit-format.md" ".context/core/"
# Copy safety context files
cp "$PLUGIN_DIR/templates/.context/safety/destructive-ops.md" ".context/safety/"
cp "$PLUGIN_DIR/templates/.context/safety/file-write-limits.md" ".context/safety/"
cp "$PLUGIN_DIR/templates/.context/safety/citation-integrity.md" ".context/safety/"
# Copy workflow context files
cp "$PLUGIN_DIR/templates/.context/workflows/git-branching.md" ".context/workflows/"
cp "$PLUGIN_DIR/templates/.context/workflows/code-review.md" ".context/workflows/"
# Copy project template
cp "$PLUGIN_DIR/templates/.context/project/architecture.md" ".context/project/"
# Copy manifest and gitignore
cp "$PLUGIN_DIR/templates/.context/index.yaml" ".context/"
cp "$PLUGIN_DIR/templates/.context/.gitignore" ".context/"
If CLAUDE.md doesn't exist:
cp "$PLUGIN_DIR/templates/CLAUDE.md" "./CLAUDE.md"
If CLAUDE.md exists:
# Create marker indicating PRISM context is installed
echo "PRISM context initialized $(Get-Date -Format 'yyyy-MM-dd')" > .prism-installed
# Verify structure
ls -la .context/
ls -la .context/core/
ls -la .context/safety/
ls -la .context/workflows/
# Count files
$count = (Get-ChildItem -Path ".context" -Recurse -File).Count
Write-Host "Installed $count context files"
After completion:
{project-root}/
├── CLAUDE.md # Project context (new or updated)
├── .context/
│ ├── index.yaml # Context manifest
│ ├── .gitignore # Ignores cache/
│ ├── core/
│ │ ├── persona-rules.md # PRISM persona persistence
│ │ └── commit-format.md # Commit message format
│ ├── safety/
│ │ ├── destructive-ops.md # File deletion safeguards
│ │ ├── file-write-limits.md # Chunking rules
│ │ └── citation-integrity.md # Read before cite
│ ├── workflows/
│ │ ├── git-branching.md # Branch/push policy
│ │ └── code-review.md # PR review rules
│ ├── project/
│ │ └── architecture.md # Project architecture (template)
│ └── cache/ # Runtime data (gitignored)
│ ├── mcp-responses/
│ ├── terminal-logs/
│ └── session-history/
└── .prism-installed # Marker file
.context/ folder exists with all subfoldersindex.yaml manifest in place.gitignore ignoring cache folder.prism-installed marker createdAfter initialization, customize:
.context/project/architecture.md - Document your project architecture.md files in .context/project/Copy-Item : Cannot find path 'plugins/prism-devtools/templates/...'
Solution: Verify PRISM plugin is installed at expected location
Solution: Run terminal as administrator or check folder permissions
Options:
.context/project/architecture.md with your architecture.context/ folder