Chalk Labs
Need help deploying error-messages?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kaushal-waygood-error-messages
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
error-messages- Description
- Error Message Style Guide for Validation Errors
- License
- MIT
- Instructions
- 260 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Error Message Style Guide
This guide establishes the standard format for validation error messages in the gh-aw codebase. All validation errors should be clear, actionable, and include examples.
## Error Message Template
```
[what's wrong]. [what's expected]. [example of correct usage]
```
Each error message should answer three questions:
1. **What's wrong?** - Clearly state the validation error
2. **What's expected?** - Explain the valid format or values
3. **How to fix it?** - Provide a concrete example of correct usage
## Good Examples
These examples follow the template and provide actionable guidance:
### Time Delta Validation (from time_delta.go)
```go
return nil, fmt.Errorf("invalid time delta format: +%s. Expected format like +25h, +3d, +1w, +1mo, +1d12h30m", deltaStr)
```
✅ **Why it's good:**
- Clearly identifies the invalid input
- Lists multiple valid format examples
- Shows combined formats (+1d12h30m)
### Type Validation with Example
```go
return "", fmt.Errorf("manual-approval value must be a string, got %T. Example: manual-approval: \"production\"", val)
```
✅ **Why it's good:**
- Shows actual type received (%T)
- Provides concrete YAML example
- Uses proper YAML syntax with quotes
### Enum Validation with Options
```go
return fmt.Errorf("invalid engine: %s. Valid engines are: copilot, claude, codex, custom. Example: engine: copilot", engineID)
```
✅ **Why it's good:**
- Lists all valid options
- Provides simplest example
- Uses consistent formatting
### MCP Configuration
```go
return fmt.Errorf("tool '%s' mcp configuration must specify either 'command' or 'container'. Example:\ntools:\n %s:\n command: \"npx @my/tool\"", toolName, toolName)
```
✅ **Why it's good:**
- Explains mutual exclusivity
- Shows realistic tool name
- Formats multi-line YAML example
## Bad Examples
These examples lack clarity or actionable guidance:
### Too Vague
```go
return fmt.Errorf("invalid format")
```
❌ **Problems:**
- Doesn't specify what format is invalid
- Doesn't explain expected format
- No example provided
### Missing Example
```go
return fmt.Errorf("manual-approval value must be a string")
```
❌ **Problems:**
- States requirement but no example
- User doesn't know proper YAML syntax
- Could be clearer about type received
### Incomplete Information
```go
return fmt.Errorf("invalid engine: %s", engineID)
```
❌ **Problems:**
- Doesn't list valid options
- No guidance on fixing the error
- User must search documentation
## When to Include Examples
Always include examples for:
1. **Format/Syntax Errors** - Show the correct syntax
```go
fmt.Errorf("invalid date format. Expected: YYYY-MM-DD HH:MM:SS. Example: 2024-01-15 14:30:00")
```
2. **Enum/Choice Fields** - List all valid options
```go
fmt.Errorf("invalid permission level: %s. Valid levels: read, write, none. Example: permissions:\n contents: read", level)
```
3. **Type Mismatches** - Show expected type and example
```go
fmt.Errorf("timeout-minutes must be an integer, got %T. Example: timeout-minutes: 10", value)
```
4. **Complex Configurations** - Provide complete valid example
```go
fmt.Errorf("invalid MCP server config. Example:\nmcp-servers:\n my-server:\n command: \"node\"\n args: [\"server.js\"]")
```
## When Examples May Be Optional
Examples can be omitted when:
1. **Error is from wrapped error** - When wrapping another error with context
```go
return fmt.Errorf("failed to parse configuration: %w", err)
```From kaushal-waygood/agentic-self-healing-ci, MIT.
More from kaushal-waygood/agentic-self-healing-ci
- 0.401score
gh-agent-session
kaushal-waygood
GitHub CLI Agent Session Extension
SkillDFreshness: DClaude Code +9 - 0.401score
gh-agent-task
kaushal-waygood
GitHub CLI Agent Task Extension
SkillDFreshness: DClaude Code +9 - 0.401score
github-mcp-server
kaushal-waygood
GitHub MCP Server Documentation
SkillDFreshness: DClaude Code +9 - 0.387score
Dictation Instructions
kaushal-waygood
Instructions for fixing speech-to-text errors and improving text quality in gh-aw documentation and workflows
SkillDFreshness: DClaude Code +9 - 0.208score
custom-agents
kaushal-waygood
No description from the publisher yet.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Dec 2, 2025 (11 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- gh.io/gh-aw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from kaushal-waygood
- 0.401score
gh-agent-session
kaushal-waygood
GitHub CLI Agent Session Extension
SkillDFreshness: DClaude Code +9 - 0.401score
gh-agent-task
kaushal-waygood
GitHub CLI Agent Task Extension
SkillDFreshness: DClaude Code +9 - 0.401score
github-mcp-server
kaushal-waygood
GitHub MCP Server Documentation
SkillDFreshness: DClaude Code +9 - 0.387score
Dictation Instructions
kaushal-waygood
Instructions for fixing speech-to-text errors and improving text quality in gh-aw documentation and workflows
SkillDFreshness: DClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get error-messages running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
error-messages skill. Agent Mart. https://agentmart.dev/skills/kaushal-waygood-error-messages (last updated 2026-10-24)