Files
dotfiles/.config/opencode/commands/init.md
alex wiesner cb208a73c4 changes
2026-03-13 13:28:20 +00:00

925 B

description, agent, model
description agent model
Initialize or refresh project memory and AGENTS.md builder github-copilot/gpt-5.4

Initialize this repository for the planner/builder workflow.

  1. Verify that a dedicated per-repo basic-memory project exists for the current repository. If it does not, create it at <repo-root>/.memory using a short kebab-case project name.
  2. Gather high-signal project context in parallel: purpose, stack, architecture, entrypoints, build/test commands, coding conventions, and major risks.
  3. Write or refresh project memory notes under project/overview, project/architecture, project/workflows, and project/testing.
  4. Use librarian to create or update the project-root AGENTS.md so it matches the repository and documents the important working agreements.
  5. Record any missing information or open findings under findings/ instead of guessing.

Keep the output concise and actionable.