chore: add spec-kit and standardize signatures

- Added GitHub spec-kit for development workflow
- Standardized file signatures to Descomplicar® format
- Updated development configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Emanuel Almeida
2025-09-12 01:27:29 +01:00
parent 30ad448ed3
commit 4a7b232f68
50 changed files with 513565 additions and 0 deletions

43
CLAUDE.md Normal file
View File

@@ -0,0 +1,43 @@
# care-api Development Guidelines
Auto-generated from all feature plans. Last updated: 2025-09-12
## Active Technologies
- PHP 8.1+ WordPress plugin development (001-care-api-sistema)
- WordPress REST API framework with JWT authentication
- KiviCare 35-table database schema integration
- PHPUnit testing with WordPress testing framework
## Project Structure
```
src/
├── models/ # KiviCare entity models
├── services/ # Business logic services
├── endpoints/ # REST API endpoint handlers
├── auth/ # JWT authentication service
└── utils/ # Helper utilities
tests/
├── contract/ # API contract tests
├── integration/ # Database integration tests
└── unit/ # Unit tests
```
## Commands
# WordPress/PHP specific commands
wp plugin activate kivicare-api
wp config set WP_DEBUG true
vendor/bin/phpunit tests/
wp db query "SELECT..."
## Code Style
- WordPress coding standards (WPCS)
- PSR-4 autoloading for classes
- WordPress hooks and filters for extensibility
- Prepared SQL statements for security
## Recent Changes
- 001-care-api-sistema: Added REST API for KiviCare healthcare management system
<!-- MANUAL ADDITIONS START -->
<!-- MANUAL ADDITIONS END -->