<?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: Godwin Unomah</title>
    <description>The latest articles on DEV Community by Godwin Unomah (@shadowsama20).</description>
    <link>https://dev.to/shadowsama20</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4236110%2Fef865ca5-08ca-4ee6-a154-f26d5b075b91.png</url>
      <title>DEV Community: Godwin Unomah</title>
      <link>https://dev.to/shadowsama20</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shadowsama20"/>
    <language>en</language>
    <item>
      <title>I Built Stack2Rules: Generate a CLAUDE.md for Your Project Automatically, Looking for Developers to Test It</title>
      <dc:creator>Godwin Unomah</dc:creator>
      <pubDate>Tue, 10 Nov 2026 01:36:46 +0000</pubDate>
      <link>https://dev.to/shadowsama20/i-built-stack2rules-generate-a-claudemd-for-your-project-automatically-looking-for-developers-1ofh</link>
      <guid>https://dev.to/shadowsama20/i-built-stack2rules-generate-a-claudemd-for-your-project-automatically-looking-for-developers-1ofh</guid>
      <description>&lt;p&gt;Hey DEV Community! 👋&lt;/p&gt;

&lt;p&gt;I've been working on an open-source Python developer tool called &lt;strong&gt;Stack2Rules&lt;/strong&gt;, and I'm excited to share its first public release.&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if you could generate a project-specific &lt;code&gt;CLAUDE.md&lt;/code&gt; file automatically, without manually writing instructions for every framework in your application?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's what Stack2Rules aims to do.&lt;/p&gt;

&lt;p&gt;It's now available on GitHub and PyPI, and I'd love feedback from developers who work with Python, JavaScript, TypeScript, and AI-assisted coding tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 The Problem
&lt;/h2&gt;

&lt;p&gt;AI coding assistants can benefit from clear, project-specific instructions.&lt;/p&gt;

&lt;p&gt;But every project is different.&lt;/p&gt;

&lt;p&gt;A Django backend has different conventions from a FastAPI application. A Next.js project has different architectural considerations from a React application using a separate backend.&lt;/p&gt;

&lt;p&gt;Writing and maintaining these instructions manually takes time.&lt;/p&gt;

&lt;p&gt;I wanted a lightweight tool that could inspect a project's declared dependencies and generate a useful starting point.&lt;/p&gt;

&lt;h2&gt;
  
  
  ⚡ Introducing Stack2Rules
&lt;/h2&gt;

&lt;p&gt;Stack2Rules is a zero-runtime-dependency Python CLI that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Detects supported technologies from project dependency manifests.&lt;/li&gt;
&lt;li&gt;Generates framework-specific instructions in a &lt;code&gt;CLAUDE.md&lt;/code&gt; file.&lt;/li&gt;
&lt;li&gt;Works entirely locally without API calls.&lt;/li&gt;
&lt;li&gt;Requires no accounts, prompts, or configuration.&lt;/li&gt;
&lt;li&gt;Produces deterministic Markdown output.&lt;/li&gt;
&lt;li&gt;Protects existing files from accidental overwriting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is an independent open-source project, not an official Anthropic tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠️ Installation
&lt;/h2&gt;

&lt;p&gt;Stack2Rules requires Python 3.11 or newer.&lt;/p&gt;

&lt;p&gt;Install it using pip:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python -m pip install stack2rules
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Navigate to the root of your project and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;stack2rules
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it!&lt;/p&gt;

&lt;p&gt;The tool inspects supported dependency manifests and generates a &lt;code&gt;CLAUDE.md&lt;/code&gt; file in your project directory.&lt;/p&gt;

&lt;p&gt;You can also target another directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;stack2rules --dir /path/to/project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or specify a different output filename:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;stack2rules --output CLAUDE.generated.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Existing output files are never overwritten.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔍 How Does It Detect Your Tech Stack?
&lt;/h2&gt;

&lt;p&gt;Stack2Rules examines three root-level project files:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;package.json&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;requirements.txt&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;pyproject.toml&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It identifies supported packages from their declared dependencies and selects appropriate instruction templates.&lt;/p&gt;

&lt;p&gt;The current release supports 17 technologies, including:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Python ecosystem:&lt;/strong&gt; Python, Django, FastAPI, Flask, Pandas, NumPy, Pydantic, SQLAlchemy, and pytest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript and web ecosystem:&lt;/strong&gt; Node.js, React, Next.js, Vue, Express, TypeScript, Tailwind CSS, and Vitest.&lt;/p&gt;

&lt;p&gt;For example, a Next.js project using React, TypeScript, and Tailwind CSS can receive dedicated guidance for each recognized technology.&lt;/p&gt;

&lt;p&gt;The generated instructions encourage version-aware development rather than assuming which framework version is installed.&lt;/p&gt;

&lt;h2&gt;
  
  
  🧪 Testing and Validation
&lt;/h2&gt;

