import React, { useState } from "react"; import ReactMarkdown from "react-markdown"; import remarkGfm from "remark-gfm"; import type { Phase } from "../types"; interface DocumentPaneProps { content: string; onChange: (content: string) => void; phase: Phase; disabled: boolean; showOnboarding?: boolean; } export function DocumentPane({ content, onChange, phase, disabled, showOnboarding, }: DocumentPaneProps) { const [isEditing, setIsEditing] = useState(false); if (showOnboarding) { return (
A structured workflow for AI-assisted coding:{" "} Research → Plan → Implement.
Export your Anthropic API key:
export ANTHROPIC_API_KEY=your-key-here
Get one at{" "} platform.claude.com
Research: Claude analyzes your codebase and writes
findings to research.md. Add notes like{" "}
// REVIEW: check this — click Review{" "}
when done.
Plan: Claude drafts an implementation plan in{" "}
plan.md with code snippets and a TODO list. Iterate the
same way.
Implement: Claude executes the plan, marking tasks complete as it goes.
Iterate on research and plan docs as long as you want. Click{" "} Submit when happy to move to the next phase.