<?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: irfanarshad</title>
    <description>The latest articles on DEV Community by irfanarshad (@mirfanarshad).</description>
    <link>https://dev.to/mirfanarshad</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%2F3542965%2F1e2773f9-6b4d-402c-a8bb-1b98317d927a.jpg</url>
      <title>DEV Community: irfanarshad</title>
      <link>https://dev.to/mirfanarshad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mirfanarshad"/>
    <language>en</language>
    <item>
      <title>Boost your productivity with Claude Code AI</title>
      <dc:creator>irfanarshad</dc:creator>
      <pubDate>Sat, 21 Mar 2026 18:44:37 +0000</pubDate>
      <link>https://dev.to/mirfanarshad/boost-your-productivity-with-claude-code-ai-4069</link>
      <guid>https://dev.to/mirfanarshad/boost-your-productivity-with-claude-code-ai-4069</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mirfanarshad/claude-code-project-structure-best-practices-4fi4" class="crayons-story__hidden-navigation-link"&gt;Claude Code Project Structure Best Practices&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mirfanarshad" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3542965%2F1e2773f9-6b4d-402c-a8bb-1b98317d927a.jpg" alt="mirfanarshad profile" class="crayons-avatar__image" width="800" height="859"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mirfanarshad" class="crayons-story__secondary fw-medium m:hidden"&gt;
              irfanarshad
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                irfanarshad
                
              
              &lt;div id="story-author-preview-content-3377691" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mirfanarshad" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3542965%2F1e2773f9-6b4d-402c-a8bb-1b98317d927a.jpg" class="crayons-avatar__image" alt="" width="800" height="859"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;irfanarshad&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mirfanarshad/claude-code-project-structure-best-practices-4fi4" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Mar 20&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mirfanarshad/claude-code-project-structure-best-practices-4fi4" id="article-link-3377691"&gt;
          Claude Code Project Structure Best Practices
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/architecture"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;architecture&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/productivity"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;productivity&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tooling"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tooling&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mirfanarshad/claude-code-project-structure-best-practices-4fi4#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>architecture</category>
      <category>productivity</category>
      <category>tooling</category>
    </item>
    <item>
      <title>Claude Code Project Structure Best Practices</title>
      <dc:creator>irfanarshad</dc:creator>
      <pubDate>Fri, 20 Mar 2026 17:33:06 +0000</pubDate>
      <link>https://dev.to/mirfanarshad/claude-code-project-structure-best-practices-4fi4</link>
      <guid>https://dev.to/mirfanarshad/claude-code-project-structure-best-practices-4fi4</guid>
      <description>&lt;p&gt;When you work with Claude Code, organizing projects well makes a huge difference. Claude works best when it has a clear context, consistent structure, and explicit instructions.&lt;/p&gt;

&lt;p&gt;Below are 5 integral principles you should follow to create an excellent project structure:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Place CLAUDE.md at the root
CLAUDE.md is a critical file that provides project-specific context for Claude Code. It serves an onboarding guide for AI to your project requirements and codebase.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Claude automatically reads the CLAUDE.md file at start.&lt;/p&gt;

&lt;p&gt;Here is an example of what to include in this file:&lt;/p&gt;

&lt;p&gt;`# Project Overview&lt;br&gt;
Short description of the project.&lt;/p&gt;

&lt;h1&gt;
  
  
  Architecture
&lt;/h1&gt;

&lt;p&gt;Explanation of major components.&lt;/p&gt;

&lt;h1&gt;
  
  
  Tech Stack
&lt;/h1&gt;

&lt;p&gt;Next.js&lt;br&gt;
TypeScript&lt;br&gt;
ShadCN UI&lt;br&gt;
Tailwind&lt;/p&gt;

&lt;h1&gt;
  
  
  Coding Conventions
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Use TypeScript strict mode&lt;/li&gt;
&lt;li&gt;Prefer functional components&lt;/li&gt;
&lt;li&gt;Avoid default exports&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Folder Structure
&lt;/h1&gt;

&lt;p&gt;Explanation of directories.&lt;/p&gt;

&lt;h1&gt;
  
  
  Commands
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;npm run dev&lt;/li&gt;
&lt;li&gt;npm run build&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Important Rules
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Performance requirements&lt;/li&gt;
&lt;li&gt;Accessibility requirements&lt;/li&gt;
&lt;li&gt;Testing strategy`&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I’ve shared best practices for creating CLAUDE.mdin the following article:&lt;/p&gt;

&lt;p&gt;The file should be placed in the root folder of your project&lt;/p&gt;

&lt;p&gt;my-project/&lt;br&gt;
 ├── CLAUDE.md&lt;br&gt;
 ├── package.json&lt;br&gt;
 ├── src/&lt;br&gt;
 ├── docs/&lt;br&gt;
 └── scripts/&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quick note&lt;/strong&gt;: If you have an existing codebase in your project, you don’ t have to start from scratch when crafting CLAUDE.md. Instead, you can type /init command in Claude Code, and it will create a first draft of this file for you&lt;/p&gt;