&lt;p&gt;Before publishing v1.0.0, I wanted to establish a reproducible baseline.&lt;/p&gt;

&lt;p&gt;The repository includes a documented validation record showing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;29 regression tests passed.&lt;/li&gt;
&lt;li&gt;Successful installation and CLI execution.&lt;/li&gt;
&lt;li&gt;Verification of generated example outputs.&lt;/li&gt;
&lt;li&gt;Successful wheel building and isolated installation.&lt;/li&gt;
&lt;li&gt;A release CI run that passed 12 jobs across Linux, macOS, and Windows using Python 3.11–3.14.&lt;/li&gt;
&lt;li&gt;Successful PyPI installation and verification of the published package.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These results are encouraging, but they don't replace real-world testing on diverse developer projects.&lt;/p&gt;

&lt;p&gt;Full validation details:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Shadowsama20/stack2rules/blob/main/VALIDATION.md" rel="noopener noreferrer"&gt;Stack2Rules Validation Record&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🔐 Privacy and Safety Considerations
&lt;/h2&gt;

&lt;p&gt;Because Stack2Rules examines project manifests, I wanted to keep its behavior limited and predictable.&lt;/p&gt;

&lt;p&gt;The tool:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Does not execute the project's code.&lt;/li&gt;
&lt;li&gt;Does not make network or API calls.&lt;/li&gt;
&lt;li&gt;Does not send telemetry.&lt;/li&gt;
&lt;li&gt;Does not inspect &lt;code&gt;.env&lt;/code&gt; files or private keys.&lt;/li&gt;
&lt;li&gt;Does not recursively scan the entire repository.&lt;/li&gt;
&lt;li&gt;Skips unsupported or unsafe manifest inputs.&lt;/li&gt;
&lt;li&gt;Does not overwrite existing output files.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are intentional design choices, although the tool is not intended to function as a security sandbox.&lt;/p&gt;

&lt;h2&gt;
  
  
  📦 Version 1.0.0 Is Available
&lt;/h2&gt;

&lt;p&gt;The first public release is available now.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://github.com/Shadowsama20/stack2rules" rel="noopener noreferrer"&gt;https://github.com/Shadowsama20/stack2rules&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PyPI Package:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://pypi.org/project/stack2rules/" rel="noopener noreferrer"&gt;https://pypi.org/project/stack2rules/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Version 1.0.0 Release:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://github.com/Shadowsama20/stack2rules/releases/tag/v1.0.0" rel="noopener noreferrer"&gt;https://github.com/Shadowsama20/stack2rules/releases/tag/v1.0.0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The project is released under the MIT license.&lt;/p&gt;

&lt;h2&gt;
  
  
  🤝 I'm Looking for Developers and Contributors!
&lt;/h2&gt;

&lt;p&gt;This is where I'd really appreciate the DEV Community's help.&lt;/p&gt;

&lt;p&gt;I'm particularly interested in feedback about:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Real-world compatibility&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Does Stack2Rules recognize the technologies in your project correctly?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Missing frameworks&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Which additional frameworks or tools would make it more useful?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Quality of generated instructions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Are the rules helpful, accurate, and sufficiently specific?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Edge cases and reliability&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Can you identify cases where detection fails, produces misleading rules, or behaves unexpectedly?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Code quality and architecture&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Are there opportunities to simplify the implementation or improve maintainability?&lt;/p&gt;

&lt;p&gt;If you find an issue, please open a GitHub issue with a reproducible example.&lt;/p&gt;

&lt;p&gt;Contributions are welcome, including documentation improvements, new framework mappings, test cases, and bug fixes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Shadowsama20/stack2rules/blob/main/CONTRIBUTING.md" rel="noopener noreferrer"&gt;Read the Contribution Guide&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🌱 What's Next?
&lt;/h2&gt;

&lt;p&gt;My immediate priority is collecting independent feedback and testing Stack2Rules against more real-world projects.&lt;/p&gt;

&lt;p&gt;I'd like the next improvements to be driven by problems developers actually encounter, rather than simply adding features without evidence that they're useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  🙌 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Stack2Rules is a small open-source project built around a straightforward idea: make it easier to give AI coding assistants useful, stack-specific project instructions.&lt;/p&gt;

&lt;p&gt;I'm proud to have reached the first public release, but I know that releasing software is only the beginning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you use AI coding assistants, would automatically generated project instructions help your workflow? What would you change about this approach?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Feel free to try Stack2Rules, explore the source code, open an issue, or submit a pull request.&lt;/p&gt;

&lt;p&gt;And if you find it useful, consider starring the repository to support the project.&lt;/p&gt;

&lt;p&gt;Thanks for reading! 🚀&lt;/p&gt;

&lt;h1&gt;
  
  
  python #opensource #devtools #showdev
&lt;/h1&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>showdev</category>
      <category>devtools</category>
    </item>
  </channel>
</rss>
