ai-ops-templates/skill-templates/client-skill.template.md
DMleadgen 3cb8d3cb3f Initial commit: AI Ops Templates repository
- Schema.org JSON-LD templates (product, event, local-business, faq)
- Brand, UI, SEO, and decision guide rules
- Working code snippets (vendor-card, schema-inject, deploy-webhook)
- JSON schemas for project config validation
- Client presets (slc-bride, default)
- Self-update protocol with changelog tracking

Made-with: Cursor
2026-03-06 16:03:31 -07:00

173 lines
3.4 KiB
Markdown

---
name: {{CLIENT_NAME}}
description: Context and operations guide for {{CLIENT_NAME}} project. Use when working on {{DESCRIPTION}}.
---
# {{CLIENT_NAME}}
{{PROJECT_DESCRIPTION}}
## Project Overview
| Property | Value |
|----------|-------|
| **Client** | {{CLIENT_DISPLAY_NAME}} |
| **Site URL** | {{SITE_URL}} |
| **Server** | {{SERVER_NAME}} ({{SERVER_IP}}) |
| **Database** | {{DATABASE_NAME}} |
| **Status** | {{PROJECT_STATUS}} |
---
## Infrastructure
### Server Access
```bash
# SSH into server
ssh root@{{SERVER_IP}}
# Or use abundance CLI
abundance srv ssh {{SERVER_NAME}}
```
### Coolify Deployment
- **Dashboard**: {{COOLIFY_URL}}
- **App ID**: {{COOLIFY_APP_ID}}
- **Deploy**: `abundance coolify deploy application {{COOLIFY_APP_ID}}`
### Database
```bash
# Query database
abundance db query {{DATABASE_NAME}} "SELECT * FROM {{TABLE}} LIMIT 5"
# Create SSH tunnel
abundance db tunnel {{DATABASE_NAME}}
```
---
## Brand Guidelines
### Colors
| Color | Hex | Usage |
|-------|-----|-------|
| Primary | `{{PRIMARY_COLOR}}` | Buttons, links, highlights |
| Secondary | `{{SECONDARY_COLOR}}` | Accents, badges |
| Background | `{{BACKGROUND_COLOR}}` | Page background |
| Text | `{{TEXT_COLOR}}` | Body text |
### Typography
- **Headings**: {{HEADING_FONT}}
- **Body**: {{BODY_FONT}}
### Tailwind Config
Brand colors are defined in `presets/{{CLIENT_SLUG}}.json`. Reference via CSS variables:
```css
background-color: var(--primary);
```
---
## Key Routes
| Route | Description | Component |
|-------|-------------|-----------|
| {{ROUTE_1}} | {{ROUTE_1_DESC}} | `{{ROUTE_1_COMPONENT}}` |
| {{ROUTE_2}} | {{ROUTE_2_DESC}} | `{{ROUTE_2_COMPONENT}}` |
| {{ROUTE_3}} | {{ROUTE_3_DESC}} | `{{ROUTE_3_COMPONENT}}` |
---
## Database Schema
### Key Tables
| Table | Description | Key Columns |
|-------|-------------|-------------|
| {{TABLE_1}} | {{TABLE_1_DESC}} | {{TABLE_1_COLS}} |
| {{TABLE_2}} | {{TABLE_2_DESC}} | {{TABLE_2_COLS}} |
### Common Queries
```sql
-- {{QUERY_1_DESC}}
SELECT * FROM {{TABLE}} WHERE {{CONDITION}};
```
---
## APIs
### {{API_1_NAME}}
- **Base URL**: `{{API_1_URL}}`
- **Auth**: {{API_1_AUTH}}
- **Env Key**: `{{API_1_ENV_KEY}}`
---
## Common Patterns
### {{PATTERN_1_NAME}}
```{{PATTERN_1_LANG}}
{{PATTERN_1_CODE}}
```
### {{PATTERN_2_NAME}}
```{{PATTERN_2_LANG}}
{{PATTERN_2_CODE}}
```
---
## Integrations
| Service | Purpose | Config Location |
|---------|---------|-----------------|
| {{SERVICE_1}} | {{SERVICE_1_PURPOSE}} | {{SERVICE_1_CONFIG}} |
| {{SERVICE_2}} | {{SERVICE_2_PURPOSE}} | {{SERVICE_2_CONFIG}} |
---
## Troubleshooting
### {{ISSUE_1}}
**Symptom**: {{ISSUE_1_SYMPTOM}}
**Solution**: {{ISSUE_1_SOLUTION}}
### {{ISSUE_2}}
**Symptom**: {{ISSUE_2_SYMPTOM}}
**Solution**: {{ISSUE_2_SOLUTION}}
---
## Recent Changes
| Date | Change | Notes |
|------|--------|-------|
| {{DATE_1}} | {{CHANGE_1}} | {{NOTES_1}} |
---
## Context Metadata (Auto-Updated)
| Field | Value |
|-------|-------|
| _last_updated | {{LAST_UPDATED}} |
| _version | {{VERSION}} |
| _synced_from | git.abundancepartners.app/abundance/ai-ops-templates |
---
## Quick Commands
```bash
# Check server status
abundance srv status
# View logs
abundance docker logs {{SERVER_NAME}} {{CONTAINER}} -f --tail 100
# Deploy to staging
deploy_push({ target: "staging", app_id: "{{STAGING_APP_ID}}" })
# Deploy to production
deploy_push({ target: "prod", app_id: "{{PROD_APP_ID}}" })
```