You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,9 +49,10 @@ repository:
49
49
-[`SECURITY.md`](./.github/SECURITY.md): A template for the user's
50
50
security policy.
51
51
52
-
-**[`docs/`](./docs/)**: Contains all documentation for the project.
53
-
Each major feature or component has its own corresponding `.md` file in this
54
-
directory.
52
+
-**[`docs/`](./docs/)**: Contains all documentation for the project. The documentation is organized into namespaces.
53
+
-**`docs/README.md`**: The main entry point for documentation, which serves as a Table of Contents.
54
+
-**`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.
55
+
-**`docs/<namespace>.<topic>.md`**: Individual documentation pages for specific topics within a namespace.
55
56
56
57
-**[`docker/`](./docker/)**: Contains the development environment.
57
58
-[`Dockerfile`](./docker/Dockerfile): Builds a generic Ubuntu + NGINX
@@ -88,7 +89,13 @@ repository:
88
89
-**Update Documentation:** If you change a feature, you **must** update its
89
90
corresponding documentation in the [`docs/`](./docs/) directory.
90
91
If you add a new feature, you **must** create a new documentation file for
91
-
it.
92
+
it, following the namespace and dual-TOC structure. This means:
93
+
1. Identify the correct namespace for your documentation (e.g., `development`, `workflows`).
94
+
2. Create a new file named `docs/<namespace>.<your-topic>.md`.
95
+
3. Add a link to your new file in **two** places:
96
+
- The main Table of Contents in `docs/README.md`, under the appropriate namespace heading.
97
+
- The namespace-specific index file, `docs/<namespace>.md`.
98
+
4. If you are creating a new namespace, you must also create a `docs/<namespace>.md` index file and link to it from the main `docs/README.md`.
92
99
-**Verify Your Work:** After creating or modifying a file, use a read-only
93
100
tool like `read_file` or `ls` to confirm your changes were applied
-[Documentation Best Practices](./documentation.best-practices.md) - How to write clear and effective documentation.
23
+
-[**CI Workflow**](./workflows.ci.md) (`ci.yml`) - Ensures code quality by running linting checks on every push and pull request to the `main` branch.
24
+
-[**GitHub Pages Deployment**](./workflows.pages.md) (`pages.yml`) - Builds and deploys the repository's content as a GitHub Pages website.
25
+
-[**Prettier Workflow**](./workflows.prettier.md) (`prettier.yml`) - Automatically formats the code in the repository using Prettier and commits the changes.
26
+
-[**Release on Tag**](./workflows.release-on-tag.md) (`release-on-tag.yml`) - Automates the creation of GitHub Releases when a new version tag is pushed.
27
+
-[**Secrets Management**](./workflows.secrets-management.md) - Best practices for managing secrets in GitHub Actions.
28
+
-[**Workflow Scheduling**](./workflows.scheduling.md) - Automating recurring tasks with cron.
36
29
37
-
## Guides
30
+
## Publishing Your Project
38
31
39
-
-[Software Project Guide](./guides.software-project.md) - Using this repo as a foundation for a software project.
32
+
-**[Publishing with Markdown](./publishing.markdown.md)** - This is the simplest way to get started.
33
+
-**[Advanced Publishing with HTML](./publishing.html.md)** - For those who need more control over their site's layout and appearance.
34
+
-**[Publishing with Magic Links](./publishing.magic-links.md)** - This guide explains a powerful feature for community-driven sites.
35
+
-**[GitHub Pages](./publishing.github-pages.md)** - This document provides more detail on how the underlying GitHub Pages service works.
40
36
41
37
## Updating
42
38
@@ -53,10 +49,17 @@ This directory contains the documentation for the `base` project.
53
49
-[Template Repo Guide](./project.template-repo.md) - Best practices for maintaining this template.
54
50
-[Versioning Guide](./project.versioning.md) - Professional release management.
55
51
56
-
## Publishing
52
+
## Community
57
53
58
-
-[Publishing Overview](./publishing.md) - An overview of the different ways to publish content.
59
-
-[Publishing with Markdown](./publishing.markdown.md) - The simplest way to create pages.
60
-
-[Advanced Publishing with HTML](./publishing.html.md) - For more control over layout and style.
61
-
-[Publishing with Magic Links](./publishing.magic-links.md) - Creating links that pre-fill new file content.
62
-
-[GitHub Pages](./publishing.github-pages.md) - How the underlying publishing system works.
54
+
-[Community Building Guide](./community.building.md) - Fostering a healthy and effective community.
55
+
-[Using GitHub Discussions](./community.discussions.md) - Leveraging Discussions for community conversations.
56
+
-[Issue Management Guide](./community.issue-management.md) - Best practices for triaging issues.
57
+
58
+
## AI
59
+
60
+
-[Guiding AI with `AGENTS.md`](./ai.agents-md.md) - Using `AGENTS.md` to provide instructions to AI agents.
61
+
-[Prompting AI Agents](./ai.prompting.md) - How to effectively prompt AI agents.
62
+
63
+
## Documentation Best Practices
64
+
65
+
-[Documentation Best Practices](./documentation.best-practices.md) - How to write clear and effective documentation.
This section contains documentation about updating the repository.
4
+
5
+
-[Adding `base` to an Existing Repo](./updating.adding-base-to-existing-repo.md) - How to merge `base` into a project that was not created from the template.
6
+
-[Syncing When `base` is Updated](./updating.syncing-your-repo-when-base-is-updated.md) - How to get the latest changes from `base` after you have already merged it.
0 commit comments