54 lines
2.5 KiB
Markdown
54 lines
2.5 KiB
Markdown
# Skill Registry — studyos
|
|
|
|
> Auto-generated by sdd-init on 2026-06-07
|
|
> Project: studyos (Node.js + Express + SQLite + React + Vite)
|
|
|
|
## User Skills
|
|
|
|
| Skill | Trigger | Compact Rules |
|
|
|-------|---------|---------------|
|
|
| frontend-design | React components, HTML/CSS layouts, styling/beautifying web UI | Create production-grade frontend with high design quality. Choose a bold aesthetic direction. Implement real working code with typography, color, layout, spacing, and motion. Avoid generic AI aesthetics. |
|
|
| claude-api | Code imports `anthropic`/`@anthropic-ai/sdk`, Anthropic SDK, Claude API | Use official Anthropic SDK. Default to claude-opus-4-7. Use adaptive thinking. Stream long requests. Never mix OpenAI-compatible shims with Anthropic SDK. |
|
|
| webapp-testing | Testing local web apps, verifying frontend functionality, Playwright | Use native Python Playwright scripts. Run `scripts/with_server.py --help` for server lifecycle. Reconnaissance-then-action pattern. |
|
|
|
|
## Compact Rules
|
|
|
|
### frontend-design
|
|
- Use distinctive, characterful fonts (avoid Arial, Inter). Pair display + body fonts.
|
|
- Bold aesthetic direction: brutalist, editorial, organic, luxury, retro-futuristic, etc.
|
|
- Production-grade code: real components, real interactions, responsive.
|
|
- Meticulous details: border-radius, shadows, spacing, hover states, transitions.
|
|
- Never use placeholder lorem ipsum — use real content.
|
|
|
|
### claude-api
|
|
- Anthropic SDK: `import Anthropic from '@anthropic-ai/sdk'` (Node) or `from anthropic import Anthropic` (Python).
|
|
- Always use `anthropic.messages.create()` with `model`, `max_tokens`, `messages`, `system`.
|
|
- Streaming: set `stream: true`, iterate `stream` events.
|
|
- Prompt caching: add `cache_control: { type: "ephemeral" }` to system and last turn.
|
|
- Never use OpenAI-compatible endpoints for Anthropic models.
|
|
|
|
### webapp-testing
|
|
- Playwright scripts in Python. Install: `pip install playwright`.
|
|
- Use `with_server.py` helper for server lifecycle.
|
|
- Screenshot on failure for debugging.
|
|
- Wait for networkidle after navigation.
|
|
|
|
## Project Conventions
|
|
|
|
No project conventions detected yet. Create AGENTS.md or CLAUDE.md in the project root to establish conventions.
|
|
|
|
## Testing Capabilities
|
|
|
|
| Capability | Status |
|
|
|------------|--------|
|
|
| Test Runner | ❌ Not found |
|
|
| Unit Tests | ❌ |
|
|
| Integration Tests | ❌ |
|
|
| E2E Tests | ❌ |
|
|
| Coverage | ❌ |
|
|
| Linter | ❌ |
|
|
| Type Checker | ❌ |
|
|
| Formatter | ❌ |
|
|
|
|
**Strict TDD Mode**: Disabled (no test runner detected)
|