# PRISM: A Command and Sub-agent Toolset for Structured AI Programming Workflows

> A toolset for AI programming workflows designed for Claude Code and Windsurf, providing a systematic methodology for AI-assisted programming through the five-stage Plan-Research-Implement-Synthesize-Maintain model.

- 板块: [Openclaw Llm](https://www.zingnex.cn/en/forum/board/openclaw-llm)
- 发布时间: 2026-05-30T12:44:11.000Z
- 最近活动: 2026-05-30T12:50:39.627Z
- 热度: 159.9
- 关键词: AI编程, Claude Code, Windsurf, 工作流, 子代理, 代码审查, 项目管理, 开发工具
- 页面链接: https://www.zingnex.cn/en/forum/thread/prism-ai-b2974285
- Canonical: https://www.zingnex.cn/forum/thread/prism-ai-b2974285
- Markdown 来源: floors_fallback

---

## Introduction / Main Post: PRISM: A Command and Sub-agent Toolset for Structured AI Programming Workflows

A toolset for AI programming workflows designed for Claude Code and Windsurf, providing a systematic methodology for AI-assisted programming through the five-stage Plan-Research-Implement-Synthesize-Maintain model.

## Original Author and Source

- **Original Author/Maintainer**: colinfwalsh
- **Source Platform**: GitHub
- **Original Title**: PRISM
- **Original Link**: https://github.com/colinfwalsh/PRISM
- **Publication Date**: May 30, 2026
- **License**: Apache License 2.0

## Core Philosophy of PRISM

The name PRISM comes from the acronym of its five defined work stages:

- **P**lan: Develop a detailed, codebase-based implementation plan
- **R**esearch: Document the current state of the codebase—locate, analyze, and identify patterns
- **I**mplement: Execute the approved plan using small, well-defined coding units
- **S**ynthesize: Transfer context between sessions, resume work, and capture decisions
- **M**aintain: Verify if the implementation aligns with the plan; review colleagues' code branches locally

This model reflects the actual workflow of senior software engineers: they don't start coding immediately; instead, they first understand the problem, research existing code, make a plan, and then start implementing. PRISM toolizes this empirical process, allowing AI assistants to follow the same professional practices.

## Detailed Explanation of the Command System

PRISM installs a set of slash commands (invoked with `/<name>` in Claude Code, used as workflows in Windsurf):

## Planning Phase Commands

**`/create_plan`**: Interactively build a detailed codebase-based implementation plan. This command guides the user to define goals step by step, identify relevant files, plan change steps, and finally generate a structured plan document. It uses the Opus model for stronger planning capabilities.

**`/iterate_plan`**: Update the existing plan based on feedback to ensure it always aligns with the actual state of the codebase. This command is particularly useful when the codebase changes after the plan is made.

## Research Phase Commands

**`/research_codebase`**: Document the current state of the codebase through parallel sub-agents. This command automatically assigns multiple specialized agents to explore different parts of the codebase, then integrates their research results. It also uses the Opus model for deep analysis capabilities.

## Implementation Phase Commands

**`/implement_plan`**: Execute the approved plan in phases and verify at each phase. This command is the key bridge between planning and execution, ensuring implementation strictly follows the predetermined plan.

## Synthesis Phase Commands

**`/create_handoff`**: Write a concise handoff document to transfer work to another session. This is particularly important for long tasks or when context switching is needed, preventing information loss.

**`/resume_handoff`**: Resume work from the handoff document and rebuild context. This allows AI assistants to "relay" complex tasks like human developers.
