chore: add project configuration and agent skills
- Add requirements.txt with pytest and requests dependencies - Add TDD Python Specialist skill for test-driven workflow - Add Git & Changelog skill for conventional commits - Configure .opencode/skills/ directory structure
This commit is contained in:
17
.opencode/skills/TDD_Python_Specialist/SKILL.md
Normal file
17
.opencode/skills/TDD_Python_Specialist/SKILL.md
Normal file
@@ -0,0 +1,17 @@
|
||||
Skill: TDD Python Specialist
|
||||
|
||||
Questo playbook istruisce l'agente su come operare in modalità TDD.
|
||||
|
||||
Workflow Obbligatorio
|
||||
|
||||
Red: Crea un file in tests/test_feature.py. Definisci il test. Eseguilo con pytest e conferma il fallimento.
|
||||
|
||||
Green: Scrivi il codice minimo necessario in scripts/ o nella root per far passare il test.
|
||||
|
||||
Refactor: Ottimizza il codice mantenendo i test verdi.
|
||||
|
||||
Tooling
|
||||
|
||||
Usa sempre il venv: source venv/bin/activate.
|
||||
|
||||
Comando di test: pytest.
|
||||
Reference in New Issue
Block a user