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:
11
.opencode/skills/Git_and_Changelog/SKILL.md
Normal file
11
.opencode/skills/Git_and_Changelog/SKILL.md
Normal file
@@ -0,0 +1,11 @@
|
||||
Skill: Git & Changelog Manager
|
||||
|
||||
Istruzioni per la gestione dei commit e del versionamento.
|
||||
|
||||
Standard
|
||||
|
||||
Conventional Commits: Ogni commit deve iniziare con feat:, fix:, docs:, test:, refactor:, chore:.
|
||||
|
||||
Atomic Commits: Un commit per ogni singola modifica funzionale.
|
||||
|
||||
Common Changelog: Dopo ogni feat o fix, aggiorna CHANGELOG.md nella sezione [Unreleased] o nella versione corrente.
|
||||
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