prflow
Skill1 starsChanged 3 months agoMITView on GitHub
Use for direct Bitbucket pull-request and CI operations through atlas prflow, including PR discovery and review context, comments, approvals, merges, descriptions, retargeting, checks, pipeline status and logs, custom pipelines, and Renovate workflows. Use live command help for current flags.
In this repository7 other files it gives its agents.
- doc-writerSkill
- foam-notesSkill
- kotlin-code-reviewerSkill
- portfolio-analysisSkill
- review-codeSkill
- twgSkill
- write-codeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
41 rules. About 0 are common, 25 are distinctive, and 16 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈25
Distinctive · estimate
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use atlas prflow as the authoritative interface for direct Bitbucket pull-request and pipeline work.
- Distinctive: line 24
Use TWG to discover linked requirements or decisions, then return to PRFlow for the Bitbucket action.
- Distinctive: line 27
Never persist private repository metadata, PR content, comments, pipeline logs, tokens, or downloaded artifacts in this skill source …
- Very specific: line 35
Use atlas prflow <command> --help before guessing current flags or a mutation contract.
- Distinctive: line 37
Use the configured authentication mode for routine work.
- Very specific: line 38
Never provide a raw token through --token, command output, or chat.
- Distinctive: line 39
Do not run token setup, authentication switching, config changes, cache clearing, plugin installation, or credential repair unless the user …
- Distinctive: line 46
Prefer these target forms:
- Distinctive: line 62
When the user explicitly requests a specific PR action, inspect current state and execute it without an extra confirmation.
- Distinctive: line 67
Verify mutations with a follow-up PR or pipeline read and report the result.
- Very specific: line 72
Start with pr review-bundle for metadata, readiness, checks, comments, changed files, and diff statistics in one read.
- Very specific: line 74
Use pr review-lines when exact destination line numbers are needed for findings or inline comments.
- Very specific: line 76
Use pr status for the concise merge-readiness view and pr checks for individual commit and compliance checks.
- Very specific: line 78
Use comment list --threads --unresolved-only or --actionable for current review work.
- Very specific: line 80
Use agent diagnose or pr doctor when the user wants an agent-friendly diagnosis spanning checks, comments, pipeline state, and failed …
- Distinctive: line 84
Use JSON only when structured output materially reduces parsing or ambiguity.
- Distinctive: line 85
Do not collect the same PR state repeatedly through overlapping commands.
- Distinctive: line 89
Use the narrow command and inspect its live help:
- Very specific: line 102
Before approving or merging, read pr status and pr checks.
- Very specific: line 109
Use the top-level comment form for new workflows.
- Distinctive: line 110
Use the parent thread ID for replies and resolution.
- Very specific: line 113
Treat pr status, pr checks, and unresolved thread filters as authoritative for blockers.
- Distinctive: line 119
Keep these surfaces distinct:
- Very specific: line 131
Never pass a bare numeric target to pipeline.
- Very specific: line 134
Use --follow-ws to wait for terminal state.
- Distinctive: line 143
When a build fails:
- Distinctive: line 147
Write logs to an explicit temporary or workspace runtime directory, never to the installed skill directory.
- Distinctive: line 150
Treat zero-duration pipelines with empty logs as selector, YAML, image, or setup failures until evidence points to application code.
- Distinctive: line 153
When the user asks to fix until green:
- Very specific: line 155
Follow the current run with --follow-ws.
- Distinctive: line 158
Run focused local verification.
- Distinctive: line 159
Commit and push only as authorized by the request.
- Distinctive: line 160
Follow the newly triggered run and repeat until green or genuinely blocked.
- Distinctive: line 162
Stop after five consecutive code-fix cycles without convergence and report the repeated failure and evidence.
- Very specific: line 168
Use renovate list for read-only inventory and triage.
- Distinctive: line 171
Treat conflicts, stale branches, failed checks, and dependency-specific code failures as separate conditions.
- Distinctive: line 175
After a fix, verify locally, push only when authorized, and follow PR checks until terminal.
- Very specific: line 178
Use live renovate <command> --help for the installed options.
- Distinctive: line 183
Keep authentication, authorization, Bitbucket API, Git transport, PR state, and pipeline failures distinct.
- Distinctive: line 187
Stop after the same non-transient failure occurs twice and report the exact command family, target, error, and remediation.
- Distinctive: line 189
Never claim a PR is ready from a passing branch pipeline alone.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
PRFlow
Use atlas prflow as the authoritative interface for direct Bitbucket
pull-request and pipeline work.
Tool Boundary
- PRFlow owns Bitbucket PR metadata, diffs, changed lines, comments, approvals, merge readiness, PR mutations, pipelines, failed logs, and Renovate actions.
twgowns Jira, Confluence, people, ownership, goals, projects, and cross-product company context.- Local
git,rg, and repository-native build tools own local source changes, branches, and verification.
Use TWG to discover linked requirements or decisions, then return to PRFlow for the Bitbucket action.
Never persist private repository metadata, PR content, comments, pipeline logs, tokens, or downloaded artifacts in this skill source repository. Use the active project's ignored runtime directory or an explicit temporary directory.
CLI And Authentication
- Print the installed CLI version with
atlas prflow version. Do not useatlas prflow --version. - Use
atlas prflow <command> --helpbefore guessing current flags or a mutation contract. - Use the configured authentication mode for routine work.
- Never provide a raw token through
--token, command output, or chat. - Do not run token setup, authentication switching, config changes, cache clearing, plugin installation, or credential repair unless the user asks.
- For requested authentication diagnosis, use
auth mode,auth check, or the read-onlyauth smokecommand before changing configuration.
Target The Repository
Prefer these target forms:
- A full PR or pipeline URL, which identifies workspace, repository, and ID.
--repo-name <name>for a configured named repository.--repo <workspace/repo>or an unambiguous configured repository slug.- The configured default only when it clearly matches the active task.
A numeric PR ID requires repository context. Never guess a repository, workspace, PR ID, branch, build number, or merge strategy.
Read And Mutation Boundary
- Listing, reviewing, checking, diagnosing, monitoring, and fetching logs are read-only.
- A request to review a PR does not authorize comments, approvals, commits, pushes, merges, retargeting, pipeline reruns, or other mutations.
- When the user explicitly requests a specific PR action, inspect current state and execute it without an extra confirmation.
- For broad, bulk, destructive, or ambiguous actions, first list or dry-run the exact candidate set. Execute directly only when the user's request clearly authorizes that set.
- Verify mutations with a follow-up PR or pipeline read and report the result.
PR Read And Review Workflow
- Resolve the PR URL or ID and repository.
- Start with
pr review-bundlefor metadata, readiness, checks, comments, changed files, and diff statistics in one read. - Use
pr review-lineswhen exact destination line numbers are needed for findings or inline comments. - Use
pr statusfor the concise merge-readiness view andpr checksfor individual commit and compliance checks. - Use
comment list --threads --unresolved-onlyor--actionablefor current review work. Historical comments alone are not blockers. - Use
agent diagnoseorpr doctorwhen the user wants an agent-friendly diagnosis spanning checks, comments, pipeline state, and failed excerpts. - Hand code analysis to
review-code, addingkotlin-code-reviewerfor Kotlin.
Use JSON only when structured output materially reduces parsing or ambiguity. Do not collect the same PR state repeatedly through overlapping commands.
PR Actions
Use the narrow command and inspect its live help:
| Requested action | Command family |
| Add, reply to, close, or resolve a comment | comment |
| Approve or remove approval | approve or unapprove |
| Merge | merge |
| Update title or description | update-title or update-description |
| Change destination branch | retarget |
| Sync with destination | sync |
| Create, draft, ready, or decline | pr |
| Enroll for merge when ready | mogin |
Before approving or merging, read pr status and pr checks. Surface failed or
missing checks, open tasks, unresolved actionable threads, stale state, and
destination-branch ambiguity. Do not bypass them unless the user explicitly
requests the available override.
For comments:
- Use the top-level
commentform for new workflows. - Use the parent thread ID for replies and resolution.
- Anchor inline comments with
pr review-lines. - A listed historical or bot summary comment is not necessarily unresolved.
Treat
pr status,pr checks, and unresolved thread filters as authoritative for blockers. - A response that a thread is already resolved is a successful final state.
Pipelines And Checks
Keep these surfaces distinct:
pr checksis the source of truth for PR merge-blocking commit statuses.pipeline --pr-id <id> --repo <repo> --commit-statusesinspects PR merge-readiness.pipeline ... --pr-pipelineselects pull-request pipelines.pipeline ... --branch-pipelineselects branch or default pipelines for the PR source branch.pipeline --build <number> --repo <repo>identifies an exact pipeline run.trigger-pipelinestarts an explicitly requested default or named custom pipeline on a branch.
Never pass a bare numeric target to pipeline. Use --pr-id for a pull request,
--build for a build, or supply a full URL.
Use --follow-ws to wait for terminal state. It uses Bitbucket events and falls
back to polling. Do not build sleep loops or JSON polling wrappers when the
built-in follower is sufficient.
Starting, rerunning, pushing to retrigger, or starting a manual pipeline step is a mutation and requires an explicit request.
Failed Logs And Fix Loops
When a build fails:
- Record the exact failed build number and intended pipeline surface.
- Fetch that build with
logs --build <number> --failed-only --summary. - Write logs to an explicit temporary or workspace runtime directory, never to the installed skill directory.
- Inspect the actual failing step before proposing or making a code change.
- Treat zero-duration pipelines with empty logs as selector, YAML, image, or setup failures until evidence points to application code.
When the user asks to fix until green:
- Follow the current run with
--follow-ws. - Fetch exact failed logs.
- Apply the smallest justified change through
write-code. - Run focused local verification.
- Commit and push only as authorized by the request.
- Follow the newly triggered run and repeat until green or genuinely blocked.
Stop after five consecutive code-fix cycles without convergence and report the repeated failure and evidence. Do not discard local or remote work to resolve a push rejection.
Renovate
- Use
renovate listfor read-only inventory and triage. - For bulk approve, sync, decline, or repair requests, inspect the candidate set and current checks first.
- Treat conflicts, stale branches, failed checks, and dependency-specific code failures as separate conditions.
- Fix one failing dependency PR at a time unless the user explicitly requests parallel execution.
- After a fix, verify locally, push only when authorized, and follow PR checks until terminal.
Use live renovate <command> --help for the installed options. Do not preserve a
static catalog of dependency-specific fixes in this skill.
Failure Handling
- Keep authentication, authorization, Bitbucket API, Git transport, PR state, and pipeline failures distinct.
- Retry only when the error is plausibly transient or the command contract was corrected.
- Stop after the same non-transient failure occurs twice and report the exact command family, target, error, and remediation.
- Never claim a PR is ready from a passing branch pipeline alone. Confirm PR checks and current commit state.
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.