&lt;p&gt;&lt;code&gt;/init&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Split large CLAUDE.md instructions into imported files
CLAUDE.md file can grow fast. Because Claude Code reads this file all the time, and it’s added to the context, it’s not recommended to have very large files. As a rule of thumb, if you notice that the file has more than 200 lines of text, you should split it into a few files.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Claude Code supports imports inside CLAUDE.md&lt;br&gt;
&lt;code&gt;@path/to/import.md&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;All you need to do is provide a context for when Claude should perform the import. Here is how our updated file CLAUDE.mdwith add imports will look like:&lt;/p&gt;

&lt;p&gt;`# CLAUDE.md&lt;/p&gt;

&lt;h1&gt;
  
  
  Architecture
&lt;/h1&gt;

&lt;p&gt;For project architecture check &lt;a class="mentioned-user" href="https://dev.to/claude"&gt;@claude&lt;/a&gt;/architecture.md&lt;/p&gt;

&lt;h1&gt;
  
  
  Coding Conventions
&lt;/h1&gt;

&lt;p&gt;For coding conventions check &lt;a class="mentioned-user" href="https://dev.to/claude"&gt;@claude&lt;/a&gt;/coding_conventions.md&lt;/p&gt;

&lt;h1&gt;
  
  
  UI Guidelines
&lt;/h1&gt;

&lt;p&gt;For UI guidelines check &lt;a class="mentioned-user" href="https://dev.to/claude"&gt;@claude&lt;/a&gt;/ui_guidelines.md`&lt;/p&gt;

&lt;p&gt;And in the project directory, the file structure will be:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;CLAUDE.md&lt;br&gt;
claude/&lt;br&gt;
  architecture.md&lt;br&gt;
  coding_conventions.md&lt;br&gt;
  ui_guidelines.md&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This structure will be beneficial both for you and for AI because:&lt;/p&gt;

&lt;p&gt;Its easier to maintain (if you want to modify something)&lt;br&gt;
faster Claude context loading&lt;br&gt;
reusable across projects (fits all types of web-dev projects)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add a /docs folder for context
If you want to help Claude better understand your project and its nuances, you want to add docs/ folder. Claude reads documentation in markdown format extremely well.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For example, you can add information about upcoming features you plan to add to your product this quarter, or about the current API calls your product provides.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;docs/&lt;br&gt;
  project_roadmap.md&lt;br&gt;
  api.md&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;And now you can prompt Claude to check docs when implementing a certain feature (i.e., health check for your web service)&lt;/p&gt;

&lt;p&gt;Read docs/api.md and implement our service health monitor available via API calls.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add a /workflows folder for workflows
If you want Claude to follow a specific workflow when performing a task, you should put such workflows in a dedicated directory. For example, for web-dev project, this can be&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;claude/&lt;br&gt;
  worfklows/&lt;br&gt;
     build-new-component.md&lt;br&gt;
     code-refactoring.md&lt;br&gt;
     write-auto-tests.md&lt;br&gt;
     migrate-db.md&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;And here is how the workflow build-new-component.mdcan looks (note that this is just an example, the actual workflow can be more complex):&lt;/p&gt;

&lt;p&gt;`# build-component.md&lt;/p&gt;

&lt;p&gt;When you are asked to create a new component for a web service,&lt;br&gt;
create it with following requirements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;li&gt;ShadCN UI&lt;/li&gt;
&lt;li&gt;accessible&lt;/li&gt;
&lt;li&gt;mobile-first&lt;/li&gt;
&lt;li&gt;Tailwind styling`&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And you can call it like:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Follow claude/prompts/build-component.md to create a dashboard card&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The great thing about this structure is that you can trigger one workflow from another. For example, if Claude codes a new component (following the build-new-component.md) you can trigger writing auto tests that will validate this new code right from the file build-new-component.md&lt;/p&gt;

&lt;h1&gt;
  
  
  build-component.md
&lt;/h1&gt;

&lt;p&gt;`When you are asked to create a new component for a web service,&lt;br&gt;
create it with following requirements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;li&gt;ShadCN UI&lt;/li&gt;
&lt;li&gt;accessible&lt;/li&gt;
&lt;li&gt;mobile-first&lt;/li&gt;
&lt;li&gt;Tailwind styling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Make sure to write auto tests for this component following the&lt;br&gt;
@workflows/write-auto-tests.md`&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Use a /tools folder for Claude service tasks
The great thing about Claude Code is that it will write specific service scripts to streamline workflows. For example, if you ask it to organize an operation of database migration (that you articulate in the migrate-db.md), Claude will likely write a Python script that will handle some actions. I suggest keeping all service scripts in one folder named ‘/tools.’&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;tools/&lt;br&gt;
  migrate-db.py&lt;br&gt;
  seed-data.py&lt;br&gt;
  export-data.py&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Quick note: You might wonder why the folder is named /tools and not /scripts. If you are in a web-dev project, you typically associate the name ‘script’ with front-end or back-end scripts that your service uses, not service tools you use. Thus, I use this naming to minimize confusion when project teams check the folder.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>productivity</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
