feedback
feedback
Send feedback to the dot-wiki GitHub repository. Collects structured input from the user and submits it as a GitHub Issue.
Target Repository
dev-goraebap/dot-wiki
Workflow
1. Select type
Ask the user to choose the issue type via AskUserQuestion:
- A) Bug — errors, unexpected behavior
- B) Feature — feature request, improvement suggestion
- C) Question — usage question, general inquiry
Type determines the label:
| Type | Label |
|---|---|
| Bug | bug |
| Feature | enhancement |
| Question | question |
2. Collect user input
Ask the user to describe their feedback via AskUserQuestion. Free-form, natural language. Guide the user:
- For bugs: what happened, what was expected
- For features: what they want, why
The user may provide rough, informal input. That is fine — the agent refines it in the next step.
3. Draft the issue
The agent rewrites the user's input into a well-structured GitHub issue.
- Title: Write a clear, concise one-line title. Prefix with the type:
[bug],[feature],[question]. - Description: Rewrite the user's input into proper issue format:
- For bugs: steps to reproduce, expected vs actual behavior
- For features: problem statement, proposed solution, expected benefit
- For questions: clear question with relevant context
- Keep the user's intent intact. Do not add or remove meaning.
- Use professional, neutral tone.
Show the drafted title and description to the user via AskUserQuestion and ask for approval before proceeding. The user may request edits.
4. Auto-collect environment info
Collect the following automatically:
# OS
echo "$OSTYPE"
# Installed dot-wiki skills + versions
for skill_dir in ~/.claude/skills/wiki-init ~/.claude/skills/wiki-connect ~/.claude/skills/wiki-focus ~/.claude/skills/wiki-health ~/.claude/skills/workflow-idea ~/.claude/skills/workflow-erd ~/.claude/skills/workflow-next-plan ~/.claude/skills/feedback; do
if [ -f "$skill_dir/SKILL.md" ]; then
name=$(sed -n '/^---$/,/^---$/{ /^name:/{ s/^name:[[:space:]]*//p; } }' "$skill_dir/SKILL.md")
version=$(sed -n '/^---$/,/^---$/{ /^[[:space:]]*version:/{ s/.*version:[[:space:]]*//p; } }' "$skill_dir/SKILL.md")
echo "$name v$version"
fi
done
5. Compose body
Assemble the issue body from collected information:
## Type
{bug / feature / question}
## Description
{user input}
## Environment
- OS: {os}
- Skills: {skill list}
6. Submit
Check gh CLI
gh auth status 2>/dev/null
Path A: gh authenticated
gh issue create \
--repo dev-goraebap/dot-wiki \
--title "{title}" \
--body "{body}" \
--label "{label}"
Show the created issue URL to the user.
Path B: gh not authenticated or not installed
Encode the title, body, and label as URL query parameters and open in the browser.
https://github.com/dev-goraebap/dot-wiki/issues/new?title={encoded_title}&body={encoded_body}&labels={label}
Open browser:
- macOS/Linux:
open "{url}"orxdg-open "{url}" - Windows (Git Bash):
start "{url}"
Tell the user: "Please review and click Submit in the browser."
Rules
- Never create an issue without user confirmation. Show the drafted issue and get approval before submitting.
- Never include personal information. Exclude emails, usernames from paths, etc.
- Always rewrite user input. Never submit raw user input as-is. The agent must draft a clean, structured issue.