home / skills / enoch-robinson / agent-skill-collection / template

template skill

/template

This skill analyzes user prompts and generates concise, practical Python guidance and usage scenarios to maximize productivity.

npx playbooks add skill enoch-robinson/agent-skill-collection --skill template

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
626 B
---
name: your-skill-name
description: 清晰描述这个 Skill 的功能以及何时使用它。包含触发条件和使用场景。
---

# Skill 名称

简要说明这个 Skill 的用途和核心功能。

## 工作流程

1. 第一步
2. 第二步
3. 第三步

## 使用示例

### 示例 1:基础用法

```bash
# 示例命令或代码
```

### 示例 2:进阶用法

```bash
# 示例命令或代码
```

## 指南

- 指南 1:具体的操作建议
- 指南 2:需要注意的事项
- 指南 3:最佳实践

## 常见问题

### 问题 1
解答...

### 问题 2
解答...

## 参考资源

- [资源链接](url)

Overview

This skill provides a clear, actionable tool for automating a short multi-step workflow: input processing, stepwise transformation, and final output generation. It is designed for situations where you need repeatable processing with predictable triggers and labeled stages. Use it to standardize routine tasks and reduce manual steps.

How this skill works

The skill inspects the provided input and runs it through three sequential stages: an initial validation and normalization step, a transformation or enrichment step, and a final assembly or export step. Each stage emits concise logs and returns structured results so callers can inspect intermediate outputs or abort on validation failures. It exposes simple triggers (CLI or function call) and clear success/failure signals.

When to use it

  • When you have a small, repeatable pipeline of three or fewer steps that must be performed consistently.
  • When inputs require validation and normalization before any transformation.
  • When intermediate outputs must be inspectable or saved for audit purposes.
  • When you want a lightweight automation that can be invoked from scripts or integrated into CI.
  • When you need predictable failure modes and clear logging for each stage.

Best practices

  • Validate inputs early and provide informative error messages so failures are easy to diagnose.
  • Keep each step focused and idempotent so retries are safe and predictable.
  • Log concise, structured messages at each stage for fast debugging and auditing.
  • Expose flags or parameters to toggle dry-run mode and verbose logging.
  • Return structured success/failure objects rather than raw text for easier integration.

Example use cases

  • Normalize CSV records: validate headers, clean fields, then export a canonical CSV.
  • Content processing: sanitize text, apply enrichment tags, then generate a final JSON payload.
  • Image pipeline: verify image formats, resize or transcode, then upload to storage and return URLs.
  • CI helper: run pre-checks, apply automated fixes, and create a report artifact for the build.
  • Data migration step: validate source rows, transform formats, and write to the destination table.

FAQ

What triggers the skill?

You can trigger it via a command-line invocation or by calling the exposed function in code; both accept the same input schema.

Can I inspect intermediate outputs?

Yes. Each stage returns structured data and logs so you can inspect or store intermediate results for debugging or audit.