polmartinez

Cloude PHP Workspace — AI skill for Claude Code

AI community

Cloude is a minimalist PHP 8.4+ micro-framework with no magic and zero runtime dependencies, designed so both you and an AI agent (like Claude Code) can reason about any piece without loading a runtim.

How to install Cloude PHP Workspace

This entry records only its repository, not the path inside it, so there is no exact command to give. Open polmartinez/cloude-php-workspace and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cloude PHP Workspace does

Cloude is a minimalist PHP 8.4+ micro-framework with no magic and zero runtime dependencies, designed so both you and an AI agent (like Claude Code) can reason about any piece without loading a runtime in your head.

Alternatives in AI

README

Cloude Framework

A minimalist PHP micro-framework. No magic, no service container. Persistence is opt-in: file-based (JSON / Markdown) by default, with a thin Active Record over PDO via `Cloude\Model` when you need a relational database.

[![tests](https://github.com/polmartinez/cloude-php-workspace/actions/workflows/tests.yml/badge.svg)](https://github.com/polmartinez/cloude-php-workspace/actions/workflows/tests.yml)

  • PHP 8.3+ — minimum 8.3; the suite runs clean, with no deprecation notices, on 8.3, 8.4 and 8.5
  • PSR-4 autoloading, namespace Cloude\
  • PSR-12 / PER-CS 2.0 coding style
  • declare(strict_types=1) everywhere
  • Zero runtime dependencies. Markdown rendering is in-house. Slug transliteration uses ext-intl when present (Cyrillic, Greek and other scripts romanise correctly). Without ext-intl non-ASCII characters are dropped — install it for sites that need accent-aware slugs.

Built with Claude Code

Cloude is shaped while pair-coding with [**Claude Code**](https://claude.com/claude-code) — Anthropic's terminal-native AI coding agent. The "one file per class, no magic, no DSL, no annotations" rules aren't aesthetic preferences: they exist so the agent (and you) can reason about any piece of the framework without loading a runtime in your head.

Try it:

composer require cloude/framework
claude

Then ask Claude Code to scaffold a front controller with `Cloude\Bootstrap`, expose an MCP server with `Cloude\Mcp\Server`, or migrate a routes file into nested groups. The surface area is small enough that the agent usually nails it in one prompt.

**For agents:** see [`AGENTS.md`](AGENTS.md) — a tight reference card with the decision matrix, idioms and anti-patterns. AI tools (Claude Code, Cursor, Codex, …) pick it up automatically when they see the file at the repo root.

**For Claude Code users specifically:** [`CLAUDE.md`](CLAUDE.md) is the "from zero to running feature" playbook — quick start, project la