---
title: Pattern Examples by Use Case (Agent Guide)

slug: agent-pattern-examples
audience: llm
created_at: 2025-09-11T00:02:01.02357+0000
last_modified: 2025-10-15T14:28:23.413707+0000
content_type: markdown
author: SlugKit Team
tags: 
    - mcp-help
    - llm-docs
---
# SlugKit Pattern Examples by Use Case (Agent Guide)

## Web Development

### URL Slugs
```
// Blog posts
"{adjective:+pos}-{noun}-{number:4d}"
→ "amazing-tutorial-2024"

// Product pages  
"{adjective:<8}-{noun:+device}-{verb:<6}"
→ "smart-server-deploy"

// Category slugs
"{adjective:+pos}/{noun:+object}"
→ "advanced/database"
```

### User Handles & IDs
```
// Readable user handles
"{adjective:<7}{noun:<8}{number:2d}"
→ "smartuser42"

// Anonymous usernames
"{adjective:+pos}-{noun:+animal}-{number:3d}"
→ "happy-dolphin-127"

// API keys (readable part)
"{adjective}-{noun}-{number:4x}"
→ "secure-token-a1b2"
```

### CSS & JavaScript
```
// CSS class names
"{adjective:<6}-{noun:<8}-component"
→ "smart-button-component"

// JavaScript variables
"{verb}<6{Noun}<8Config"
→ "loadButtonConfig"

// Component names
"{Adjective}{Noun}Widget"
→ "SmartDatabaseWidget"
```

### API Endpoints
```
// RESTful endpoints
"/api/{noun:+person}/{adjective:<6}-{noun:<8}/{number:4d}"
→ "/api/users/active-sessions/2024"

// Webhook URLs
"/hooks/{adjective:+pos}-{noun}/{number:8x}"
→ "/hooks/secure-payment/a1b2c3d4"
```

## DevOps & Infrastructure

### Server & Service Naming
```
// Server hostnames
"{adjective:+obj}<6-{noun:+device}<8-{number:2d}"
→ "prod-database-01"

// Kubernetes pods
"{noun:+device}-{adjective}-{number:4x}"
→ "webapp-stable-f3a7"

// Docker containers
"{adjective:+pos}/{noun:+artifact}:{number:1d}.{number:1d}"
→ "stable/webapp:2.1"
```

### Environment & Configuration
```
// Environment names
"{ADJECTIVE:+obj}_{NOUN}_ENV"
→ "STABLE_DATABASE_ENV"

// Config files
"{noun:<8}-{adjective:+obj}.{domain:+tld}"
→ "database-secure.conf"

// Backup naming
"backup-{noun:+device}-{number:2d}{number:2d}{number:4d}-{number:4x}"
→ "backup-postgres-31122024-a1f3"
```

### Monitoring & Logging
```
// Log files
"{noun:+device}-{adjective:+obj}-{number:2d}{number:2d}.log"
→ "webapp-error-1225.log"

// Metric names
"{noun:+device}.{adjective}.{verb}.count"
→ "database.active.connections.count"

// Alert names
"{ADJECTIVE:+neg} {NOUN:+device} {verb:+neg}"
→ "CRITICAL DATABASE FAILURE"
```

## Database & Data

### Table & Column Names
```
// Table names
"{noun:+device}_{adjective:+obj}"
→ "users_active"

// Column identifiers  
"{noun:<8}_{verb:<6}_at"
→ "account_created_at"

// Index names
"idx_{noun:+device}_{adjective:+obj}_{number:2d}"
→ "idx_users_active_01"
```

### Test Data Generation
```
// User emails
"{adjective:<7}.{noun:<8}@{noun:<6}.{domain:+com}"
→ "smart.database@test.com"

// Phone numbers (template)
"+1-{number:3d}-{number:3d}-{number:4d}"
→ "+1-555-123-4567"

// Addresses
"{number:3d} {Adjective} {Noun} Street"
→ "123 Smart Database Street"
```

### Database Seeding
```
// Company names
"{Adjective} {Noun} {noun:+artifact}"
→ "Smart Database Solutions"

// Product names
"{adjective:+pos} {noun:+device} {number:1d}.{number:1d}"
→ "Amazing Platform 2.1"

// Department codes
"{ADJECTIVE:<4}_{NOUN:+device:<6}"
→ "PROD_WEBAPP"
```

## Testing & QA

### Test Case IDs
```
// Test identifiers
"test_{noun:+device}_{verb}_{number:3d}"
→ "test_database_connect_042"

// Scenario names
"Given {adjective} {noun}, when {verb}, then {verb}"
→ "Given active user, when login, then succeed"

// Mock data labels
"{adjective:+pos}_{noun:+device}_{number:2d}"
→ "valid_account_01"
```

### Performance Testing
```
// Load test names
"load_{noun:+device}_{number:3d}_{adjective:+obj}"
→ "load_api_100_concurrent"

// Benchmark IDs
"bench_{verb}_{noun:+device}_{number:4x}"
→ "bench_query_database_a1f3"
```

### Error Simulation
```
// Error messages
"Error {number:3d}: {adjective:+neg} {noun:+device} {verb:+neg}"
→ "Error 500: broken database connection failed"

// Exception names
"{Adjective}{Noun}Exception"
→ "InvalidDatabaseException"

// Failure scenarios
"{noun:+device} {verb:+neg} after {number:2d} {noun:+event}"
→ "connection timeout after 30 seconds"
```

## Documentation & Content

### Technical Writing
```
// Guide titles
"## {Adjective:+pos} {Noun} Guide"
→ "## Complete Database Guide"

// Tutorial steps
"Step {number:1d}: {Verb} the {noun:+device}"
→ "Step 3: Configure the server"

// Code examples
"// {Adjective} {noun:+device} implementation"
→ "// Simple database implementation"
```

