Skip to content

Commit cd38bec

Browse files
authored
docs: add info about Agent skills (#31)
* fix: typo in the workspace docs * add docs about agent skills
1 parent 3e765e7 commit cd38bec

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

‎docs/agents.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Agent skills
2+
3+
You will find Agent skills at the Python tools for the Polylith Architecture [GitHub page](https://github.com/DavidVujic/python-polylith).
4+
5+
The skills will show your agent how to use the Python tool, and will add knowledge about the Polylith Architecture in general.
6+
7+
This can be helpful for teams that practice _Agentic Engineering_. The agents will be able to determine how to use the CLI in general, create bricks, validate the workspace, getting information about the projects, interfaces and dependencies.
8+
9+
> :material-information: There's a tool called _library-skills_ (developed by the creator of FastAPI) that can extract any skills added by the installed libraries in a repo. You can add the Polylith skills to your Monorepo with that tool.
10+
11+
Example, using library-skills:
12+
```shell
13+
uvx library-skills
14+
```
15+
Or just copy the `.agents` folder from the Python tools for the Polylith Architecture GitHub page.

‎docs/workspace.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The combination of bricks becomes a feature. Very much like LEGO.
3636
The development directory is where you can put code that you write to experiment or try out features.
3737
It is similar to the __scratch__ files in JetBrains PyCharm!
3838

39-
The development directory is part of the _development project_, that is defined in the `pyproject.toml` and the `poetry.lock` file of the root directory.
39+
The development directory is part of the _development project_, that is defined in the `pyproject.toml` and the `lock` file of the root directory.
4040
Here, you add __all__ dependencies and bricks. This will make it possible to have the entire code-base available in one and the same virtual environment.
4141

4242
In this directory, it is quite common that developers keep their scratch-style Python modules. It is perfectly fine to version control them.

‎mkdocs.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ nav:
2020
- "Configuring your Python IDE": ide.md
2121
- "Tips & Tricks": tips.md
2222
- "About this Open Source Project": about.md
23+
- "Agent skills": agents.md
2324

2425
theme:
2526
features:

0 commit comments

Comments
 (0)