<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Getting Started on gh-velocity</title><link>https://gh-velocity.org/getting-started/</link><description>Recent content in Getting Started on gh-velocity</description><generator>Hugo</generator><language>en</language><atom:link href="https://gh-velocity.org/getting-started/index.xml" rel="self" type="application/rss+xml"/><item><title>Quick Start</title><link>https://gh-velocity.org/getting-started/quick-start/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://gh-velocity.org/getting-started/quick-start/</guid><description>&lt;h1 id="quick-start"&gt;Quick Start&lt;a class="anchor" href="#quick-start"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Install gh-velocity and run your first metrics in under 5 minutes.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The &lt;a href="https://cli.github.com/"&gt;GitHub CLI&lt;/a&gt; must be installed and authenticated:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# Install (macOS shown -- see gh docs for Linux/Windows)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;brew install gh
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# Authenticate&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;gh auth login&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Private repos require at least &lt;code&gt;repo&lt;/code&gt; scope. Public repos work without special scopes.&lt;/p&gt;
&lt;h2 id="install"&gt;Install&lt;a class="anchor" href="#install"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;gh extension install dvhthomas/gh-velocity&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Verify it works:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;gh velocity version&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="generate-a-config-file"&gt;Generate a config file&lt;a class="anchor" href="#generate-a-config-file"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;All metric commands require a &lt;code&gt;.gh-velocity.yml&lt;/code&gt; file. The &lt;code&gt;preflight&lt;/code&gt; command analyzes your repo and generates one:&lt;/p&gt;</description></item><item><title>How It Works</title><link>https://gh-velocity.org/getting-started/how-it-works/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://gh-velocity.org/getting-started/how-it-works/</guid><description>&lt;h1 id="how-it-works"&gt;How It Works&lt;a class="anchor" href="#how-it-works"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;code&gt;gh-velocity&lt;/code&gt; reads artifacts your team already produces -- issues, pull requests, labels, releases -- and turns them into metrics. No data warehouse, no tracking integration, no per-seat subscription. Everything comes from the GitHub API.&lt;/p&gt;
&lt;p&gt;Commands are organized by the question they answer:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Command group&lt;/th&gt;
 &lt;th&gt;Question it answers&lt;/th&gt;
 &lt;th&gt;Examples&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;flow&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;How fast is work flowing?&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;flow lead-time&lt;/code&gt;, &lt;code&gt;flow cycle-time&lt;/code&gt;, &lt;code&gt;flow throughput&lt;/code&gt;, &lt;code&gt;flow velocity&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;quality&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Is this code good?&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;quality release&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;status&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;What's happening right now?&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;status wip&lt;/code&gt;, &lt;code&gt;status my-week&lt;/code&gt;, &lt;code&gt;status reviews&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;report&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Give me the full picture&lt;/td&gt;
 &lt;td&gt;Composite dashboard of flow + quality&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;config&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;How do I set this up?&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;config preflight&lt;/code&gt;, &lt;code&gt;config validate&lt;/code&gt;, &lt;code&gt;config show&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="the-lifecycle-of-an-issue"&gt;The lifecycle of an issue&lt;a class="anchor" href="#the-lifecycle-of-an-issue"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Every issue follows a &lt;strong&gt;lifecycle&lt;/strong&gt; -- stages from creation to completion. Each transition produces a timestamp that maps to a metric:&lt;/p&gt;</description></item><item><title>Configuration</title><link>https://gh-velocity.org/getting-started/configuration/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://gh-velocity.org/getting-started/configuration/</guid><description>&lt;h1 id="configuration"&gt;Configuration&lt;a class="anchor" href="#configuration"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;All metric commands require a &lt;code&gt;.gh-velocity.yml&lt;/code&gt; file. Run &lt;code&gt;gh velocity config preflight --write&lt;/code&gt; to generate one. This page covers first-time setup; see &lt;a href="https://gh-velocity.org/reference/config/"&gt;Configuration Reference&lt;/a&gt; for the full schema.&lt;/p&gt;
&lt;h2 id="generate-a-config-with-preflight"&gt;Generate a config with preflight&lt;a class="anchor" href="#generate-a-config-with-preflight"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Let preflight inspect your repo and generate a tailored config:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cd your-repo
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;gh velocity config preflight --write&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Preflight examines labels, project boards, and recent activity, then generates a &lt;code&gt;.gh-velocity.yml&lt;/code&gt; with &lt;strong&gt;matchers&lt;/strong&gt; (patterns like &lt;code&gt;label:bug&lt;/code&gt; that classify issues), lifecycle labels, and project board settings.&lt;/p&gt;</description></item><item><title>CI Setup</title><link>https://gh-velocity.org/getting-started/ci-setup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://gh-velocity.org/getting-started/ci-setup/</guid><description>&lt;h1 id="ci--github-actions-setup"&gt;CI / GitHub Actions Setup&lt;a class="anchor" href="#ci--github-actions-setup"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Run gh-velocity in CI to post automated reports on releases, PRs, and schedules.&lt;/p&gt;
&lt;h2 id="how-authentication-works"&gt;How authentication works&lt;a class="anchor" href="#how-authentication-works"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;gh-velocity uses the &lt;code&gt;GH_TOKEN&lt;/code&gt; environment variable for all GitHub API calls -- the same variable that powers the &lt;code&gt;gh&lt;/code&gt; CLI. Locally, &lt;code&gt;gh auth login&lt;/code&gt; handles this. In CI, set &lt;code&gt;GH_TOKEN&lt;/code&gt; in your workflow. See &lt;a href="https://gh-velocity.org/getting-started/configuration/#token-permissions"&gt;Token permissions&lt;/a&gt; for what each token can access.&lt;/p&gt;
&lt;h2 id="token-setup"&gt;Token setup&lt;a class="anchor" href="#token-setup"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The default &lt;code&gt;GITHUB_TOKEN&lt;/code&gt; works for most commands. However, &lt;strong&gt;&lt;code&gt;GITHUB_TOKEN&lt;/code&gt; cannot access Projects v2 boards&lt;/strong&gt; -- a GitHub platform limitation.&lt;/p&gt;</description></item></channel></rss>