clickup-tweak-workflow
Skill2 starsChanged 3 months agoMITView on GitHub
Use when fixing or building a ClickUp card ID (e.g. GYMED-100) end-to-end, including branch, verification, and MR review.
- Reads credentials
In this repository53 other files it gives its agents.
- instructions/AGENTS.mdAGENTS.md
- skills/software-development/php-best-practices/AGENTS.mdAGENTS.md
- instructions/CLAUDE.mdCLAUDE.md
- architecture-designerSkill
- caveman-commitSkill
- caveman-compressSkill
- cavemanSkill
- conventional-commitSkill
- youtube-contentSkill
- agentkit-skill-authoringSkill
- skill-orchestrationSkill
- analogical-thinkingSkill
- investigateSkill
- ponytailSkill
- systematic-debuggingSkill
- mermaid-diagramsSkill
- feature-forgeSkill
- find-skillsSkill
- impeccableSkill
- javascript-proSkill
- legacy-modernizerSkill
- migrationSkill
- no-ai-slopSkill
- olakunlevpn-filament-skillsSkill
- clickupSkill
- git-advancedSkill
- local-wikiSkill
- mr-reviewSkill
- php-proSkill
- doxSkill
- improveSkill
- openspecSkill
- scrutinizeSkill
- systems-thinkingSkill
- tweakSkill
- tweak-workflowSkill
- prompt-engineerSkill
- laravel-best-practicesSkill
- pest-testingSkill
- php-best-practicesSkill
- security-audit-lightSkill
- security-best-practicesSkill
- spatie-javascriptSkill
- spatie-laravel-phpSkill
- spatie-securitySkill
- spatie-version-controlSkill
- tailwindcss-developmentSkill
- test-driven-developmentSkill
- sql-proSkill
- typescript-proSkill
- ui-ux-pro-maxSkill
- vue-expert-jsSkill
- vue-expertSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 13 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 38
Prefer the MCP server: when connected — clickup_search_tasks, clickup_task_comments, and clickup_manage_task are richer than the REST …
- Distinctive: line 52
If credentials are unavailable, stop and ask the user — never guess card content.
- Distinctive: line 56
Use when the user gives a ClickUp task ID and wants the card implemented end to end in a GitLab-backed repo.
- Very specific: line 107
If a bugfix turns out to need design work (behavior change, multiple approaches), give it the systems-thinking pass too.
- Very specific: line 110
Route & plan: If blocking decisions remain, stop and ask to clarify or split the card.
- Distinctive: line 131
Do not open a merge request on your own: Only create the MR — targeting the base from step 2 — when the user explicitly asks.
- Very specific: line 134
Check for
ai_code_reviewafter the MR exists: If the pipeline exists, wait for it using glab ci list (filter by branch ref) or glab mr … - Distinctive: line 136
If no matching pipeline exists, record that the AI review gate is not configured and do not poll indefinitely.
- Very specific: line 140
Work through every unresolved review thread: run mr-review, which owns local fixes, verification, replies, and resolution.
- Distinctive: line 144
Record resolution when authorized: After verified shipping and review, add a concise resolution comment and update the card status through …
- Distinctive: line 154
Never assume branch base, branch type, or MR creation is authorized.
- Distinctive: line 155
Do not start unclaimed work or duplicate an already claimed card.
- Distinctive: line 156
Do not pre-slice unresolved decisions into speculative implementation tasks.
- Distinctive: line 157
Do not write planning metadata directly into rebuild-only wiki pages.
- Distinctive: line 158
Do not mark a card complete without resolution evidence or authorized closure.
- Distinctive: line 159
Do not skip root-cause investigation for hotfixes because urgency increases the cost of a wrong patch.
- Distinctive: line 161
Do not push unverified code or resolve review threads before fixes are pushed.
- Very specific: line 162
Do not assume ai_code_review exists.
- Distinctive: line 164
Do not load every domain skill.
- Very specific: line 165
Do not use scrutinize as a substitute for tests or post-MR mr-review.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ClickUp Tweak Workflow
Take a ClickUp-tracked card end-to-end — bug fix or new feature. Maps to the
standard flow: Understand → Route → Plan → Implement → Verify → Ship. This
skill orchestrates: clickup (fetch the card), local-wiki (persist it
locally), investigate / systems-thinking (understand — type-
dependent), skill-orchestration (route the domain skills the change needs),
tweak (plan when non-trivial), scrutinize (sanity-check risky plans /
changes), git-actions (branch / commit / push / MR), and mr-review
(drive the review-thread fix loop).
Scope: any implementable ClickUp card — defect, feature, or hotfix.
Understand path depends on type: Bugfix / Hotfix → investigate (root
cause; a ticket names a symptom, not the bug); Feature →
systems-thinking (state ownership, feedback loops, blast radius).
Prerequisites — ClickUp Credentials
Credentials live in ~/.agents/.env or the process environment. The
scripts read CLICKUP_API_KEY (canonical), optional CLICKUP_API_TOKEN, and
CLICKUP_TEAM_ID from inherited env first, then ~/.agents/.env. Do not print
or expose secret values.
| Var | Used by | Fallback if env missing |
CLICKUP_API_KEY (canonical) | MCP server and REST scripts | ~/.agents/.env |
CLICKUP_API_TOKEN (optional) | REST scripts; legacy alias for KEY | ~/.agents/.env |
CLICKUP_TEAM_ID | both — custom-ID resolution | 5747865 |
Prefer the MCP server when connected — clickup_search_tasks,
clickup_task_comments, and clickup_manage_task are richer than the REST
scripts. If it is unavailable, use the REST scripts; they read the same
credentials from ~/.agents/.env.
Verify before starting
[ -n "$CLICKUP_API_TOKEN" ] && echo "env TOKEN ok" || echo "env TOKEN MISSING"
[ -n "$CLICKUP_API_KEY" ] && echo "env KEY ok" || echo "env KEY MISSING"
# Live test (scripts read env first):
python3 ~/.agents/skills/operations/clickup/scripts/show_task.py GYMED-793 --metaIf credentials are unavailable, stop and ask the user — never guess card content.
When to Use
Use when the user gives a ClickUp task ID and wants the card implemented end to end in a GitLab-backed repo. Do not use for non-ClickUp work, review-only tasks, cards the user only wants summarized, or non-GitLab repos unless the workflow stops after local verification.
Steps
- Ingest the card into the local wiki. Persist the ClickUp card before
writing any code, so the context survives. Hand off to
local-wiki(it locates the wiki — prefersdocs/wiki/— and obeys the wiki's ownAGENTS.md). It fetches the card viaclickup— prefer the MCP server'sclickup_search_tasks/clickup_task_commentswhen connected; otherwise the REST scripts (show_task.py <ID>,show_comments.py <ID>) read creds from inherited env or~/.agents/.env(see Prerequisites). Either way it writes the append-only raw corpus + rebuilds the topic page per the wiki's governance. If the card does not define a safe destination, stop and ask for clarification. For non-trivial cards, carry the destination (one-sentence done condition), boundary, and blocking unknowns into thetweakproposal/specs at step 4. If planning is blocked, append them to the card or a wiki location allowed by itsAGENTS.md. For trivial cards, use a governed append-only note or card comment; never hand-edit rebuild-only wiki pages. Claim, classify & branch. Confirm card ownership before coding. If the card is unassigned, claim it through the approved tracker update operation when authorized; otherwise stop and ask. If assigned to someone else, stop and coordinate rather than duplicate work. Then classify the card, pick the prefix
- base, and branch off the base the user confirms — never assume. Use
git-actions.
Signal Type Prefix Suggested base Urgent prod breakage — "hotfix", "urgent", critical priority on a defect Hotfix hotfix/mainSomething broken — "bug", "fix", "error", a Bug task type/tag Bugfix bugfix/developNew capability or behavior change — "add", "implement", "enhance", a Feature/Story type Feature feature/developBranch name:
{prefix}/{CUSTOM_ID}-{short-title}(e.g.bugfix/TUKS-490-login-null-crash,feature/RT-812-invite-external-users).Trivial card? One-line fix, no logic — skip steps 3–4; jump to step 5 (implement & verify).
- base, and branch off the base the user confirms — never assume. Use
Understand — type-dependent.
- Bugfix / Hotfix →
investigate: root-cause the defect before touching code (4 phases: investigate → analyze → hypothesize → implement). For a hotfix, keep it tight — root cause first, even under time pressure. - Feature →
systems-thinking: map state ownership, feedback loops, and blast radius before changing anything; a feature is usually a cross-boundary / architecture change.
If a bugfix turns out to need design work (behavior change, multiple approaches), give it the
systems-thinkingpass too.- Bugfix / Hotfix →
Route & plan. If blocking decisions remain, stop and ask to clarify or split the card. If the card exceeds one session but its destination is clear, require a
tweakplan and explicit handoff checkpoint in its tasks or handoff note; do not claim completion or create speculative implementation scope.- Route → hand off to
skill-orchestrationto discover and load the smallest set of domain skills the actual change needs (e.g.laravel-conventions,api-endpoint-development,nuxt-*,pest-testing— whatever the code / language / framework touched calls for). Don't guess; let it match from the catalog. - Plan when needed → if the change is non-trivial, plan it with
tweak(proposal → specs → design → tasks) before implementing. - Scrutinize when needed → after planning and before implementation, run
scrutinizefor cross-boundary, risky, public-contract, security, multiple-approach, or explicitly requested sanity-check work. Skip it for trivial one-file fixes and routine docs/config changes.
- Route → hand off to
- Implement, then verify. Build the change on the branch, then verify before any push or MR — run the project's tests / typecheck / lint (the strongest applicable evidence). Don't push unverified code.
- Do not open a merge request on your own. Only create the MR — targeting the base from step 2 — when the user explicitly asks.
- Check for
ai_code_reviewafter the MR exists. If the pipeline exists, wait for it usingglab ci list(filter by branch ref) orglab mr view <iid>. If no matching pipeline exists, record that the AI review gate is not configured and do not poll indefinitely; inspect available CI/review status instead. - Work through every unresolved review thread: run
mr-review, which owns local fixes, verification, replies, and resolution. Never resolve first. Repeat after each push until no resolvable threads remain. - Record resolution when authorized. After verified shipping and review, add a concise resolution comment and update the card status through the approved tracker operation. If closure is not authorized or shipping is pending, record that explicitly instead of marking the card complete.
Pitfalls
- Keep one token var:
CLICKUP_API_KEYis canonical; REST scripts acceptCLICKUP_API_TOKENas a legacy alias. Keep credentials in~/.agents/.envand never print their values. - Never assume branch base, branch type, or MR creation is authorized.
- Do not start unclaimed work or duplicate an already claimed card.
- Do not pre-slice unresolved decisions into speculative implementation tasks.
- Do not write planning metadata directly into rebuild-only wiki pages.
- Do not mark a card complete without resolution evidence or authorized closure.
- Do not skip root-cause investigation for hotfixes because urgency increases the cost of a wrong patch.
- Do not push unverified code or resolve review threads before fixes are pushed.
- Do not assume
ai_code_reviewexists; record a missing gate instead of polling forever. - Do not load every domain skill; route only skills required by touched code.
- Do not use
scrutinizeas a substitute for tests or post-MRmr-review.
Verification
- Card and comments persisted in the governed local wiki.
- Destination, boundary, and blocking unknowns recorded.
- Card ownership, type, branch name, and base confirmed before branching.
- Required domain skills routed; non-trivial work planned with
tweak. - Large work has a plan and explicit handoff checkpoint, or is complete in-session.
- Risky/non-trivial plan or change scrutinized, or skip was justified.
- Tests, typecheck, lint, or strongest applicable checks pass.
- MR created only when explicitly requested.
- When present, AI review completed; otherwise missing gate recorded.
- Every resolvable review thread fixed or explained, replied to, and resolved.
- Resolution comment/status recorded, or closure explicitly pending authorization.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

