Download the PHP package maarsson/agent-guidelines without Composer

On this page you can find all versions of the php package maarsson/agent-guidelines. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package agent-guidelines

maarsson/agent-guidelines

Reusable, opinionated guidelines and skills for AI coding agents.

Latest Stable Version Tests License

Shared instructions are intended for use across projects. Project-specific templates provide a starting point for local rules and context. Also an additive overlay for Laravel Boost.

Install

Run these commands in the consumer Laravel project:

Composer also installs Laravel Boost if needed. If Boost is already configured, rerun its installer to enable this package.

The linking command creates .agents/skills as the canonical directory, with .claude/skills and .github/skills pointing to ../.agents/skills. Run it before the Boost installer so the selected agents share the same skills, including your own local skills and those installed by Boost.

The command preserves existing skills and correct symlinks, and can be rerun. It refuses conflicting files, real skill directories, or links pointing elsewhere. If Boost has already created separate skill directories, move or merge their contents manually before linking. The .agents, .claude, and .github parent directories must be real directories.

By default, it uses the current directory; you can also pass a project directory:

To run it through Composer, add a script to the consumer project's composer.json:

Then run composer agent-skills:link. Merge this entry into any existing scripts. Dependency packages' own Composer scripts do not run automatically.

In the installer, enable guidelines and skills, select your coding agents, and tick maarsson/agent-guidelines when prompted: "Which third-party AI guidelines/skills would you like to install?"

Boost saves this selection in boost.json. It includes this package's core guideline in the selected agents' instruction files and copies the package’s skills, including their supporting files, into the agents' skills directories. See the Laravel Boost documentation for agent setup details.

Non-interactive installation

php artisan boost:install --no-interaction uses the package selection already saved in boost.json; it does not opt into third-party packages automatically.

Commit the consumer project's configured boost.json before running the installer non-interactively. Ensure its packages array includes maarsson/agent-guidelines, preserving any other selected packages. For example, a Codex setup with guidelines and skills enabled:

Adapt this example to your agents and features; preserve other installed skills in an existing configuration.

Project-specific guidelines and skills

The templates provide a local project index and separate files for context, backend, frontend, documentation locations, tooling, testing, integrations, and infrastructure. The initializer creates missing files under .agents/guidelines/ and skips existing files. Adapt the templates to verified project facts; placeholders do not establish facts or exceptions.

The package's shared project.md delegates to .agents/guidelines/project.md. That local index routes to the relevant project files. Shared rules remain in the installed package; local rules and explicit exceptions take precedence.

The default maintainer profile remains active unless the consumer has its own .agents/guidelines/maintainer.md. To create a local replacement template explicitly:

For domain or integration skills, create an editable source with a descriptive name:

This creates .ai/skills/project-integration/SKILL.md. Adapt its description, scope, contracts, and rules, then add the skill's name and activation conditions to the relevant local guideline, such as project/context.md or project/integrations.md.

Run php artisan boost:install after adapting a new skill, or php artisan boost:update to sync custom skills in an already configured project. Boost discovers the maintained sources in .ai/skills/ and installs them in the shared .agents/skills/ directory when the skill-directory links are configured. Keep these local sources in the consumer repository; they are not files maintained by this package.

The initializer does not invoke Boost or create skill-directory links. Run agent-guidelines-link-skills before the Boost installer as shown above. Both initialization options may be combined, and an optional project-directory argument is supported. No existing file is overwritten; symlinked parent directories and directory conflicts are rejected.

How instructions are loaded

When this package is selected during Laravel Boost setup, Boost includes the contents of resources/boost/guidelines/core.blade.php in the consumer project's AGENTS.md. The core contains shared instruction priorities and routing to guidelines and skills loaded only when relevant.

The consumer project can keep its own local instructions in separate files:

The package's maintainer.md and project.md guidelines check for these local files and load them when present.

Included skills

Skill Purpose
laravel-best-practices-overlay Design defaults for new Laravel/PHP implementations and Blade templates, complementing Boost without requiring convention-only legacy rewrites.
vue-frontend-best-practices Design defaults for new Vue components and pages, including presentation, notifications, and localization, respecting the installed Vue/Nuxt version.
laravel-permissions Permission-based authorization rules using Laravel Policies, FormRequests, visibility scopes, and Spatie permissions.
specification-driven-development Define intent, write specifications before implementing new features or comprehensive changes, and verify the result against them.
code-reviewing Read-only review of selected changes for concrete defects, regressions, and production risks.

Guideline topics

The shared guidelines cover:

See core.blade.php for instruction priorities and the detailed guideline and skill routing.


All versions of agent-guidelines with dependencies

PHP Build Version
Package Version
Requires laravel/boost Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package maarsson/agent-guidelines contains the following files

Loading the files please wait ...