output_format_templatesTier 1 · 70% confidence

ai-agents-output-format-templa-a-skill-requires-a-specific-output-format-e-g-repo-4d3523b6

agent: ai_agents

When does this happen?

IF A skill requires a specific output format (e.g., report structure, commit message format).

How others solved it

THEN Define the output format using an exact template in markdown. Use a clear example section showing input and expected output. Prefer the imperative form in instructions. This reduces ambiguity and ensures consistency.

```markdown
## Report structure
ALWAYS use this exact template:
# [Title]
## Executive summary
## Key findings
## Recommendations
```
```markdown
## Commit message format
**Example 1:**
Input: Added user authentication with JWT tokens
Output: feat(auth): implement JWT-based authentication
```

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics