<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>GitHub on Grant Lucas</title>
    <link>https://grantlucas.com/tags/github/</link>
    <description>Recent content in GitHub on Grant Lucas</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 18 Feb 2026 19:00:00 -0500</lastBuildDate>
    <atom:link href="https://grantlucas.com/tags/github/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Tips for Starting New Projects With Claude Code on iOS</title>
      <link>https://grantlucas.com/posts/2026/02/tips-for-starting-new-projects-with-claude-code-on-ios/</link>
      <pubDate>Wed, 18 Feb 2026 19:00:00 -0500</pubDate>
      <guid>https://grantlucas.com/posts/2026/02/tips-for-starting-new-projects-with-claude-code-on-ios/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been experimenting with using Claude Code on iOS to build projects from&#xA;my phone. It&amp;rsquo;s been a great learning experience, and I wrote about the&#xA;broader experiment in &lt;a href=&#34;https://grantlucas.com/posts/2026/02/i-built-an-app-thats-only-useful-three-weeks-a-year/&#34;&gt;I Built an App That&amp;rsquo;s Only Useful Three Weeks a&#xA;Year&lt;/a&gt;. But&#xA;before that project went smoothly, I hit some friction that&amp;rsquo;s worth sharing&#xA;on its own.&lt;/p&gt;&#xA;&lt;p&gt;Most of these tips are specific to starting &lt;em&gt;greenfield&lt;/em&gt; projects from your&#xA;phone. If you&amp;rsquo;re making changes to an existing repo that already has the&#xA;right files in place, the experience is &lt;strong&gt;significantly smoother&lt;/strong&gt; from the&#xA;start.&lt;/p&gt;&#xA;&lt;h2 id=&#34;create-your-repo-with-a-default-readme&#34;&gt;Create Your Repo With a Default README&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#create-your-repo-with-a-default-readme&#34; title=&#34;Click to copy link&#34;&gt;&lt;i class=&#34;fas fa-link&#34;&gt;&lt;/i&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;When you start a brand new project from your phone, you need a GitHub repo.&#xA;The GitHub iOS app doesn&amp;rsquo;t let you &lt;em&gt;create&lt;/em&gt; repos, so you&amp;rsquo;ll have to&#xA;authenticate into GitHub in the mobile browser to do it.&lt;/p&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s the important part: &lt;strong&gt;have GitHub create a default README when you set&#xA;up the repo.&lt;/strong&gt; Not for the README content, but just to get a &lt;code&gt;main&lt;/code&gt; branch.&lt;/p&gt;&#xA;&lt;p&gt;Claude Code on iOS works in cloud-prefixed branches (starting with&#xA;&lt;code&gt;claude/&lt;/code&gt;). For reasonable security, it &lt;em&gt;can&amp;rsquo;t&lt;/em&gt; create or edit the &lt;code&gt;main&lt;/code&gt;&#xA;branch or any other non-&lt;code&gt;claude/&lt;/code&gt; branch. If there&amp;rsquo;s no &lt;code&gt;main&lt;/code&gt; branch when&#xA;Claude pushes its working branch, that branch &lt;em&gt;becomes&lt;/em&gt; the default branch&#xA;of your repo. There&amp;rsquo;s no easy way to create a &lt;code&gt;main&lt;/code&gt; branch from your phone&#xA;after the fact. Not from the GitHub iOS app, not from the mobile web. It&amp;rsquo;s a&#xA;mess to sort out, and Claude can&amp;rsquo;t help you fix it because of those same&#xA;branch restrictions.&lt;/p&gt;&#xA;&lt;h2 id=&#34;set-up-a-claudemd-early&#34;&gt;Set Up a CLAUDE.md Early&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#set-up-a-claudemd-early&#34; title=&#34;Click to copy link&#34;&gt;&lt;i class=&#34;fas fa-link&#34;&gt;&lt;/i&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;A brand new repo won&amp;rsquo;t have a &lt;code&gt;CLAUDE.md&lt;/code&gt; or &lt;code&gt;AGENTS.md&lt;/code&gt; file. On desktop,&#xA;Claude Code has access to your global configuration file with your&#xA;preferences for things like commit message conventions. On iOS, it doesn&amp;rsquo;t.&#xA;So a new project has no context for how you like things done: commit style,&#xA;language preferences, TDD, commit frequency, any of it.&lt;/p&gt;&#xA;&lt;p&gt;On my first project from a phone, Claude defaulted to vanilla JavaScript when I&#xA;would have preferred TypeScript. I just didn&amp;rsquo;t catch it because everything was&#xA;moving so quickly in the autonomous mode. That&amp;rsquo;s the kind of thing a &lt;code&gt;CLAUDE.md&lt;/code&gt;&#xA;would have prevented.&lt;/p&gt;&#xA;&lt;h2 id=&#34;consider-a-template-repo&#34;&gt;Consider a Template Repo&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#consider-a-template-repo&#34; title=&#34;Click to copy link&#34;&gt;&lt;i class=&#34;fas fa-link&#34;&gt;&lt;/i&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;m pretty confident now that the right move is to set up a &lt;strong&gt;template repo&lt;/strong&gt;&#xA;with sensible defaults for phone-first development:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A &lt;code&gt;CLAUDE.md&lt;/code&gt; with your preferences (language, commit conventions, testing&#xA;approach)&lt;/li&gt;&#xA;&lt;li&gt;Basic &lt;a href=&#34;https://gitleaks.io/&#34;&gt;Gitleaks&lt;/a&gt; workflows for secret scanning&lt;/li&gt;&#xA;&lt;li&gt;Whatever project scaffolding makes sense for the kind of things you build&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I haven&amp;rsquo;t built this yet, but it&amp;rsquo;s next on my list. The goal is to remove as&#xA;much of the initial setup friction as possible so that starting a new project&#xA;from my phone is as smooth as working on an existing one.&lt;/p&gt;&#xA;</description>
    </item>
  </channel>
</rss>
