PHPackages                             fruitcake/magento2-ai-guidelines - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. fruitcake/magento2-ai-guidelines

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fruitcake/magento2-ai-guidelines
================================

Generate AI Guidelines for Magento 2 projects.

v0.1.1(5mo ago)681MITPHPPHP ^8.2

Since Nov 27Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/fruitcake/magento2-ai-guidelines)[ Packagist](https://packagist.org/packages/fruitcake/magento2-ai-guidelines)[ RSS](/packages/fruitcake-magento2-ai-guidelines/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Fruitcake AI Guidelines Module
==============================

[](#fruitcake-ai-guidelines-module)

Generate a CLAUDE.md file with project context for AI assistance.

Installation
------------

[](#installation)

Option 1: Install via Composer in your project

- `composer require fruitcake/magento2-ai-guidelines`
- `php bin/magento module:enable Fruitcake_AiGuidelines`

Option 2: Install as Magerun2 module:

- Clone this library in `~/.n98-magerun2/modules`

Usage
-----

[](#usage)

Generate the CLAUDE.md file at project root:

```
bin/magento ai:generate-context
```

This creates a `CLAUDE.md` file containing:

- System information (Magento version, PHP version, OS)
- Theme information (Hyva detection)
- Installed modules (custom and third-party)
- Project structure hints
- Magento best practices

Customization
-------------

[](#customization)

To customize the generated CLAUDE.md file, edit CLAUDE.md outside the `` tags.

Then regenerate:

```
bin/magento ai:generate-context
```

Ideas
-----

[](#ideas)

- Add docs based on installed packages/versions
- Add skills

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance71

Regular maintenance activity

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

164d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dad47b02be23edb7094a151b4b1ce7e9cb56b75cd87cd3341d140e1e1e9cd0e4?d=identicon)[barryvdh](/maintainers/barryvdh)

---

Top Contributors

[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (16 commits)")

---

Tags

devaimagentomagento2claude-codemagerun2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fruitcake-magento2-ai-guidelines/health.svg)

```
[![Health](https://phpackages.com/badges/fruitcake-magento2-ai-guidelines/health.svg)](https://phpackages.com/packages/fruitcake-magento2-ai-guidelines)
```

###  Alternatives

[opengento/module-gdpr

Gdpr Compliance Module for Magento 2

14481.5k](/packages/opengento-module-gdpr)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

69344.4k](/packages/run-as-root-magento2-prometheus-exporter)[baldwin/magento2-module-less-js-compiler

Allows Magento 2 to compile less files using the less nodejs compiler

2348.6k](/packages/baldwin-magento2-module-less-js-compiler)[gonetone/laravel-boost-windsurf-extension

Laravel Boost extension package that provides Windsurf editor and Windsurf JetBrains plugin integration.

239.1k](/packages/gonetone-laravel-boost-windsurf-extension)[friends-of-hyva/magento2-crawler-session

Prevent crawlers from creating a session

155.8k](/packages/friends-of-hyva-magento2-crawler-session)[opengento/module-saleable

This extension allows to set if a product is saleable and can show its price by scope and customer group.

136.9k](/packages/opengento-module-saleable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
