Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
# Module name
<!--
Copy this into the root README.md, under the right tier
(Beginner, Intermediate, or Advanced modules). Also add a row
for the module to the "Projects by difficulty" table and a
link in the table of contents. Modules don't have their own README.
-->

[← AI Engineer](../README.md)
### Module name

## What
🟢 Beginner · `Tutorial` · [`module-name/`](./module-name)

One or two sentences. Say what the module builds and why it is useful.

| Path | What it shows |
| :--- | :--- |
| `path/to/file.py` | What this file does |

## Run
**Run**

```bash
cd module-name
Expand All @@ -20,11 +25,7 @@ uv run python path/to/file.py

State the exact commands. A reader must run them from a clean clone.

## Article

Coming soon.

## Depends on
**Depends on**

- Services the module needs, for example Redis on `localhost:6379`.
- API keys the module reads, by name only.
Expand Down
5 changes: 2 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
## Checklist

- [ ] The change touches one module, or one topic.
- [ ] The run steps in the module README work from a clean clone.
- [ ] A new module has a `README.md` with What, Run, Article, and Depends on.
- [ ] A new module is in the root `README.md`, in the right tier, with a type tag.
- [ ] The module's run steps in the root `README.md` work from a clean clone.
- [ ] A new module has a section in the root `README.md` (from `.github/MODULE_SECTION_TEMPLATE.md`) and a row in the Projects by difficulty table. No README inside the module folder.
- [ ] No secrets are in the diff. `.env` is not committed. `.env.example` has names only.
17 changes: 8 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Contributing

Thanks for helping. This repo is a set of runnable AI engineering modules. Each top-level folder is one module.
Thanks for helping. This repo is a set of runnable AI engineering modules. Each top-level folder is one module. All documentation lives in the root `README.md`; modules don't have their own README files.

## Ways to help

- Fix a bug or a broken run step in a module.
- Improve a module README.
- Improve a module's section in the root `README.md`.
- Add a new module.
- Report a problem with an [issue](../../issues/new/choose).

Expand All @@ -21,13 +21,12 @@ For a new module, open a **Module proposal** issue first. This avoids work on a
## Add a module

1. Create one new top-level folder. Use lowercase words with hyphens, for example `vector-search-basics`.
2. Add a `README.md`. Copy [`.github/MODULE_README_TEMPLATE.md`](.github/MODULE_README_TEMPLATE.md). It has four sections: **What**, **Run**, **Article**, **Depends on**.
3. Make the run steps work from a clean clone. Test them before you open the PR.
4. Add a `.env.example` if the module reads a `.env`. List variable names only.
5. Add the module to the root `README.md`:
- Put it in the right tier: Beginner, Intermediate, or Advanced.
- Put it under the right topic heading.
- Use this line format: `- [**Name**](./folder) · \`Type\` - description`.
2. Make the run steps work from a clean clone. Test them before you open the PR.
3. Add a `.env.example` if the module reads a `.env`. List variable names only.
4. Document the module in the root `README.md`. Don't add a `README.md` inside the module folder.
- Copy [`.github/MODULE_SECTION_TEMPLATE.md`](.github/MODULE_SECTION_TEMPLATE.md) under the right tier: Beginner, Intermediate, or Advanced modules.
- Add a row to the **Projects by difficulty** table with the tier, type tag, topic, and folder.
- Add the section to the table of contents.

### Type tags

Expand Down
Loading
Loading