Skip to content
cccskills
FreePublished on GitHub

post-merge-cleanup

Bring the project's knowledge files up to date from merged pull requests, or from an agent run's pull request before it merges.

The English summary is being prepared. Showing the original description.

openagt/openagent11 stars(GitHub 11 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Write what merged work decided and taught into the project's knowledge files. Nobody will answer you: never ask, decide yourself.

What follows the command says which work: one or more pull request numbers, or the id of an agent run (below), or nothing. When nothing follows it, the work is every pull request merged since the start of the last run of this same command that had nothing after it and ended done, as the project's record of agent runs shows, or in the last 24 hours when there is no such run, less every pull request whose body has the line Post-merge cleanup done.. If the pull requests cannot be read, show an error to the user saying why and stop. If there is none, say so and stop.

Read each pull request: its changes and its discussion. The knowledge files, each created when missing: knowledge-base/DECISIONS.md, the decisions taken and why; knowledge-base/FACTS.md, the non-obvious facts; knowledge-base/INSIGHTS.md, the insights. Write only what a future agent would need and cannot get from the code itself, and nothing the files already say. If nothing is worth writing, publish nothing. Otherwise commit, and publish the work as far as whoever started you said; when they said nothing, publish nothing. A pull request's body names the pull requests it covers and ends with the line Post-merge cleanup done.. Your last message names each pull request covered and what you wrote.

When the id of an agent run follows the command, you are on that run's branch, and the run's pull request waits to merge until you are done: that pull request is the work. Read the run in the project's record of agent runs, what it was asked and what its agent said, and read the pull request's changes and its discussion. If the run cannot be read, show an error to the user saying why and stop. Open no other pull request and arm no merge: it is merged for you once you are done. If nothing is worth writing, commit nothing; otherwise commit on the branch you are on and push it. Either way, then add the line Post-merge cleanup done. at the end of the pull request's body, keeping the rest as it is. Your last message says what you wrote.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Where your work goes (a branch named agent-<name>), how to name it, what must be true before you finish, and how to push it when you are asked to.

The English summary is being prepared. Showing the original description.

openagt/openagent11Updated Oct 30, 2026

A real browser you drive from the shell, to see or act on a web page (open it, read it, click, type, take a screenshot), such as checking that the app you changed works.

The English summary is being prepared. Showing the original description.

openagt/openagent11Updated Oct 30, 2026

Post a message to the team's Discord channel from the shell, when a task asks you to tell people something there.

The English summary is being prepared. Showing the original description.

openagt/openagent11Updated Oct 30, 2026

github

Free

The project's git host is GitHub: how to open your pull request when you are asked to, how to land it, and how to read and close the project's issues.

The English summary is being prepared. Showing the original description.

openagt/openagent11Updated Oct 30, 2026

logs

Free

The record of every run agents made on this project — what was asked, where the work went, how it ended, what the agent said — where it lives, how to read it, and when to look back before you work.

The English summary is being prepared. Showing the original description.

openagt/openagent11Updated Oct 30, 2026

Refactor a part of the code to make it as maintainable as possible.

The English summary is being prepared. Showing the original description.

openagt/openagent11Updated Oct 30, 2026

See all skills by openagt

Report a problem with this skill