{"slug": "useful-things-agents-can-do-that-are-not-writing-code", "title": "Useful Things Agents Can Do That Are Not Writing Code", "summary": "A September 11, 2026 article details non-coding uses for AI coding agents, including fixing merge conflicts in pull requests, finding GitHub issues relevant to a branch, and diagnosing GitHub Actions failures. The author shares reusable `pi` prompts for each task, such as `/fix-pr-conflict #4222`, `/fd-issue`, and `/diagnose-action-failure`, and notes that 90% of the time a GitHub Actions workflow fails it is due to a forgotten formatter or static analysis run rather than a bug. The author frames the prompts as inspiration rather than a workflow to copy.", "body_md": "The discourse is abuzz with the wonderful (and horrendous) things you can do when you allow an AI coding agent to write code.\nPeople who allow an agent (née clanker) to write **all** the code in an application are often called “vibe-coders”.\nThis article is not about vibe coding.\nIn fact, this article is about all the things you can do with an AI agent that are separate from writing code.\n\nWith each of these, I’ll go through the use-case, then include the latest version of the `pi` prompt that I use.\n\nI do **not** believe you should use my prompts precisely.\nI am not suggesting that you copy my workﬂow.\nThe beauty of many of these tools is that they are ﬂexible and can be adapted to your style of work.\nI offer my prompts as inspiration.\nMaybe there are things you could be using an agent for that are **not** writing code.\n\nI often ﬁnd myself needing to ﬁx merge conﬂicts for my PRs because either myself or an open-source contributor has modiﬁed the code upstream. Almost always, these conﬂicts are formatting or boilerplate changes that do not need my full attention. In other words, it’s the perfect job for a clanker.\n\nHere is my prompt:\n\n```\n---\ndescription: Fix a merge conflict in a PR.\nargument-hint: \"<PR NUMBER>\"\n---\n\nI want you to fix the merge conflict in PR #$@.\nIf I have not provided a valid number, please ask me for it.\n\nDo so by checking out the PR using the `gh` command, and perform the merge.\nDO NOT push your changes until I have a chance to review them myself.\n```\n\nIn `pi`, I can call this like a function:\n\n```\n/fix-pr-conflict #4222\n```\n\nIt does not matter if I have the relevant PR downloaded and checked out. The clanker ﬁgures it all out non-destructively.\n\nWhen working on open source software, I often prioritize ﬁxing bugs that I ﬁnd annoying and introducing features that [make my own life better](./do_that_which_makes_your_life_easy).\nThat’s natural.\nWhen I do, I want to know if I am accidentally solving someone else’s problem at the same time.\nIf so, I can link the issue in my PR description or reach out to the person directly.\n\nTo ﬁnd these relevant issues, I use this `pi` command:\n\n```\n---\ndescription: Find any issues relevant to this branch or a given PR number.\nargument-hint: \"<PR NUMBER>\"\n---\n\nPlease locate all issues that might be relevant to the current branch (unless a PR number is provided below).\nPlease list:\n\n- If the issue is solved by this PR.\n- The link to the issue.\n- Who wrote it.\n\nIf not the current branch, look at PR #$@.\n```\n\nAgain, this can be called like a function:\n\n```\n/fd-issue\n```\n\n90% of the time a GitHub Actions workﬂow fails, it is not due to a bug.\nIt’s because I forgot to run my formatter or my static analysis tools (think Prettier or `tsc`).\n\nIn this case, it is not a piece of functional code that is broken, but an annotation or missing carriage return. It is an easy one-line ﬁx. Why not make the clanker do it?\n\nWhen a GitHub Actions run fails, I can use an agent with the following prompt to get it ﬁxed tout suite.\n\n```\n---\ndescription: Diagnose any existing GitHub Actions failures for this branch.\nargument-hint: \"<BRANCH>\"\n---\n\nDiagnose any existing GitHub Actions failures for this branch, unless there is a different branch provided below.\nOnce you have taken a look to identify the possible underlying problem, offer a plan to fix it. Do not implement this plan without express approval.\n\nIf not the current branch, look at $@\n```\n\nIt can be run as a command inside of `pi`:\n\n```\n/diagnose-action-failure\n```\n\nI offer these prompts as inspiration. Are there things that you could automate? If so, please let me know!\n\nPublished September 11, 2026 at 9:39 PM\n\nProofread by [Harper](https://writewithharper.com).\n\nIt's not easy, but I think it's one of the best habits I've ever built.\n\nA complete or partial loss of function while reviewing the output of a coding agent.\n\nI have been seeing an increasingly prevalent trend of people showing up in online spaces flaunting that they are writing with the assistance of AI. They seem to be proud of this. They shouldn't be.", "url": "https://wpnews.pro/news/useful-things-agents-can-do-that-are-not-writing-code", "canonical_source": "https://elijahpotter.dev/articles/useful-things-agents-can-do-that-are-not-writing-code", "published_at": "2026-09-11 22:37:44+00:00", "updated_at": "2026-09-11 22:53:03.317455+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-products"], "entities": ["pi", "GitHub Actions", "GitHub", "Prettier", "tsc", "Harper"], "alternates": {"html": "https://wpnews.pro/news/useful-things-agents-can-do-that-are-not-writing-code", "markdown": "https://wpnews.pro/news/useful-things-agents-can-do-that-are-not-writing-code.md", "text": "https://wpnews.pro/news/useful-things-agents-can-do-that-are-not-writing-code.txt", "jsonld": "https://wpnews.pro/news/useful-things-agents-can-do-that-are-not-writing-code.jsonld"}}