Skip to content
Back to skills

Psi

ASecurity

Plan-spec-implement workflow for structured development. Only use when explicitly directed by user or when mentioned in project AGENTS.md file. Generates ephemeral plans in ~/.dot-agent/, applies specs to project docs, then implements test-first.

  • 21 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added February 11, 2026
documentationapidatabasedocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add siviter-xyz/dot-agent --skill psi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Psi?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Psi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/siviter-xyz-psi/badge)](https://www.skillsdirectory.com/skills/siviter-xyz-psi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: psi
description: Plan-spec-implement workflow for structured development. Only use when explicitly directed by user or when mentioned in project AGENTS.md file. Generates ephemeral plans in ~/.dot-agent/, applies specs to project docs, then implements test-first.
license: MIT
---

# PSI - Plan Spec Implement

Structured workflow for planning, specifying, and implementing changes with documentation-first approach.

## When to Use

**Only use when:**
- Explicitly directed by the user
- Mentioned in project `AGENTS.md` file

**Do not use automatically** - this is an opt-in workflow, not a default.

## Core Workflow

**Plan → Spec → Implement**

Phases are **independent** - you can start with any phase, but all must ensure documentation stays up-to-date.

## Key Principles

1. **Ephemeral planning** - Plans stored in `~/.dot-agent/` (not committed)
2. **Documentation-first** - Specs applied to project docs/READMEs/AGENTS.md
3. **Test-first implementation** - Tests for docs/user journeys before code
4. **Design/review embedded** - Design and review integrated into Plan/Spec phases
5. **Phase independence** - Each phase can work standalone, all update docs

## Phase Overview

### Plan Phase
- Generates detailed plans in `~/.dot-agent/repo/YYYY-MM-work-name.plan.md`
- Research stored in `~/.dot-agent/working-dir/repo/YYYY-MM-work-name.research.md`
- Embeds design considerations
- Includes review before proceeding

### Spec Phase
- Generates specs for: API schemas, interfaces, DTOs, database models, config, env vars, architecture, user journeys, package structure, tech choices
- Embeds design considerations
- Reviews specs before applying
- Applies to: `docs/`, README.md files, AGENTS.md files

### Implement Phase
- Test-first: tests for docs/user journeys before code
- CI verification: verify types, tests, lint pass before committing
- Atomic commits: group related changes with tests
- Updates docs, README.md, AGENTS.md as code evolves
- Can work independently if specs exist in docs

## Research Management

Detects phrases like:
- "looking at your research" → Loads research file
- "refine your research" → Updates research file, narrows focus

## Documentation Structure

- **README.md**: Aim for < 1000 lines (not hard rule), can be longer if needed
- **AGENTS.md**: < 200 lines, inline at root/packages/modules/code level
- **docs/**: Architecture, roadmap, tech-choices, setup/, user-journeys/, design/

## References

For detailed protocols, see:
- `references/plan-phase.md` - Plan generation with embedded design/review
- `references/spec-phase.md` - Spec generation and application
- `references/implement-phase.md` - Test-first implementation
- `references/review-protocol.md` - Reviewing plans/specs/design
- `references/research-management.md` - Research file handling
- `references/docs-structure.md` - Documentation organization rules
- `references/file-paths.md` - Storage paths and conventions

Files in this skill

  • LICENSE1 KB
  • README.md2.6 KB
  • SKILL.md2.9 KB
  • references/docs-structure.md2.9 KB
  • references/file-paths.md2.6 KB
  • references/implement-phase.md3.9 KB
  • references/plan-phase.md2.7 KB
  • references/research-management.md2.4 KB
  • references/review-protocol.md2.8 KB
  • references/spec-phase.md3.6 KB
  • scripts/get-plan-path.js906 B
  • scripts/get-research-path.js965 B
  • scripts/show-plan-location.js732 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.