attogram/base
ProjectsWhen using AI agents to create or update a repository based on
attogram/base
, providing a clear, upfront context is the most effective way
to get the results you want.
This guide provides two distinct prompt examples to help you steer AI agents in
the right direction, whether you want to build upon the base
philosophy or
intentionally modify it.
base
As-IsThis prompt is ideal when you want to create a new project that adheres to the
core, language-agnostic philosophy of the attogram/base
template.
This project builds upon the attogram/base template.
Please integrate the new website content without removing the core base
repository files or structure.
The main homepage for the site is `README.md`, and all new content should be
linked from there.
You can create new directories for your content as needed, but please do not
modify the core `base` files and directories (such as `.github`, `docs`,
`docker`, etc.).
Please use the existing Jekyll setup for the site, which builds from the root
directory.
Do not install other static site generators like Eleventy.
Finally, please look for and follow any instructions in an `AGENTS.md` file,
as it may contain project-specific guidelines for AI agents.
base
for a New TechnologyThis prompt is for when you want to use attogram/base
as a starting point
but intend to introduce a specific programming language or framework.
This example uses PHP and Laravel.
This project will use `attogram/base` as a foundation, but we will be
modifying it to support a PHP/Laravel application.
Here are the requirements:
1. **Add PHP and Laravel:** Please modify the Docker environment to include
PHP and the necessary extensions for a Laravel application.
2. **Install Laravel:** Once the environment is updated, install a fresh copy
of the Laravel framework in a `/src` directory at the repository root.
3. **Update NGINX:** Configure the NGINX server to point to the `public`
directory of the Laravel application.
4. **Preserve Core Files:** Do not remove the existing GitHub Actions
workflows or the documentation in the `/docs` directory.
The goal is to integrate Laravel into the `base` template, not replace it.
5. **Check for `AGENTS.md`:** Please look for and follow any instructions in
an `AGENTS.md` file, as it may contain project-specific guidelines for AI
agents.
Providing a detailed, upfront prompt like the examples above is crucial for several reasons:
base
philosophy or to modify it, which is
the most critical distinction.