Development guidelines and workflow for the Claudacity (Claude Ollama) project. Includes testing protocols, service management, async patterns, and context documentation references.
A comprehensive development workflow skill for the Claudacity project (Claude Ollama API Server). This skill ensures proper testing, service management, and adherence to project-specific patterns when working on the codebase.
This skill guides AI agents through the specific development practices required for the Claudacity project, including:
When working on the Claudacity codebase, follow these guidelines strictly:
**CRITICAL**: After making any code changes, always test A/B against Ollama.
Example testing workflow:
```bash
python tests/unified_test.py
python tests/test_ollama_compat.py
python tests/test_claude_integration.py
```
**CRITICAL**: Always use the service scripts for service operations. Never manually kill processes or use ad-hoc commands.
Correct service management:
```bash
python claude_service.py --restart
python claude_service.py --start
python claude_service.py --stop
```
When debugging or checking logs:
**CRITICAL**: All code must be async.
Example - WRONG:
```python
import requests
response = requests.get(url)
```
Example - CORRECT:
```python
import aiohttp
async with aiohttp.ClientSession() as session:
async with session.get(url) as response:
data = await response.json()
```
The `context/` directory contains critical documentation. Always read relevant context files before making changes:
**Before modifying code**:
1. Identify which context files are relevant
2. Read them thoroughly
3. Follow established patterns
Be aware of port assignments when testing:
Complete workflow for making changes:
1. **Read context** - Review relevant `.md` files in `context/` directory
2. **Make changes** - Follow async patterns, use `aiohttp`
3. **Restart service** - `python claude_service.py --restart`
4. **Clear logs** - `rm logs/*.log` (optional but recommended)
5. **Run tests** - Execute unified testing framework
6. **Check logs** - Review `logs/` directory for errors
7. **Verify A/B** - Ensure both Ollama and Claude work correctly
Use the unified testing framework to ensure compatibility:
This skill is specifically designed for the Claudacity project. The strict testing and service management requirements exist because:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/claudacity-development-guide/raw