Back to list
maslennikov-ig

render-template

by maslennikov-ig

MegaCampus 2.0 - AI-powered course generation platform

1🍴 0📅 Jan 23, 2026

SKILL.md


name: render-template description: Render templates with variable substitution using {{variable}} or ${variable} syntax. Use for generating formatted output, reports, commit messages, or any text requiring variable interpolation.

Render Template

Render templates with variable substitution.

Instructions

Step 1: Receive Input

  • template: String (template with placeholders)
  • variables: Object (key-value pairs)
  • syntax: mustache|shell|mixed (default: mustache)

Step 2: Supported Syntax

  • Mustache: {{variable}}, {{object.property}}
  • Shell: ${variable}, ${VARIABLE}

Step 3: Resolution Rules

  • Direct match: {{name}}variables.name
  • Nested: {{user.name}}variables.user.name
  • Missing: Replace with empty string

Step 4: Optional Filters

  • {{variable | uppercase}}
  • {{variable | lowercase}}
  • {{variable | capitalize}}

Example

Input:

{
  "template": "{{type}}({{scope}}): {{description}}",
  "variables": { "type": "feat", "scope": "auth", "description": "add OAuth2" }
}

Output: feat(auth): add OAuth2

Error Handling

  • Missing Variables: Replace with empty string
  • Invalid Syntax: Return error
  • Type Mismatch: Convert to string

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

0/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