Published: 2025-07-16T12:05:00Z
Tags:
#githubcopilot
#ai
#tutorial
#discuss
It hit me the other day - I havenāt been great about adding RAI disclaimers (especially around here)....
<p>It hit me the other day - I havenāt been great about adding RAI disclaimers (especially around here). Most of the time I remember, but when Iām deep in the zone - or stuck on that āCopilot, just LISTEN!ā rollercoaster - itās easy to forget.</p>
<p>Now that Iāve gone back and added those RAI footers (like I shouldāve from the start), letās take a real look at what actually matters - and how you can handle it, too.</p>
<blockquote>
<p>š Not an expert - just someone sharing what Iāve learned in the wild. If you spot something out-of-date or just plain wrong, drop a comment. Help me help <em>everyone</em> - no shame, just learning!</p>
</blockquote>
<hr>
<h2>
<a href="#tldr">
</a>
ā” TL;DR
</h2>
<ul>
<li>š§° <strong>Copilot is a tool, not a magic wand.</strong> Your nameās on the code - no matter who (or what) wrote it.</li>
<li>š <strong>RAI is everyoneās job.</strong> Know Copilotās strengths <em>and</em> blind spots before you release.</li>
<li>š <strong>Disclose everything!</strong> If Copilot helped, make it obvious - especially in reports, docs, and commits.</li>
<li>š«±š¾āš«²š¼ <strong>Not every fix is an AI job</strong> - there are times only you (with your team) can solve it.</li>
<li>š¬ <strong>Donāt skip basics:</strong> Plan, test, document - donāt get lazy just because AIās fast.</li>
<li>š§ <strong>No AI scapegoats:</strong> Copilotās just a sidekick. If it leads you off a cliff, you were still in the captainās chair.</li>
</ul>
<hr>
<h2>
<a href="#what-is-responsible-ai-and-why-care">
</a>
š What Is Responsible AI (and Why Care)?
</h2>
<p>Think ācollege ethics classā plus a heavy sprinkle of real-world weirdness. RAI is primarily about two things:</p>
<ol>
<li>
<p><strong>How the provider (GitHub, Microsoft, etc.) designs and delivers Copilot</strong> - safe, fair, and transparent. </p>
<blockquote>
<p>Want the official version? <a href="https://learn.microsoft.com/en-us/azure/machine-learning/concept-responsible-ai">Check Microsoft's builders page</a>!</p>
</blockquote>
</li>
<li><p><strong>How you use Copilot (or any AI)</strong> - what you build, how you share it, and what you let out into the world. Thatās the half Iām tackling here.</p></li>
</ol>
<hr>
<h2>
<a href="#the-yeah-but-list-copilot-limitations">
</a>
š The āYeah, Butā List: Copilot Limitations
</h2>
<p>Based on <a href="https://docs.github.com/en/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-your-ide?tool=vscode#limitations-of-github-copilot-chat">GitHubās official docs</a>, plus my spin for maximum realness:</p>
<ul>
<li>
<strong>Limited Scope:</strong> Obscure tech? Weird edge case? Copilotās probably lost before you get started.</li>
<li>
<strong>Potential Biases:</strong> Yes, it can <em>learn</em> and <em>perpetuate biases</em>, just like people do. Keep your eyes peeled.</li>
<li>
<strong>Security Risks:</strong> AI can accidentally leak secrets or create vulnerabilities. Donāt copy-paste blindly!</li>
<li>
<strong>Matches with Public Code:</strong> That āoriginalā Copilot snippet might be living its best life somewhere else on GitHub already.</li>
<li>
<strong>Inaccurate Code:</strong> Looks right, compiles... until it doesnāt. š¤·āāļø</li>
<li>
<strong>Terrible at Non-Code Stuff:</strong> If you ask Copilot about philosophy or pop stars, prepare to get answers from another galaxy.</li>
<li>
<p><strong>Web Search Responses:</strong> If your org allows, Copilot sometimes Googles and pastes.</p>
<blockquote>
<p>Thatās about as reliable as Rachel Berry mid-song, checking her phone for lyrics - confident, but donāt trust it for your solo! š¤</p>
</blockquote>
</li>
</ul>
<hr>
<h2>
<a href="#if-you-code-it-you-own-it">
</a>
š¹ļø If You Code It, You Own It!
</h2>
<p>Heard āyou break it, you bought itā? Copilotās version: āyou code it, youāre on the hook.ā No late-night support call will blame the AI. The only fee youāll pay is in lost sleep and an overage of Slack messages.</p>
<p>If you sneak in a āfive-minute fixā without tests, it <em>will</em> bite back - and guess whose name is at the top of <code>git blame</code>?</p>
<blockquote>
<p>š Donāt be that person whose only excuse is, āCopilot said it was fine!ā Thatās not the new āit was like that when I got hereā - donāt let it start.</p>
</blockquote>
<hr>
<h2>
<a href="#now-what-ai-out-loud">
</a>
š Now What? AI Out Loud
</h2>
<p>Wondering what all this RAI talk means for you in the real world? Hereās the deal: any time AI helps out - own it, label it, and make sure everyone else can see it too. Transparency is the new black.</p>
<h3>
<a href="#for-generated-reports-amp-docs">
</a>
For Generated Reports & Docs
</h3>
<p>If Copilot whipped up your report (and itās not code), just tack on a quick footer. Seriously - a copy, a paste, and youāre done. Want to automate it? Set up a user instruction and let Copilot add the credit line for you:<br>
</p>
<div class="highlight js-code-highlight">
<pre><code>---
Generated with the help of GitHub Copilot, as directed by [YOUR NAME]
</code></pre>
<div class="highlight__panel js-actions-panel">
<div class="highlight__panel-action js-fullscreen-code-action">
<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewbox="0 0 24 24" class="highlight-action crayons-icon highlight-action--fullscreen-on"><title>Enter fullscreen mode</title>
<path d="M16 3h6v6h-2V5h-4V3zM2 3h6v2H4v4H2V3zm18 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z"></path>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewbox="0 0 24 24" class="highlight-action crayons-icon highlight-action--fullscreen-off"><title>Exit fullscreen mode</title>
<path d="M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z"></path>
</svg>
</div>
</div>
</div>
<blockquote>
<p>š°ļøĀ If you want a timestamp, copy it in yourself. Trusting Copilot with dates is like asking your dog to set your alarm - cute, but youāre gonna be late.</p>
</blockquote>
<hr>
<h3>
<a href="#for-commits">
</a>
š·ļø For Commits
</h3>
<h4>
<a href="#step-one-embrace-conventional-commits">
</a>
Step One: Embrace Conventional Commits
</h4>
<blockquote>
<p>šŖ¦ Confession: I used to be the worldās <strong>worst committer</strong>! think āwelp, THAT didnāt workā as a real commit message. And yes, it happened more than once...</p>
</blockquote>
<p>Eventually, I went on a mission to find a clear, repeatable way to flag my AI-assisted commits. The answer? <a href="https://www.conventionalcommits.org/en/v1.0.0/#summary">Conventional Commits</a> (plus a linter for good measure). </p>
<p>Never seen one? Hereās what it looks like:<br>
</p>
<div class="highlight js-code-highlight">
<pre><code>feat(api): [JIRA-123] Add api for xyz
[optional bulleted list of changes]
[footers - where the magic happens]
</code></pre>
<div class="highlight__panel js-actions-panel">
<div class="highlight__panel-action js-fullscreen-code-action">
<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewbox="0 0 24 24" class="highlight-action crayons-icon highlight-action--fullscreen-on"><title>Enter fullscreen mode</title>
<path d="M16 3h6v6h-2V5h-4V3zM2 3h6v2H4v4H2V3zm18 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z"></path>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewbox="0 0 24 24" class="highlight-action crayons-icon highlight-action--fullscreen-off"><title>Exit fullscreen mode</title>
<path d="M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z"></path>
</svg>
</div>
</div>
</div>
<blockquote>
<p>š¦ <strong>Bonus:</strong> You get automated changelogs for just a <em>little</em> extra setup! Honestly, thatās what finally convinced me to use them every single time - no turning back.</p>
<p>šŖ§ There are plenty of tools out there to help, too! Everything from classic git templates to handy CLI fill-in-the-blanks.</p>
</blockquote>
<hr>
<h4>
<a href="#step-two-my-diy-commit-disclosure-guide">
</a>
Step Two: My DIY Commit Disclosure Guide
</h4>
<p>Since there's no true standard for this (at least, not yet), I want to share my (no-royalties-required) system for full commit-styled AI disclosure. </p>
<p>In every single commit, I add 2 separate footers: one stating exactly how Copilot was involved (cause it <em>always</em> does something) and one is my "signature" that I reviewed, tested, and approved the implementation. </p>
<p>If Copilot played multiple roles? Keep it simple - go with the footer that best matches the most AI hands-on contribution.</p>
<ul>
<li>
<p>If Copilot only wrote the commit message:<br>
</p>
<pre><code> Commit-generated-by: GitHub Copilot <copilot@github.com>
</code></pre>
</li>
</ul>
<ul>
<li>
<p>If I paired with Copilot (clear prompt and step-by-step direction):<br>
</p>
<pre><code>Co-authored-by: GitHub Copilot <copilot@github.com>
</code></pre>
</li>
</ul>
<ul>
<li>
<p>If Copilot wrote most of the code (here, go implement this story):<br>
</p>
<pre><code> Generated-by: GitHub Copilot <copilot@github.com>
</code></pre>
</li>
</ul>
<ul>
<li>
<p>Always:<br>
</p>
<pre><code> Signed-off-by: Ashley Childress <1234-no-reply@github.com>
</code></pre>
<blockquote>
<p>(or your name - unless you really want to blame me š)</p>
</blockquote>
</li>
</ul>
<p>So at 3am, when Future You (or some poor teammate) <code>git blame</code>s a file, youāll know who did what. There's really no official standard yet, so go wild - or just slap a robot emoji š¤ in there and call it done. <strong>Just make it clear and take credit (or blame).</strong></p>
<hr>
<h2>
<a href="#top-3-copilot-stay-in-your-lane-moments">
</a>
š« Top 3 āCopilot, Stay in Your Lane!ā Moments
</h2>
<p>When I was little, my Granny would always say, āSometimes, youāve just got to wear your big girl panties.ā Translation: there are times when you have to face the music and just deal with whatās in front of you - no shortcuts. If you let Copilot trash production... well, those are the only pants youāre getting.</p>
<ol>
<li>
<p><strong>Copilot is a tool, not a magician.</strong> Itās been <em>confidently wrong</em> enough times to make me seriously question reality.</p>
<blockquote>
<p>Me: āWhereās that logic <em>actually</em> coded?" <br>
Copilot: *conjuring code like a magicianās neverending handkerchief*<br>
Me: āYouāve got to be kidding me...ā</p>
</blockquote>
</li>
<li><p><strong>Youāre the adult in the room.</strong> You have to know not just what Copilot <em>can</em> do, but also what it <em>can't</em> (or <em>shouldn't</em>).</p></li>
<li><p><strong>Don't be afraid to bench Copilot.</strong> Real debugging is sometimes just you, four friends, and a bunch of āwhat if...ā ideas. AIās not built for that kind of chaos. š« </p></li>
</ol>
<hr>
<h2>
<a href="#avoid-git-blame-drama">
</a>
š„ Avoid Git Blame Drama
</h2>
<ul>
<li>
<strong>Start with a plan</strong> - donāt just wing it.</li>
<li>
<strong>Try prompting Copilot with TDD</strong>, but know its tests can be as shallow as a kiddie pool if you don't provide the right context and criteria.</li>
<li>
<strong>Never accept code you donāt understand</strong> - have Copilot ELI5 every step until you do.</li>
<li>
<strong>When it matters, write your own tests (or code)</strong>. Copilot sometimes invents magical shortcuts - donāt follow the Keebler Elves into the tree!</li>
<li>
<strong>Disclose everything!</strong> Tag Copilotās work in your commit messages, READMEs, or reports. Future You will thank you.</li>
</ul>
<hr>
<h2>
<a href="#your-turn">
</a>
š¬ Your turn!
</h2>
<p>Have a Copilot win, a fail, or an epic facepalm moment? Drop it in the comments - bonus points for memes, hot takes, or your best "AI tried, I survived" story. Letās make RAI actually fun (or at least not completely boring)! āØ</p>
<hr>
<h2>
<a href="#ai-helped-im-still-to-blame">
</a>
š”ļø AI Helped, Iām Still to Blame
</h2>
<p>This post was brewed by me - with a shot of ChatGPT, a splash of sarcasm, and zero disclaimers skipped. If you catch bias or a goof, call it out. AI isnāt perfect (neither am I).</p>
Read on Dev.to ā