<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: miyamoto ryosuke</title>
    <description>The latest articles on DEV Community by miyamoto ryosuke (@yahsan2).</description>
    <link>https://dev.to/yahsan2</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F45874%2F4f46fea0-2f08-47cc-b764-ab30e13399ca.png</url>
      <title>DEV Community: miyamoto ryosuke</title>
      <link>https://dev.to/yahsan2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yahsan2"/>
    <language>en</language>
    <item>
      <title>Built gh-pm: A GitHub CLI Extension to Manage GitHub Projects with LLMs</title>
      <dc:creator>miyamoto ryosuke</dc:creator>
      <pubDate>Sun, 07 Sep 2025 01:28:47 +0000</pubDate>
      <link>https://dev.to/yahsan2/i-built-gh-pm-a-github-cli-extension-to-manage-github-projects-with-llms-4pi4</link>
      <guid>https://dev.to/yahsan2/i-built-gh-pm-a-github-cli-extension-to-manage-github-projects-with-llms-4pi4</guid>
      <description>&lt;p&gt;In the age of AI, even ticket management by PdMs and project managers should be designed around &lt;strong&gt;collaboration between humans and LLMs&lt;/strong&gt;.&lt;br&gt;&lt;br&gt;
We’re heading toward a world where you just describe your intent in natural language, and everything—creating, updating, moving, summarizing—gets automated.&lt;/p&gt;

&lt;p&gt;GitHub Projects (v2), with its flexible fields and powerful queries/automations, is a perfect foundation for this.&lt;br&gt;&lt;br&gt;
That’s why I created &lt;strong&gt;gh-pm&lt;/strong&gt;: a GitHub CLI extension that brings this combination into practical, everyday workflows.&lt;/p&gt;


&lt;h2&gt;
  
  
  Why I Built It
&lt;/h2&gt;

&lt;p&gt;GitHub Projects (v2) is powerful, but in practice you’ll quickly run into problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Assigning issues to projects is tedious
&lt;/li&gt;
&lt;li&gt;Frequent updates and status changes add overhead
&lt;/li&gt;
&lt;li&gt;Writing raw GraphQL queries is too complex for daily use
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;gh-pm&lt;/strong&gt; solves these by extending the GitHub CLI, and when combined with an LLM, it enables &lt;strong&gt;natural language-driven project management&lt;/strong&gt;.&lt;/p&gt;


&lt;h2&gt;
  
  
  Features &amp;amp; Examples
&lt;/h2&gt;
&lt;h3&gt;
  
  
  0. Installation
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh extension &lt;span class="nb"&gt;install &lt;/span&gt;yahsan2/gh-pm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  1. Init with &lt;code&gt;.gh-pm.yml&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;Start by generating a config file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh pm init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This detects your project and creates a &lt;code&gt;.gh-pm.yml&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
The file caches field names like &lt;code&gt;Status&lt;/code&gt; and &lt;code&gt;Priority&lt;/code&gt;, so you can use intuitive shorthand in commands.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;fields&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;backlog&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Backlog"&lt;/span&gt;
    &lt;span class="na"&gt;in_progress&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;In&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;Progress"&lt;/span&gt;
    &lt;span class="na"&gt;done&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Done"&lt;/span&gt;
  &lt;span class="na"&gt;priority&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;high&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;P0"&lt;/span&gt;
    &lt;span class="na"&gt;medium&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;P1"&lt;/span&gt;
    &lt;span class="na"&gt;low&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;P2"&lt;/span&gt;
  &lt;span class="na"&gt;deadline&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;due_date&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Due&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;Date"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  2. Create &amp;amp; Update Issues in Projects
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Create new issue in project with P1 priority and backend label&lt;/span&gt;
gh pm create &lt;span class="nt"&gt;--title&lt;/span&gt; &lt;span class="s2"&gt;"Implement authentication"&lt;/span&gt; &lt;span class="nt"&gt;--priority&lt;/span&gt; p1 &lt;span class="nt"&gt;--label&lt;/span&gt; backend
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Move existing issues across columns:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Move issue #123 to in_progress&lt;/span&gt;
gh pm move 123 &lt;span class="nt"&gt;--status&lt;/span&gt; in_progress
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  3. Intake Untracked Issues
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Add all bug-labeled issues into backlog with p2 priority&lt;/span&gt;
gh pm intake &lt;span class="nt"&gt;--label&lt;/span&gt; bug &lt;span class="nt"&gt;--apply&lt;/span&gt; &lt;span class="s2"&gt;"status:backlog,priority:p2"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With defaults in &lt;code&gt;.gh-pm.yml&lt;/code&gt;, you can even make this interactive.&lt;/p&gt;

&lt;p&gt;Example &lt;code&gt;.gh-pm.yml&lt;/code&gt; snippet:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;intake&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;bug&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;query&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;is:issue&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;is:open&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;-label:pm-tracked"&lt;/span&gt;
    &lt;span class="na"&gt;instruction&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Starting&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;intake&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;for&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;untracked&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;issues.&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;This&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;will&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;add&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;the&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;pm-tracked&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;label&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;and&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;set&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;default&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;project&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;fields."&lt;/span&gt;
    &lt;span class="na"&gt;apply&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;labels&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
        &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;pm-tracked&lt;/span&gt;
    &lt;span class="na"&gt;interactive&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;  &lt;span class="c1"&gt;# Show choices interactively to set status per issue&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  4. Split Issues into Sub-Issues
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Split sub-issues from checklists in issue body&lt;/span&gt;
gh pm &lt;span class="nb"&gt;split &lt;/span&gt;123 &lt;span class="nt"&gt;--from&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;body

