answer-slacklisted
Install: claude install-skill tomharris/engineer-agent
# Draft a Slack Answer
Generate a concise, helpful answer to a Slack question by researching the codebase and context.
## Tools Needed
- `Bash` — `spy thread <channel> <ts> --json -w <workspace>` ([Spy](https://github.com/tomharris/spy) Slack CLI) to read full thread context
- `Read` — read queue items, config, and source code files
- `Write` — write draft answer
- `Grep`, `Glob` — search local codebase
## Input
A queue item file in `~/.local/share/engineer-agent/queue/incoming/` with type `slack-question`, containing the message text and thread context.
## Steps
### 1. Understand the Question
Read the queue item file. Extract the `project` field from frontmatter. Analyze:
- What specifically is being asked?
- Is this about code implementation, architecture, status, or something else?
- Is there enough context to give a good answer?
### 2. Research
Read `~/.local/share/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:**
- Use `Grep` to search for relevant code patterns in the project's local codebase (at the project path)
- Use `Read` to read specific files referenced in the questio