### Blog & Marketing
```
// Article titles
"How to {verb} {adjective:+pos} {noun:+artifact} in {number:2d} minutes"
→ "How to deploy amazing applications in 15 minutes"

// Social media
"{Adjective:+pos} {noun:+device}! {verb:+pos} your {noun} {adverb:+pos} 🚀"
→ "Amazing platform! Scale your business efficiently 🚀"

// Newsletter subjects
"{Adjective:+pos} {noun}: {verb:+pos} {number:2d}% {adjective:+pos}"
→ "Weekly Update: Boost 25% performance"
```

## Gaming & Entertainment

### Character & World Generation
```
// Character names
"{adjective:+pos} {noun:+person} the {adjective:+pos}"
→ "Mighty Warrior the Brave"

// Location names
"The {adjective:+pos} {noun:+location} of {noun:+fantasy}"
→ "The Ancient Castle of Dragons"

// Item names
"{adjective:+pos} {noun:+fantasy} of {noun:+concept}"
→ "Legendary Sword of Power"
```

### Game Development
```
// Asset names
"{adjective}_{noun:+object}_{number:3d}"
→ "rusty_sword_042"

// Level identifiers
"level_{number:2d}_{adjective:+neg}_{noun:+location}"
→ "level_05_hard_dungeon"

// Achievement names
"{adjective:+pos} {noun:+action}"
→ "Ultimate Victory"
```

## E-commerce & Business

### Product Management
```
// SKUs
"{adjective:<4}-{noun:+artifact}<6-{number:4d}"
→ "FAST-LAPTOP-2024"

// Inventory codes
"{ADJECTIVE:+obj:<4}_{NOUN:<6}_{NUMBER:6x}"
→ "STABLE_SERVER_A1B2C3"

// Coupon codes
"{adjective:+pos}{number:2d}{adjective:+obj}"
→ "SAVE25STABLE"
```

### Customer Service
```
// Ticket IDs
"TKT-{adjective:+obj}-{number:6d}"
→ "TKT-URGENT-123456"

// Case numbers
"{noun:+device}-{number:4d}-{adjective:+pos}"
→ "BILLING-4567-HIGH"

// Reference codes
"REF_{ADJECTIVE:<4}_{NUMBER:8x}"
→ "REF_HELP_A1B2C3D4"
```

## Security & Authentication

### Access Control
```
// Permission names
"{verb}_{noun:+device}_{adjective:+obj}"
→ "read_database_secure"

// Role identifiers
"{adjective:+obj}_{noun:+person}"
→ "admin_user"

// Session tokens (readable part)
"sess_{adjective:+obj}_{number:8x}"
→ "sess_secure_a1b2c3d4"
```

### Audit & Compliance
```
// Log entries
"[{number:2d}/{number:2d}/{number:4d}] {ADJECTIVE} {noun:+device} {verb:+neg}"
→ "[31/12/2024] FAILED database authentication"

// Compliance codes
"{ADJECTIVE:+obj}_{NOUN:+device}_{NUMBER:4d}"
→ "GDPR_DATA_2024"
```

## Advanced Pattern Techniques

### Multi-line Templates
```
"version: {number:1d}.{number:1d}.{number:2d}
name: {adjective}-{noun}
description: {adjective:+pos} {noun:+device} for {verb}<6
maintainer: {Noun:+person} Team
status: {adjective:+obj}"

→ "version: 2.1.15
name: secure-platform
description: amazing solution for deploy
maintainer: Engineering Team  
status: stable"
```

### Conditional-like Patterns with Global Settings
```
// All positive objective terms
"{noun} {verb} {adjective} {noun}[+pos+obj]"
→ "platform deploys amazing solution"

// German terms (if supported)
"{noun} {verb} {noun}[@de+obj]"
→ "Datenbank verwendet System"

// Short positive terms
"{adjective} {noun} {verb}[+pos<6]"
→ "smart system works"
```

### Complex Casing Scenarios
```
// PascalCase components
"{Adjective}{Noun}{Verb}Component"
→ "SmartDatabaseQueryComponent"

// snake_case variables
"{adjective}_{noun}_{verb}_config"
→ "secure_database_connect_config"

// SCREAMING_SNAKE_CASE constants
"{ADJECTIVE}_{NOUN}_{NUMBER:4d}"
→ "MAX_DATABASE_1000"

// Mixed enterprise naming
"{AdJeCtIvE}_{nOuN}_v{NUMBER:1d}"
→ "SmArT_sErVeR_v2"
```

## Performance & Capacity Planning

### High-Volume Patterns (Large Capacity)
```
// Billions of combinations
"{adjective}-{noun}-{number:6x}"
→ Capacity: ~17,000 × 41,000 = 11+ trillion combinations

// Moderate capacity with constraints
"{adjective:<6}-{noun:+device<8}-{number:3d}"  
→ More manageable capacity with better performance
```

### Low-Volume Patterns (Specific Use Cases)
```
// Limited but meaningful
"{adjective:+pos<5}-{noun:+device==4}-{number:2d}"
→ Fewer combinations, highly constrained output
```

### Capacity Impact Examples
```
// Standard casing
"{noun}-{adjective}" 
→ ~708M combinations

// Mixed casing (capacity multiplier)
"{NoUn}-{AdJeCtIvE}"
→ Exponentially more combinations (2^8 × 708M+)
```

---

**Pro Tips:**
- Use `validate_pattern()` to check capacity before generation
- Combine `dictionary_info()` and `dictionary_tags()` to understand available words  
- Test patterns with small `count` values first
- Consider length constraints for UI/database field limits
- Use global settings for consistent theming across complex patterns
