Loading...
Loading...
Standard flow from any task source (link or description) to creating a PR: resolve task, create branch and TODO.md, wait for fixes, create PR against origin only. Use find-skills to discover data-source query methods; after confirmation save to global config so the discovery step can be skipped next time. Use when the user provides a task link/description, asks to 'follow GitHub workflow', or 'create PR from task'.
npx skill4agent add hairyf/skills github-workflowTODO.mddev~/.agents/skills/github/npx skills add hairyf/skills --skill github-cli -gghgh auth logingh auth statusghgh auth logingh~/.bonfire/source.json{
"dataSourceType": "clickup",
"description": "ClickUp task link",
"matchPatterns": ["clickup.com/t/", "app.clickup.com"],
"taskIdPlaceholder": "<task_id>",
"commands": {
"get": "node ~/.bonfire/skills/clickup/query.mjs get <task_id> --subtasks",
"comments": "node ~/.bonfire/skills/clickup/query.mjs comments <task_id>"
},
"envCheck": "~/.bonfire/skills/clickup/.env"
}matchPatternscommands.getcommands.commentstask_idenvCheck~/.bonfire/source.jsonmatchPatternst/<id>commands.getcommands.commentstask_idnpx skills find <type or keyword>npx skills find clickupnpx skills find jira tasknpx skills find task managementdataSourceTypematchPatternscommandsenvCheck~/.bonfire/source.jsongit checkout devgit pull origin devgit checkout -b fix/<short-desc-kebab-case>feature/...TODO.md# Task: <task title>
**Task link**: <user-provided link or "see description">
**Status**: <current status>
**Project**: <project/list name, if any>
## Problem description
<task description and comments>
## Todo
- [ ] Analyze root cause
- [ ] Locate relevant code files
- [ ] Plan fix
- [ ] Implement fix
- [ ] Run checks (typecheck/test/lint)
- [ ] Commit
## Related files
<fill after analysis>
## Approach
1. Search for relevant keywords
2. Check API calls and type definitions
3. Inspect related components and pages
4. Understand data flow and display logic.bonfire/index.mdgit push -u origin <branch>gh pr create --base dev --head <branch> --title "<title>" --body "<body with task link etc>"--repo--repo <other-org/repo>originorigin| Case | Handling |
|---|---|
| No global config and find-skills has no result | Ask user to provide task title, description, and short branch description; still create branch and TODO.md. |
| Data source .env not set or token invalid | Prompt to configure (e.g. .env at |
| Suggest checking network and |
Branch | Ask whether to continue on existing branch or use a new name (e.g. |
| Do not add another remote; report error and suggest updating |
| User asks for PR before saying "fix done" | If there are new commits and user explicitly requests, run Step 4; otherwise remind to finish fix and commit first. |
| See Prerequisites. Prompt to install the GitHub skill or run |
~/.bonfire/skills/clickup/SKILL.mdquery.mjs get/comments~/.agents/skills/github/SKILL.mdghnpx skills find <keyword>