Template Variables Reference — Handlebars template engine Template Variables Reference, overcut-playbooks, community, Handlebars template engine, ide skills, infrastructure steps, git clone, repo identify, output reference syntax, runtime template resolution

v1.0.0

About this Skill

Perfect for Developer Agents needing dynamic template resolution with Handlebars template engine. Template Variables Reference is a technical capability that utilizes Handlebars template engine to resolve templates at runtime, enabling developers to streamline their workflow

Features

Utilizes Handlebars as its template engine
Resolves templates at runtime before each step executes
Supports infrastructure steps such as git.clone and repo.identify
Produces structured output for reference
Enables output reference syntax using {{outputs.step-id}}

# Core Topics

overcut-ai overcut-ai
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reviewed Landing Page Review Score: 10/11

Killer-Skills keeps this page indexable because it adds recommendation, limitations, and review signals beyond the upstream repository text.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review Locale and body language aligned
Review Score
10/11
Quality Score
60
Canonical Locale
en
Detected Body Locale
en

Perfect for Developer Agents needing dynamic template resolution with Handlebars template engine. Template Variables Reference is a technical capability that utilizes Handlebars template engine to resolve templates at runtime, enabling developers to streamline their workflow

Core Value

Empowers agents to resolve templates at runtime using Handlebars, providing structured output for infrastructure steps like git.clone and repo.identify, and enabling seamless integration with Overcut.

Ideal Agent Persona

Perfect for Developer Agents needing dynamic template resolution with Handlebars template engine.

Capabilities Granted for Template Variables Reference

Resolving templates with dynamic data for git.clone and repo.identify steps
Generating structured output for infrastructure steps using Handlebars syntax
Automating template resolution for Overcut workflows

! Prerequisites & Limits

  • Requires Handlebars template engine
  • Limited to infrastructure steps like git.clone and repo.identify
  • Needs Overcut workflow integration

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is Template Variables Reference?

Perfect for Developer Agents needing dynamic template resolution with Handlebars template engine. Template Variables Reference is a technical capability that utilizes Handlebars template engine to resolve templates at runtime, enabling developers to streamline their workflow

How do I install Template Variables Reference?

Run the command: npx killer-skills add overcut-ai/overcut-playbooks/Template Variables Reference. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for Template Variables Reference?

Key use cases include: Resolving templates with dynamic data for git.clone and repo.identify steps, Generating structured output for infrastructure steps using Handlebars syntax, Automating template resolution for Overcut workflows.

Which IDEs are compatible with Template Variables Reference?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for Template Variables Reference?

Requires Handlebars template engine. Limited to infrastructure steps like git.clone and repo.identify. Needs Overcut workflow integration.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add overcut-ai/overcut-playbooks/Template Variables Reference. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use Template Variables Reference immediately in the current project.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

Template Variables Reference

Unlock the power of Handlebars template engine with Template Variables Reference - learn how to resolve templates at runtime and streamline your workflow

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Template Variables Reference

Overcut uses Handlebars as its template engine. Templates appear in step params fields (especially repoFullName and branch in git.clone) and are resolved at runtime before each step executes.

Output Reference Syntax

Infrastructure Steps (git.clone, repo.identify)

Infrastructure steps produce structured output. Reference the entire output object:

{{outputs.step-id}}

Example — repo.identify output fed to git.clone:

json
1{ 2 "repoFullName": "{{outputs.identify-repos}}" 3}

The template engine auto-stringifies objects/arrays into readable JSON when printed directly, while preserving property access for nested fields.

Agent Steps (agent.run, agent.session)

Agent steps produce a message field containing the agent's text output:

{{outputs.step-id.message}}

Example — referencing previous agent output in a prompt:

markdown
1**Previous step output:** 2 3{{outputs.prep-context.message}}

This is how steps pass data to each other. The receiving step's instruction can include the template, and it gets resolved before the agent sees it.

Trigger Context Variables

All trigger context is available under {{trigger.*}}. The exact fields depend on the event type.

Common Fields (All Events)

{{trigger.repository.fullName}}     → "owner/repo"
{{trigger.repository.name}}         → "repo"
{{trigger.repository.owner}}        → "owner"
{{trigger.repository.defaultBranch}} → "main"
{{trigger.repository.provider}}     → "Github"
{{trigger.repository.description}}  → "Repo description"
{{trigger.repository.workspacePath}} → "/workspace/owner/repo"
{{trigger.repository.customInstructions}} → "Agent instructions for this repo"

{{trigger.actor.login}}             → "username"
{{trigger.actor.name}}              → "Display Name"
{{trigger.actor.email}}             → "user@example.com"
{{trigger.actor.type}}              → "User" | "Bot" | "Organization"

{{trigger.trigger.eventType}}       → "pull_request_opened"

Pull Request Events

