Hello, AI assistant!
This file is your guide to understanding and working with the base
repository.
Please read it carefully before making any changes.
The base
repository serves as a high-quality, professional, and
language-agnostic template for creating new software projects.
Its core principles are:
base
template itself should not be tied to any
specific programming language.
The included Docker environment is based on Ubuntu and NGINX to be as
generic as possible./docs
directory.
The goal is to leave no part of the repository unexplained.CONTRIBUTING.md
or LICENSE
, the
template provides sensible defaults and guides the end-user on how to
customize them, rather than enforcing a single choice.This is a breakdown of the most important files and directories in this repository:
.github/
: Contains all GitHub-specific configurations.
workflows/
: Houses the GitHub Actions workflows.
ci.yml
: Lints configuration files for
syntax and style.pages.yml
: Deploys the documentation
to GitHub Pages.release-on-tag.yml
:
Automates the creation of GitHub Releases from a git tag.ISSUE_TEMPLATE/
&
PULL_REQUEST_TEMPLATE.md
:
Templates for contributors.RELEASE_TITLE.txt
&
RELEASE_BODY.md
: User-editable files for
customizing release notes.SECURITY.md
: A template for the user’s
security policy.docs/
: Contains all documentation for the project. The documentation is organized into namespaces.
docs/README.md
: The main entry point for documentation, which serves as a Table of Contents.docs/<namespace>.md
: Each namespace has a top-level index file (e.g., docs/ai.md
) that provides an overview and links to all the sub-pages within that namespace.docs/<namespace>.<topic>.md
: Individual documentation pages for specific topics within a namespace.docker/
: Contains the development environment.
Dockerfile
: Builds a generic Ubuntu + NGINX
environment.nginx.conf
&
html/index.html
: A simple web server that
acts as a health check..devcontainer/
: Configuration for GitHub
Codespaces, making it easy to spin up the development environment in the
cloud.
AGENTS.md
: This file!README.md
: The main entry point, which links to the
documentation.CONTRIBUTING.md
,
CODE_OF_CONDUCT.md
, LICENSE
:
Standard community files, designed as templates for the end-user..gitignore
, .editorconfig
,
.gitattributes
, .prettierrc
:
Configuration files for git and code styling.docker-compose.yml
: Used to build and run the
Docker-based development environment._config.yml
: Configuration for the Jekyll build for
GitHub Pages.docs/
directory.
All documentation must follow these rules:
docs/README.md
: [base](../README.md) > docs
docs/ai.md
: [base](../README.md) > [docs](/base/) > ai
docs/ai.prompting.md
: [base](../../README.md) > [docs](../README.md) > [ai](./ai.md) > Prompting AI Agents
in-dev
Namespace: Any documentation that is a work-in-progress or
not ready for general use should be placed in the in-dev
namespace
(e.g., docs/in-dev.my-draft.md
). Files in this namespace are
automatically excluded from all Tables of Contents.in-dev
documentation file,
you must add a link to it in two places:
docs/README.md
, under the appropriate
namespace heading.docs/<namespace>.md
.read_file
or ls
to confirm your changes were applied
correctly before marking a step as complete.Thank you for your help in maintaining and improving this repository!
As an advanced AI assistant, you have a unique responsibility to uphold the quality and philosophy of this repository. The following guidelines are tailored to you.
AGENTS.md
) and the main README.md
in
their entirety.docs/
that you will update.
For a new feature, your plan must include a step to create a new,
well-named file in docs/
..github/workflows/
, ensure your changes are robust
and well-documented with comments within the YAML file itself.ci.yml
workflow that lints common
configuration files.
If you modify files like docker-compose.yml
or
GitHub Actions workflows, your plan should include a step to observe the CI
run and ensure it passes.docker/Dockerfile
or docker-compose.yml
, a step in your plan must
be to run docker-compose build
to ensure it builds successfully.npx prettier --write .
to ensure all files are formatted correctly.request_code_review()
before
submitting any change.