| name | issue |
| description | Create a GitHub issue in the appropriate databayt repo |
| when_to_use | Use when a task, bug, chore, or follow-up needs to become a tracked GitHub issue in the right databayt repo (kun, hogwarts, souq, mkan, shifa, codebase, shadcn, ios-app/android-app, marketing) with priority/type/scope/assignment labels, a Context/Action/Verification body, and a Slack #dev notification — including turning Slack messages into issues — as distinct from /idea which captures structured feature ideas with user stories. Triggers on: open/file an issue, create a GitHub issue in the right databayt repo. |
| argument-hint | <title> [description] |
Create a GitHub issue in the appropriate databayt repo.
Arguments: $ARGUMENTS (title and description, or just a topic to expand)
Repos
| Repo | Use for |
|---|
| kun | Engine config: agents, skills, MCP, hooks, rules, memory, scripts |
| hogwarts | Education product: features, bugs, improvements |
| souq | E-commerce product |
| mkan | Rental product |
| shifa | Medical product |
| codebase | Shared patterns, components, templates |
| shadcn | UI component library |
| ios-app / android-app | Mobile apps (iOS / Android) |
| marketing | Landing pages, marketing site |
Labels
Priority
P0-critical, P1-high, P2-medium, P3-low
Type
type:agent, type:skill, type:mcp, type:hook, type:rule, type:memory, type:docs, type:infra, bug, enhancement
Scope
scope:captain, scope:business, scope:product, scope:tech, scope:specialist, scope:cross-repo
Assignment
assign:abdout, assign:ali, assign:samia, assign:sedon, assign:captain
Steps
- Determine the correct repo from the topic
- Select appropriate labels (priority + type + scope + assignment)
- Select milestone if applicable (Phase 1/2/3 for kun)
- Write a clear title (imperative, <70 chars)
- Write a structured body:
- Context: Why this matters
- Action: What needs to be done (checklist)
- Verification: How to confirm it's done
- Create the issue using
gh issue create
- Post to Slack
#dev channel with the issue link
- Report the issue URL
Slack Integration
After creating an issue, post to Slack:
curl -s -X POST -H "Authorization: Bearer $SLACK_BOT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channel":"#dev","text":"New issue: repo#N — title"}' \
https://slack.com/api/chat.postMessage
From Slack
When asked to create issues from Slack messages:
- Read recent messages from the specified channel using Slack API
- Identify actionable items (bugs, feature requests, tasks)
- For each item:
- Determine repo from context
- Create GitHub issue with original message as context
- Reply in Slack thread with the issue link
- Use
users:read to identify who reported the issue
If creating issues across multiple repos, create them in parallel.
If the label doesn't exist in the target repo, create it first with gh label create.