{{trigger.pullRequest.number}}      → 42
{{trigger.pullRequest.title}}       → "Add feature X"
{{trigger.pullRequest.state}}       → "open" | "closed" | "merged"
{{trigger.pullRequest.baseBranch}}  → "main"
{{trigger.pullRequest.headBranch}}  → "feature/x"
{{trigger.pullRequest.author}}      → "username"
{{trigger.pullRequest.body}}        → "PR description"
{{trigger.pullRequest.draft}}       → true | false
{{trigger.pullRequest.labels}}      → ["bug", "priority:high"]
{{trigger.pullRequest.assignees}}   → ["user1", "user2"]
{{trigger.pullRequest.headSha}}     → "abc123..."
{{trigger.pullRequest.baseSha}}     → "def456..."
{{trigger.pullRequest.additions}}   → 150
{{trigger.pullRequest.deletions}}   → 30
{{trigger.pullRequest.changedFiles}} → 12
{{trigger.pullRequest.requestedReviewers}} → ["reviewer1"]
{{trigger.pullRequest.createdAt}}   → "2024-01-15T10:30:00Z"
{{trigger.pullRequest.updatedAt}}   → "2024-01-16T14:00:00Z"
{{trigger.pullRequest.mergeable}}   → true | false | null

Issue Events

{{trigger.issue.number}}            → 123
{{trigger.issue.title}}             → "Bug: X doesn't work"
{{trigger.issue.state}}             → "open" | "closed"
{{trigger.issue.labels}}            → ["bug", "high-priority"]
{{trigger.issue.assignees}}         → ["user1"]
{{trigger.issue.author}}            → "reporter"
{{trigger.issue.body}}              → "Issue description"
{{trigger.issue.workItemType}}      → "Bug" | "Task" | "Story"
{{trigger.issue.createdAt}}         → "2024-01-15T10:30:00Z"

Trigger-Specific Fields

{{trigger.trigger.label}}           → "security-vulnerability" (for label events)
{{trigger.trigger.labelAction}}     → "added" | "removed"
{{trigger.trigger.assignee}}        → "username" (for assign events)
{{trigger.trigger.slashCommand}}    → "review" (for manual triggers)
{{trigger.trigger.commentId}}       → "123456"
{{trigger.trigger.commentAuthor}}   → "username"
{{trigger.trigger.commentBody}}     → "Comment text"
{{trigger.trigger.commitAdded}}     → true (for PR edit with push)
{{trigger.trigger.reviewer}}        → "username" (for review events)
{{trigger.trigger.reviewState}}     → "approved" | "changes_requested"

CI Workflow Events

{{trigger.ciWorkflow.runId}}        → "12345678"
{{trigger.ciWorkflow.workflowName}} → "CI / Build & Test"
{{trigger.ciWorkflow.status}}       → "Failed"
{{trigger.ciWorkflow.conclusion}}   → "failure"
{{trigger.ciWorkflow.branch}}       → "main"
{{trigger.ciWorkflow.isPullRequest}} → true | false
{{trigger.ciWorkflow.pullRequestId}} → 42
{{trigger.ciWorkflow.commitSha}}    → "abc123..."
{{trigger.ciWorkflow.queuedAt}}     → "2024-01-15T10:30:00Z"
{{trigger.ciWorkflow.startedAt}}    → "2024-01-15T10:30:05Z"
{{trigger.ciWorkflow.completedAt}}  → "2024-01-15T10:35:00Z"
{{trigger.ciWorkflow.duration}}     → 295000
{{trigger.ciWorkflow.workflowUrl}}  → "https://github.com/org/repo/actions/runs/12345678"
{{trigger.ciWorkflow.jobCount}}     → 3

Note: CI workflow events may also include {{trigger.pullRequest.*}} fields when the CI run was triggered by a pull request (isPullRequest is true).

Handlebars Helpers

The template engine registers these helpers:

Comparison Helpers

handlebars
1{{#if (eq variable "value")}}...{{/if}} 2{{#if (neq variable "value")}}...{{/if}} 3{{#if (gt count 5)}}...{{/if}} 4{{#if (gte count 5)}}...{{/if}} 5{{#if (lt count 5)}}...{{/if}} 6{{#if (lte count 5)}}...{{/if}}

Logical Helpers

handlebars
1{{#if (and condition1 condition2)}}...{{/if}} 2{{#if (or condition1 condition2)}}...{{/if}} 3{{#if (not condition)}}...{{/if}}

Serialization Helper

handlebars
1{{json someObject}}

Outputs the object as pretty-printed JSON. Useful for debugging or passing structured data.

Iteration

handlebars
1{{#each items}} 2 {{this.name}} - {{this.value}} 3{{/each}}

Usage Locations

Templates are primarily used in:

  1. Step paramsrepoFullName, branch in git.clone
  2. Step instructions — Reference previous step outputs in agent prompts

Templates are not used in trigger conditions (those use the condition engine with operators).

For the complete field listing of all context types, see references/trigger-context-fields.md.

Related Skills

Looking for an alternative to Template Variables Reference or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer