From engineer-agent
Draft an answer to a Slack question about code, implementation, or project status. Use this skill when processing a slack-question queue item or when asked to draft a Slack response.
How this skill is triggered — by the user, by Claude, or both
Slash command
/engineer-agent:answer-slacksonnetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a concise, helpful answer to a Slack question by researching the codebase and context.
Generate a concise, helpful answer to a Slack question by researching the codebase and context.
Bash — spy thread <channel> <ts> --json -w <workspace> (Spy Slack CLI) to read full thread contextRead — read queue items, config, and source code filesWrite — write draft answerGrep, Glob — search local codebaseA queue item file in ~/.claude/engineer-agent/queue/incoming/ with type slack-question, containing the message text and thread context.
Read the queue item file. Extract the project field from frontmatter. Analyze:
Read ~/.claude/engineer-agent/engineer.yaml to find the project's path at projects.<project>.path.
If you need more thread context than the queue item already contains, read it with
spy thread <channel_id> <ts> --json -w <workspace>, resolving the Spy binary
(agent.slack.bin, default spy) and workspace (projects.<project>.slack.workspace ??
agent.slack.workspace) from config.
Based on the question type:
Code/implementation questions:
Grep to search for relevant code patterns in the project's local codebase (at the project path)Read to read specific files referenced in the questionStatus questions:
Architecture questions:
Write a concise Slack-appropriate response:
code blocks, bold for emphasis, bullet listsIf the question cannot be answered confidently:
urgent so the human reviews it quicklyUpdate the queue item file:
## Draft Response section:## Draft Response
### Proposed Slack Message
{the message to post in the thread}
### Confidence
{high | medium | low} — {brief explanation of confidence level}
### Sources
- {file or link referenced}
- {another source}
status to draftedpriority to urgent~/.claude/engineer-agent/queue/incoming/ to ~/.claude/engineer-agent/queue/drafts/Report: "Slack answer drafted for question from @{author} in #{channel_name}. Confidence: {level}."
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub tomharris/engineer-agent --plugin engineer-agent