{"owner":"statamic","repo":"cms","hasSkills":true,"hasMcp":false,"mcpConfig":null,"found":["CLAUDE.md"],"skills":{"CLAUDE.md":"# Statamic CMS - Claude AI Context\n\n## Project Overview\n\nThis is the **Statamic CMS Core Package** - a Laravel-powered, flat-file (by default) CMS designed for building modern, easy-to-manage websites. This repository contains the core Composer package that gets installed into Laravel applications.\n\n## Project Structure\n\n```\n├── src/                  # Core PHP source code (PSR-4: Statamic\\)\n│   ├── CP/               # Control Panel specific functionality  \n│   └── ...               # Many other core modules\n├── resources/\n│   ├── js/               # Vue.js Control Panel frontend\n│   │   ├── bootstrap/\n│   │   │   ├── cms/      # Bootstraps the code necessary for the npm package\n│   │   │   └── ...\n│   │   ├── package/      # The @statamic/cms local npm package to be used by addons\n│   │   ├── tests/        # JS test suite (Vitest)\n│   │   └── ...\n│   ├── css/              # Stylesheets\n│   ├── views/            # Blade templates\n│   └── lang/             # Translations\n├── tests/                # PHPUnit test suite\n├── config/               # Configuration files\n└── routes/               # Route definitions\n```\n\n## Technology Stack\n\n- **Backend**: Laravel 12+ / PHP 8+\n- **Control Panel Frontend**: Vue 3 + TypeScript + Vite\n- **Control Panel CSS**: Tailwind CSS 4\n- **Database**: File-based \"Stache\" out of the box, but eloquent supported through the statamic/eloquent-driver composer package\n\n## Development Commands\n\n### PHP/Backend\n\n```bash\n# Run PHPUnit tests\n./vendor/bin/phpunit\n# OR use the batch file on Windows\nphpunit.bat\n\n# Code style/linting (Laravel Pint)\n./vendor/bin/pint\n\n# Run specific test\n./vendor/bin/phpunit tests/path/to/TestFile.php\n```\n\n## Common Development Tasks\n\n- **Adding new fieldtypes**: Extend `src/Fieldtypes/`\n- **Control Panel features**: Work in `src/CP/` + `resources/js/`\n- **API endpoints**: Check `src/API/` + `routes/api.php`\n- **Entry/content handling**: See `src/Entries/`\n- **Asset management**: See `src/Assets/`\n- **Authentication**: See `src/Auth/`\n\n## Testing\n\n- Full PHPUnit test suite in `tests/`\n- Frontend tests with Vitest\n- Run tests before submitting PRs\n\n## Important Notes\n\n- This is the **core package only** - it requires a Laravel app to run\n- The starter Laravel app is at [statamic/statamic](https://github.com/statamic/statamic)  \n- Documentation site code is at [statamic.dev](https://statamic.dev)\n- Do not commit compiled assets (`resources/dist/*`) - they're auto-generated\n- Follow the contribution guidelines in [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## Build Process\n\nThe project uses Vite for asset compilation with separate configs:\n\n- `vite.config.js` - Main Control Panel assets. e.g. The Vue application.\n- `vite-frontend.config.js` - Frontend-specific assets. e.g. Things like conditional field logic to be used on front-end forms. \n- Control Panel assets are built to `resources/dist/` and `resources/dist-dev/`. The dev version enables Vue devtools.\n\n## NPM Package Notes\n\n- Our Vite bundle contains the Vue app, UI components, all the JS to make the Control Panel work.\n- We provide a `@statamic/cms` node module for addons to use that provides core helpers, ui components, etc.\n- Our Vite bundle assembles everything the node module needs in `resouces/js/bootstrap/cms` and makes it available in the `window.__STATAMIC__` object.\n- The node module is defined in `packages/cms` and resolves everything through the `window` object.\n- Code needs to be in the `window` object to prevent addon bundles from re-including our code, and from needing to recompile our source files.\n\n## For PR Reviews\n\n- All user-facing strings should be localized.\n  - Short strings (like \"Submit\" or \"Click here\") can use the translation strings as keys. \n  - Longer phrases or sentences should use keys and have their translations stored in an appropriate translation file.\n  - When adding to a translation file, only English strings need to be added. Other languages will be provided by contributors.\n  - Exception messages can stay untranslated in English\n\n## Misc\n\n- Commit messages within a PR do *not* need the PR number prefix. Those are just for the PR merge commit itself.\n\n\n## Links\n\n- [Main Documentation](https://statamic.dev/)\n- [Application Repo](https://github.com/statamic/statamic) \n- [Discussions](https://github.com/statamic/cms/discussions)\n- [Discord](https://statamic.com/discord)\n"},"files":{"CLAUDE.md":"# Statamic CMS - Claude AI Context\n\n## Project Overview\n\nThis is the **Statamic CMS Core Package** - a Laravel-powered, flat-file (by default) CMS designed for building modern, easy-to-manage websites. This repository contains the core Composer package that gets installed into Laravel applications.\n\n## Project Structure\n\n```\n├── src/                  # Core PHP source code (PSR-4: Statamic\\)\n│   ├── CP/               # Control Panel specific functionality  \n│   └── ...               # Many other core modules\n├── resources/\n│   ├── js/               # Vue.js Control Panel frontend\n│   │   ├── bootstrap/\n│   │   │   ├── cms/      # Bootstraps the code necessary for the npm package\n│   │   │   └── ...\n│   │   ├── package/      # The @statamic/cms local npm package to be used by addons\n│   │   ├── tests/        # JS test suite (Vitest)\n│   │   └── ...\n│   ├── css/              # Stylesheets\n│   ├── views/            # Blade templates\n│   └── lang/             # Translations\n├── tests/                # PHPUnit test suite\n├── config/               # Configuration files\n└── routes/               # Route definitions\n```\n\n## Technology Stack\n\n- **Backend**: Laravel 12+ / PHP 8+\n- **Control Panel Frontend**: Vue 3 + TypeScript + Vite\n- **Control Panel CSS**: Tailwind CSS 4\n- **Database**: File-based \"Stache\" out of the box, but eloquent supported through the statamic/eloquent-driver composer package\n\n## Development Commands\n\n### PHP/Backend\n\n```bash\n# Run PHPUnit tests\n./vendor/bin/phpunit\n# OR use the batch file on Windows\nphpunit.bat\n\n# Code style/linting (Laravel Pint)\n./vendor/bin/pint\n\n# Run specific test\n./vendor/bin/phpunit tests/path/to/TestFile.php\n```\n\n## Common Development Tasks\n\n- **Adding new fieldtypes**: Extend `src/Fieldtypes/`\n- **Control Panel features**: Work in `src/CP/` + `resources/js/`\n- **API endpoints**: Check `src/API/` + `routes/api.php`\n- **Entry/content handling**: See `src/Entries/`\n- **Asset management**: See `src/Assets/`\n- **Authentication**: See `src/Auth/`\n\n## Testing\n\n- Full PHPUnit test suite in `tests/`\n- Frontend tests with Vitest\n- Run tests before submitting PRs\n\n## Important Notes\n\n- This is the **core package only** - it requires a Laravel app to run\n- The starter Laravel app is at [statamic/statamic](https://github.com/statamic/statamic)  \n- Documentation site code is at [statamic.dev](https://statamic.dev)\n- Do not commit compiled assets (`resources/dist/*`) - they're auto-generated\n- Follow the contribution guidelines in [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## Build Process\n\nThe project uses Vite for asset compilation with separate configs:\n\n- `vite.config.js` - Main Control Panel assets. e.g. The Vue application.\n- `vite-frontend.config.js` - Frontend-specific assets. e.g. Things like conditional field logic to be used on front-end forms. \n- Control Panel assets are built to `resources/dist/` and `resources/dist-dev/`. The dev version enables Vue devtools.\n\n## NPM Package Notes\n\n- Our Vite bundle contains the Vue app, UI components, all the JS to make the Control Panel work.\n- We provide a `@statamic/cms` node module for addons to use that provides core helpers, ui components, etc.\n- Our Vite bundle assembles everything the node module needs in `resouces/js/bootstrap/cms` and makes it available in the `window.__STATAMIC__` object.\n- The node module is defined in `packages/cms` and resolves everything through the `window` object.\n- Code needs to be in the `window` object to prevent addon bundles from re-including our code, and from needing to recompile our source files.\n\n## For PR Reviews\n\n- All user-facing strings should be localized.\n  - Short strings (like \"Submit\" or \"Click here\") can use the translation strings as keys. \n  - Longer phrases or sentences should use keys and have their translations stored in an appropriate translation file.\n  - When adding to a translation file, only English strings need to be added. Other languages will be provided by contributors.\n  - Exception messages can stay untranslated in English\n\n## Misc\n\n- Commit messages within a PR do *not* need the PR number prefix. Those are just for the PR merge commit itself.\n\n\n## Links\n\n- [Main Documentation](https://statamic.dev/)\n- [Application Repo](https://github.com/statamic/statamic) \n- [Discussions](https://github.com/statamic/cms/discussions)\n- [Discord](https://statamic.com/discord)\n"},"items":[{"name":"CLAUDE.md","path":"CLAUDE.md","title":"CLAUDE.md","content":"# Statamic CMS - Claude AI Context\n\n## Project Overview\n\nThis is the **Statamic CMS Core Package** - a Laravel-powered, flat-file (by default) CMS designed for building modern, easy-to-manage websites. This repository contains the core Composer package that gets installed into Laravel applications.\n\n## Project Structure\n\n```\n├── src/                  # Core PHP source code (PSR-4: Statamic\\)\n│   ├── CP/               # Control Panel specific functionality  \n│   └── ...               # Many other core modules\n├── resources/\n│   ├── js/               # Vue.js Control Panel frontend\n│   │   ├── bootstrap/\n│   │   │   ├── cms/      # Bootstraps the code necessary for the npm package\n│   │   │   └── ...\n│   │   ├── package/      # The @statamic/cms local npm package to be used by addons\n│   │   ├── tests/        # JS test suite (Vitest)\n│   │   └── ...\n│   ├── css/              # Stylesheets\n│   ├── views/            # Blade templates\n│   └── lang/             # Translations\n├── tests/                # PHPUnit test suite\n├── config/               # Configuration files\n└── routes/               # Route definitions\n```\n\n## Technology Stack\n\n- **Backend**: Laravel 12+ / PHP 8+\n- **Control Panel Frontend**: Vue 3 + TypeScript + Vite\n- **Control Panel CSS**: Tailwind CSS 4\n- **Database**: File-based \"Stache\" out of the box, but eloquent supported through the statamic/eloquent-driver composer package\n\n## Development Commands\n\n### PHP/Backend\n\n```bash\n# Run PHPUnit tests\n./vendor/bin/phpunit\n# OR use the batch file on Windows\nphpunit.bat\n\n# Code style/linting (Laravel Pint)\n./vendor/bin/pint\n\n# Run specific test\n./vendor/bin/phpunit tests/path/to/TestFile.php\n```\n\n## Common Development Tasks\n\n- **Adding new fieldtypes**: Extend `src/Fieldtypes/`\n- **Control Panel features**: Work in `src/CP/` + `resources/js/`\n- **API endpoints**: Check `src/API/` + `routes/api.php`\n- **Entry/content handling**: See `src/Entries/`\n- **Asset management**: See `src/Assets/`\n- **Authentication**: See `src/Auth/`\n\n## Testing\n\n- Full PHPUnit test suite in `tests/`\n- Frontend tests with Vitest\n- Run tests before submitting PRs\n\n## Important Notes\n\n- This is the **core package only** - it requires a Laravel app to run\n- The starter Laravel app is at [statamic/statamic](https://github.com/statamic/statamic)  \n- Documentation site code is at [statamic.dev](https://statamic.dev)\n- Do not commit compiled assets (`resources/dist/*`) - they're auto-generated\n- Follow the contribution guidelines in [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## Build Process\n\nThe project uses Vite for asset compilation with separate configs:\n\n- `vite.config.js` - Main Control Panel assets. e.g. The Vue application.\n- `vite-frontend.config.js` - Frontend-specific assets. e.g. Things like conditional field logic to be used on front-end forms. \n- Control Panel assets are built to `resources/dist/` and `resources/dist-dev/`. The dev version enables Vue devtools.\n\n## NPM Package Notes\n\n- Our Vite bundle contains the Vue app, UI components, all the JS to make the Control Panel work.\n- We provide a `@statamic/cms` node module for addons to use that provides core helpers, ui components, etc.\n- Our Vite bundle assembles everything the node module needs in `resouces/js/bootstrap/cms` and makes it available in the `window.__STATAMIC__` object.\n- The node module is defined in `packages/cms` and resolves everything through the `window` object.\n- Code needs to be in the `window` object to prevent addon bundles from re-including our code, and from needing to recompile our source files.\n\n## For PR Reviews\n\n- All user-facing strings should be localized.\n  - Short strings (like \"Submit\" or \"Click here\") can use the translation strings as keys. \n  - Longer phrases or sentences should use keys and have their translations stored in an appropriate translation file.\n  - When adding to a translation file, only English strings need to be added. Other languages will be provided by contributors.\n  - Exception messages can stay untranslated in English\n\n## Misc\n\n- Commit messages within a PR do *not* need the PR number prefix. Those are just for the PR merge commit itself.\n\n\n## Links\n\n- [Main Documentation](https://statamic.dev/)\n- [Application Repo](https://github.com/statamic/statamic) \n- [Discussions](https://github.com/statamic/cms/discussions)\n- [Discord](https://statamic.com/discord)\n","category":"root","tokens":1094}]}