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(8mo ago)7131MITPHPPHP ^8.2

Since Nov 27Pushed 8mo 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 1w 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

31

—

LowBetter than 65% of packages

Maintenance59

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

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

263d 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

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

Magento2 Prometheus Exporter

69362.0k](/packages/run-as-root-magento2-prometheus-exporter)[llm/skills

AI skills discovery and management system for LLM agents

3118.0k10](/packages/llm-skills)[genaker/magento-mcp-ai

Magento MCP AI Assistant - A powerful AI assistant for Magento 2 that helps with store data queries and management

902.0k](/packages/genaker-magento-mcp-ai)[baldwin/magento2-module-less-js-compiler

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

2351.9k](/packages/baldwin-magento2-module-less-js-compiler)[dykyi-roman/awesome-claude-code

Claude Code extension for PHP: audits (architecture, DDD, security, performance, PSR, design patterns, Docker, CI/CD, tests, docs), 3-level code review, automated bug fix, generators (DDD, CQRS, GoF patterns, PSR, tests, documentation, Docker, CI/CD), code explanation, refactoring. 26 commands, 62 agents, 259 skills.

931.4k](/packages/dykyi-roman-awesome-claude-code)

PHPackages © 2026

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