&lt;span class="c"&gt;# Or from a markdown file generated by an LLM&lt;/span&gt;
gh pm &lt;span class="nb"&gt;split &lt;/span&gt;123 &lt;span class="nt"&gt;--from&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;./tasks.md

&lt;span class="c"&gt;# Or directly from a list&lt;/span&gt;
gh pm &lt;span class="nb"&gt;split &lt;/span&gt;123 &lt;span class="s1"&gt;'["Task 1", "Task 2", "Task 3"]'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This depends on my other extension &lt;a href="https://github.com/yahsan2/gh-sub-issue" rel="noopener noreferrer"&gt;&lt;code&gt;gh-sub-issue&lt;/code&gt;&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh extension &lt;span class="nb"&gt;install &lt;/span&gt;yahsan2/gh-sub-issue
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  5. Triage at Scale
&lt;/h3&gt;

&lt;p&gt;Define triage rules in &lt;code&gt;.gh-pm.yml&lt;/code&gt; and process issues in batch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Example: mark all stale issues&lt;/span&gt;
gh pm triage stale
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;triage&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;stale&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;query&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;is:issue&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;is:open&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;updated:&amp;lt;@today-7d"&lt;/span&gt;
    &lt;span class="na"&gt;apply&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;labels&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
        &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;stale&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;Note: &lt;code&gt;@today-7d&lt;/code&gt; is implemented internally for CLI compatibility where native support is missing.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  6. Flexible Output for Automation
&lt;/h3&gt;

&lt;p&gt;Output to JSON or CSV for easy integration with LLMs or scripts:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh pm list &lt;span class="nt"&gt;--format&lt;/span&gt; json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Example Triage Use Cases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Auto-label stale tasks&lt;/strong&gt;: mark issues inactive for 7+ days
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Force-set missing priorities&lt;/strong&gt;: interactively assign priorities to all issues missing the field
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example for missing priorities:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;triage&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;priority&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;query&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;is:issue&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;is:open&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;-field:priority"&lt;/span&gt;
    &lt;span class="na"&gt;interactive&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;priority&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;  &lt;span class="c1"&gt;# Prompt interactively to set priority per issue&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh pm triage priority
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Using with LLMs
&lt;/h2&gt;

&lt;p&gt;This is where gh-pm shines.&lt;br&gt;&lt;br&gt;
LLMs like Claude or Codex CLI can generate the right commands from natural language:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“Assign all untracked issues to me”
→ &lt;code&gt;gh pm triage tracked --apply @me&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;“Move all P1 tasks to in_progress”
→ &lt;code&gt;gh pm move --query "is:issue is:open -priority:high" --status in_progress&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With &lt;code&gt;.gh-pm.yml&lt;/code&gt;, these commands become even shorter.&lt;/p&gt;




&lt;h2&gt;
  
  
  What’s Next
&lt;/h2&gt;

&lt;p&gt;The dream is to have an LLM “remember” these commands (via something like &lt;code&gt;CLAUDE.md&lt;/code&gt;) and execute them reliably.&lt;br&gt;&lt;br&gt;
Right now, I sometimes still have to explicitly say things like:&lt;br&gt;&lt;br&gt;
“Run &lt;code&gt;gh pm split 123 --from=body\&lt;/code&gt; on the issue I just created.”  &lt;/p&gt;

&lt;p&gt;But when it works, &lt;strong&gt;GitHub Projects + LLMs = super powerful project automation&lt;/strong&gt;.&lt;br&gt;&lt;br&gt;
I’ll keep improving the prompts, instructions, and hooks—so stay tuned.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try It Out
&lt;/h2&gt;

&lt;p&gt;Repo here 👉 &lt;a href="https://github.com/yahsan2/gh-pm" rel="noopener noreferrer"&gt;yahsan2/gh-pm&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Feedback, ideas, and ⭐️ are super welcome.  &lt;/p&gt;




&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;gh-pm is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A GitHub CLI extension that simplifies day-to-day GitHub Project ops
&lt;/li&gt;
&lt;li&gt;Hides GraphQL complexity behind intuitive commands
&lt;/li&gt;
&lt;li&gt;Uses &lt;code&gt;.gh-pm.yml&lt;/code&gt; for flexible field mapping
&lt;/li&gt;
&lt;li&gt;Designed to pair naturally with LLMs for natural language operations
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A practical partner for managing projects “&lt;strong&gt;fast, safe, and clear&lt;/strong&gt;.”&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Hello World</title>
      <dc:creator>miyamoto ryosuke</dc:creator>
      <pubDate>Sat, 06 Jan 2018 03:12:50 +0000</pubDate>
      <link>https://dev.to/yahsan2/hello-world-52ha</link>
      <guid>https://dev.to/yahsan2/hello-world-52ha</guid>
      <description>&lt;p&gt;どうしたら書き続けることができるのか？&lt;br&gt;
WEB につながっている必要がある。&lt;/p&gt;

&lt;p&gt;もう気づけば、6 日である。&lt;/p&gt;

</description>
      <category>blog</category>
      <category>japanese</category>
    </item>
  </channel>
</rss>
