close-issue
Skill2 starsChanged 19 days agoApache-2.0View on GitHub
Close a Jira issue by transitioning to Done. Adds a comment summarizing branch commits and MR. Use when user says "close issue", "mark done", "finish AAP-X".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- MillenniumDawn/Millennium-Dawntheir own version, first seen Oct 8, 2026
- felirangelp/harness-driven-devtheir own version, first seen May 20, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- MillenniumDawn/Millennium-Dawn★ 158same name
- felirangelp/harness-driven-dev★ 15same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository124 other files it gives its agents.
- add-projectSkill
- ansible-configure-vmSkill
- api-smoke-testSkill
- appinterface-checkSkill
- attach-session-to-jiraSkill
- aws-rds-debugSkill
- beerSkill
- bootstrap-all-knowledgeSkill
- bootstrap-knowledgeSkill
- build-persona-styleSkill
- cancel-pipelineSkill
- cert-checkSkill
- check-ci-healthSkill
- check-integration-testsSkill
- check-mr-feedbackSkill
- check-my-prsSkill
- check-secretsSkill
- ci-retrySkill
- cleanup-branchesSkill
- cleanup-stale-executionsSkill
- clone-jira-issueSkill
- close-mrSkill
- cloud-inventorySkill
- coffeeSkill
- compare-optionsSkill
- create-jira-issueSkill
- create-mrSkill
- create-slide-deckSkill
- data-migration-verifySkill
- debug-local-dbSkill
- debug-prodSkill
- deploy-to-ephemeralSkill
- dev-workflow-orchestratorSkill
- discovered-work-summarySkill
- edit-slide-deckSkill
- email-digestSkill
- environment-overviewSkill
- explain-codeSkill
- export-presentationSkill
- extend-ephemeralSkill
- find-similar-codeSkill
- gather-contextSkill
- gdrive-researchSkill
- gke-cluster-opsSkill
- hello-worldSkill
- hotfixSkill
- inscope-researchSkill
- investigate-alertSkill
- investigate-service-issuesSkill
- investigate-slack-alertSkill
- jira-hygiene-allSkill
- jira-hygieneSkill
- knowledge-refreshSkill
- konflux-statusSkill
- learn-architectureSkill
- learn-patternSkill
- list-presentationsSkill
- local-build-testSkill
- local-dev-environmentSkill
- manage-local-servicesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
If status already "done": return early with message
- Very specific: line 36
Use Jira wiki: {code}, {monospace}, | for tables
- Very specific: line 51
Remove from state/current_work.active_issues (key match)
- Very specific: line 52
Remove from open_mrs if MR merged
≈ “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
Close Jira Issue
Inputs
| Input | Type | Default | Purpose |
issue_key | string | required | Jira issue key (e.g., AAP-12345) |
repo | string | "." | Repo path for branch/commits |
add_comment | bool | true | Add closing comment with commit summary |
Workflow
1. Bootstrap
persona_load("developer")knowledge_query(project="automation-analytics-backend", section="gotchas")— Jira workflow contextcheck_known_issues("jira_transition")- Load config:
jira.statuses.done,jira.statuses.pending_release, resolvegitlab_projectfrom issue key
2. Get Issue & Status
jira_get_issue(issue_key)— orjira_view_issuedepending on tool naming- If status already "done": return early with message
3. Branch & Commits
git_branch_list(repo, all_branches=true)— find branch matching issue key viaparse_git_branchesgit_log(repo, limit=20, oneline=true)— parse commitsgitlab_mr_list(project, state="all")— find MR with issue key in title- Parse MR: id, title, state, merged, url
4. Build Comment
- Format: h3. ✅ Issue Completed, Branch, MR link, Commits table (SHA, Message)
- Use Jira wiki:
{code},{monospace},|for tables
5. Update Jira
jira_add_comment(issue_key, closing_comment)ifadd_commentjira_get_transitions(issue_key)— get available transitions- Find "Done" transition via
find_transition_name(config may use "Done", "Closed", etc.) jira_transition(issue_key, status=target_status)
6. Verify & Notify
jira_get_issue(issue_key)— verify statusskill_run("notify_team", '{"message": "Issue AAP-X closed", "type": "success", "context": "..."}')jira_attach_session(issue_key, include_transcript=false)
7. Memory
memory_session_log("Closed issue AAP-X", "Commits: N, MR merged: Y/N")- Remove from
state/current_work.active_issues(key match) - Remove from
open_mrsif MR merged - Record in
learned/patterns.issue_closures - Save to
state/shared_context.last_issue_closed
8. Cleanup
skill_run("cleanup_branches", '{"repo": "...", "dry_run": false}')— delete merged branchpersona_load("developer")— restore after cleanup
9. Failure Learning
- "transition not available" →
learn_tool_fix("jira_transition", "transition not available", "Wrong status", "Check jira_get_transitions") - "no such host" →
learn_tool_fix("gitlab_mr_list", "no such host", "VPN", "vpn_connect()")
Key MCP Tools
persona_load,jira_get_issue,jira_view_issue,jira_add_comment,jira_get_transitions,jira_transition,jira_attach_sessiongit_branch_list,git_log,gitlab_mr_listknowledge_query,check_known_issues,learn_tool_fixmemory_session_log,skill_run
Note
Jira tool naming may vary: jira_get_issue vs jira_view_issue. Use available Jira tools for fetch, transitions, and comments.
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.

