rea-analysis-optimization
MOmorluto/rea485k近 7 天新增 9,215 个 star
Implement a fix or feature from a GitHub, Jira, Linear, or other issue-tracker issue by fetching issue context, inspecting the current codebase, making code changes, validating them, verifying visible UI behavior with the verify-behavior computer-use skill when applicable, opening a GitHub pull request, and reporting progress back to the original issue.
Implement the issue passed in the user's prompt and open a GitHub pull request with the fix or feature.
Expect the prompt to contain a link, key, or number for exactly one issue in an issue tracker. Use tracker context and the current checkout to understand the requested behavior before changing code.
Extract the issue URL, key, or number from the prompt. Determine whether it belongs to GitHub Issues, Jira, Linear, or another tracker.
Confirm the current checkout is the repository where the implementation should happen. If the prompt does not identify one issue unambiguously, ask for clarification before making changes.
If the checkout contains .agents/skills/validate-changes-match-specs/SKILL.md, use it after implementation whenever PRODUCT.md and TECH.md specs exist for the issue.
If specs exist but the validation skill is missing, continue only if you can still manually compare the implementation against the specs. Report that the common validation skill was unavailable in the PR description and issue comment.
If the checkout contains .agents/skills/verify-behavior/SKILL.md and the issue has visible UI, browser, desktop, mobile, or other interactive behavior, you must run that skill before claiming the implementation is complete. It delegates to Oz's dedicated computer_use capability on this computer-use-enabled run — do not drive the GUI yourself and do not substitute generic remote children. Do not skip verification because PR creation failed or because automated unit tests passed.
For GitHub Issues, post a short status comment before doing implementation work so issue subscribers know an agent has started.
Use the authenticated gh CLI when available. Include:
Keep this comment concise.
When posting any follow-along, evidence, or status link to an Oz cloud run, use the Oz web app URL — never invent links from the API host.
Correct format:
https://oz.warp.dev/runs/<run-id>
On staging / WarpDev, use:
https://oz.staging.warp.dev/runs/<run-id>
Rules:
/runs/ (plural), never /run/.oz.warp.dev (or oz.staging.warp.dev), never app.warp.dev or app.staging.warp.dev.https://app.warp.dev/run/<id> or https://app.warp.dev/runs/<id>, rewrite it to https://oz.warp.dev/runs/<id> before posting.Use the best available integration in this order:
ghFetch:
PRODUCT.md and TECH.md filesDo not implement solely from the issue title. Do not expose credentials or secrets while fetching tracker data.
If tracker context is missing critical implementation details, post a concise blocker comment with the specific missing information and stop instead of guessing.
Before inspecting implementation areas, search for specs related to the issue.
Look for:
specs/<issue-slug>/PRODUCT.md and specs/<issue-slug>/TECH.mdPRODUCT.md and TECH.md files whose path or contents reference the issueIf both PRODUCT.md and TECH.md exist:
If only one of PRODUCT.md or TECH.md exists, read the available spec and decide whether the missing spec is a blocker. For broad or risky work, stop and ask for the missing spec.
If no specs exist, continue from the issue context and codebase inspection.
Search and read the codebase to understand the affected feature, behavior, terminology, and likely implementation area.
Assess:
PRODUCT.md and TECH.mdPost a brief progress comment if this investigation reveals a materially useful implementation area, for example: "I found the relevant editor state flow in src/... and am implementing the change there." Do not post internal reasoning, speculative details, secrets, or raw command output. Do not describe the implementation as complete until a pull request has been opened and you can include the PR URL.
Make the smallest cohesive change that satisfies the issue.
Follow existing code style and architecture. Update tests, fixtures, docs, or configuration when they are part of the expected behavior. Do not bundle unrelated refactors, formatting churn, dependency upgrades, or opportunistic cleanup into the PR.
If the issue turns out to be much larger or more ambiguous than expected, stop and comment with a concise recommendation rather than producing a risky partial implementation.
Run the most relevant validation commands for the repository. Prefer commands documented in README, package scripts, CI config, Makefiles, or existing workflow files.
At minimum, attempt:
If a validation command fails, investigate and fix failures caused by your changes. If failures appear unrelated or require external services, report them clearly in the PR and issue comment with enough detail for a reviewer to reproduce.
If PRODUCT.md and TECH.md specs exist for the issue, validate the completed implementation against them before opening the PR:
.agents/skills/validate-changes-match-specs/SKILL.md.Include the spec-alignment result in the PR description and final issue comment.
Required when the change affects UI, browser, desktop, mobile, or other interactive behavior and .agents/skills/verify-behavior/SKILL.md is present. Issue text that mentions drag-and-drop, screenshots, video, computer use, browser use, or verify-behavior is always treated as interactive.
verify mode. This covers greenfield features and bug fixes alike.PRODUCT.md exists for the issue, pass its path and treat it as the source of user stories and acceptance criteria verification must exercise.computer_use: true / --computer-use). Do not launch generic remote children as a substitute for the dedicated computer-use capability.computer_use delegations (one key independent story each), then aggregate results. Stay single-delegation when stories are sequential or credentials are scarce.computer_use capability with a concrete task: branch/ref, setup, story/checks, and expected evidence (native Oz session video of the critical path + reported screenshots). Do not call request_computer_use, parent-level start_recording/stop_recording, or invent custom recorder plumbing — permission and recording are handled inside the computer-use subagent.https://oz.warp.dev/runs/<id> links on the issue and PR. Screenshots are supplementary. Prefer platform PR artifact helpers (e.g. get_artifacts_for_pull_request_description) when available. Do not invent gh --attach uploads of Oz recordings.Skip this step only for non-visual changes, when the skill file is missing, or when the repository truly has no runnable UI. Do not claim end-to-end behavioral verification unless verify-behavior ran via computer_use or you captured equivalent platform computer-use evidence.
Create a descriptive branch for the implementation, such as fix/issue-123-short-title or feature/issue-123-short-title.
Commit only the intended changes. Use a clear commit message. When committing, include:
Co-Authored-By: Oz <[email protected]>
Push the branch and open a GitHub pull request against the repository's default branch using the authenticated gh CLI. Capture the PR URL returned by gh pr create; this URL is required before posting final success back to the issue.
The PR description should include:
PRODUCT.md and TECH.md, if usedverify-behavior when it ran, including status, durable Oz run link(s), native Oz video artifact references, and any reported screenshots (prefer platform PR artifact markdown when available)Associate the PR with the issue in GitHub:
Closes #123 or Fixes #123.Related to #123, and explain the remaining work.After creating the PR, verify that you have a real PR URL. If gh pr create fails, do not post a success comment. Instead, fix the failure if possible, or post a blocker comment explaining that the implementation branch exists but PR creation failed.
Only after opening the PR, post a final comment on the original issue with:
verify-behavior ranThe final issue comment must include the PR URL. A comment that says implementation is complete or that a PR will be opened later is not acceptable.
If no PR was created, post why implementation did not proceed and what concrete next step is needed. Do not describe this as a successful implementation.
PRODUCT.md or TECH.md when they exist for the issue.validate-changes-match-specs was not run or an equivalent manual comparison was not performed.verify-behavior delegated to the dedicated computer_use capability (or equivalent platform computer-use evidence was collected).verify-behavior has been attempted (pass or explicit blocker), a native Oz video artifact exists for meaningful UI flows (or a quoted recording failure), and durable Oz run/artifact links are on the issue and PR write-ups.request_computer_use or parent-level recording APIs; never invent gh --attach for Oz videos. Recording stays inside the computer-use subagent.MOmorluto/rea485k近 7 天新增 9,215 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star