Table of Contents

OpenSpec

https://dev.to/webdeveloperhyper/how-to-make-ai-follow-your-instructions-more-for-free-openspec-2c85

install

yay -S openspec

add openspec to existing project

cd <project>

openspec init

from agent auto compile openspec\project.md with command

Please read openspec/project.md and help me fill out with details about my project, tech stack, and conventions.

add new feature

Proposal

/openspec:proposal load multiple svm models

file created

openspec/changes/
└── load-multiple-svm-models
    ├── proposal.md
    ├── specs
    │   └── svm-anomaly-detection
    │       └── spec.md
    └── tasks.md

Proposal Structure:

eventually check status of proposals

openspec list    # Confirm the change folder exists
openspec validate load-multiple-svm-models
openspec show load-multiple-svm-models   # Review proposal, tasks, and spec delta

Apply

coding

/openspec:apply load-multiple-svm-models

…testing…

Archive

After implementation and testing, archive the change. All of the checkboxes in the TODO list were checked, and files were moved to the archive folder.

#openspec archive load-multiple-svm-models --yes
openspec archive load-multiple-svm-models --skip-specs --yes