Back to list
djankies

template-based-generation-template

by djankies

0🍴 0📅 Nov 25, 2025

SKILL.md


name: template-based-generation-template description: [REPLACE] Generate structured content from templates. Use when [REPLACE with specific triggers]. allowed-tools: Write, Read, TodoWrite

Template-Based Generation Template

Purpose

This template demonstrates structured content generation from templates with placeholder filling and validation.

Use this template when:

  • Generating configuration files
  • Creating boilerplate code
  • Producing structured documents
  • Output follows predictable patterns

Workflow

Phase 1: Gather Requirements

Phase 2: Select Template

Phase 3: Fill Template

Phase 4: Validate Output

Template Selection Logic

Production Configuration:

  • High security requirements
  • Performance optimization
  • Monitoring and logging
  • Secrets management

Development Configuration:

  • Debug mode enabled
  • Verbose logging
  • Local service URLs
  • Mock credentials

Testing Configuration:

  • Test database
  • Reduced timeouts
  • Isolated environment
  • Deterministic behavior

Progressive Disclosure

Core workflow (this file):

  • Requirement gathering
  • Template selection logic
  • Validation rules

Templates (references/):

  • @references/production-config-template.md - Production config example
  • Domain-specific templates loaded when needed

Example Usage

<gather-requirements>
Environment: production
Database: PostgreSQL
Features: [caching, monitoring, rate-limiting]
Region: us-east-1
</gather-requirements>

<select-template>
Selected: Production configuration template
Security level: High
Monitoring: Enabled
</select-template>

<fill-template>
Generating config/production.json:
- Database URL: [REDACTED - from environment]
- Redis URL: [REDACTED - from environment]
- Rate limit: 1000 req/min
- Monitoring: DataDog integration
- Log level: info
</fill-template>

<validate-output>
✓ No plaintext secrets
✓ All required fields present
✓ Valid JSON syntax
✓ Security headers configured
✓ CORS settings appropriate
Configuration ready!
</validate-output>

See Also

  • @references/production-config-template.md - Complete config generation example

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon