Skip to content

Commit 0eb336e

Browse files
committed
docs: redesign README with shields, audience sections, and clearer project description
1 parent 87e8068 commit 0eb336e

1 file changed

Lines changed: 81 additions & 34 deletions

File tree

README.md

Lines changed: 81 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,102 @@
11
<div align="center">
2-
<img src="docs/assets/banner.svg" alt="smith — Clone AI agent configurations into any project" width="800">
2+
3+
<img src="docs/assets/banner.svg" alt="agents-smith" width="100%"/>
4+
5+
<br/><br/>
6+
7+
[![Contributors][contributors-shield]][contributors-url]
8+
[![Forks][forks-shield]][forks-url]
9+
[![Stargazers][stars-shield]][stars-url]
10+
[![Issues][issues-shield]][issues-url]
11+
[![MIT License][license-shield]][license-url]
12+
[![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen?style=for-the-badge)](https://nullhack.github.io/agents-smith/coverage/)
13+
[![CI](https://img.shields.io/github/actions/workflow/status/nullhack/agents-smith/ci.yml?style=for-the-badge&label=CI)](https://github.com/nullhack/agents-smith/actions/workflows/ci.yml)
14+
[![Python](https://img.shields.io/badge/python-%E2%89%A513.0-blue?style=for-the-badge)](https://www.python.org/downloads/)
15+
[![PyPI](https://img.shields.io/pypi/v/agents-smith?color=%2300FF41&style=for-the-badge)](https://pypi.org/project/agents-smith/)
16+
17+
**One command to clone AI agent configurations into any project. One command to purge them.**
18+
319
</div>
420

5-
<br>
21+
---
22+
23+
You have used AI coding assistants. You have copied `.opencode/`, `.flowr/`, `AGENTS.md`, and `.templates/` into projects by hand — or asked your team to do the same, over and over, across every repository. Files drift out of sync. Versions scatter. Onboarding a new repo means ten minutes of manual file wrangling before the first prompt.
624

7-
<p align="center">
8-
<strong>Clone AI agent configurations into any project.</strong><br>
9-
<code>smith clone</code> fetches AGENTS.md, .opencode/, .flowr/, .templates/ from any source.<br>
10-
<code>smith purge</code> removes them cleanly. No leftovers.
11-
</p>
25+
**smith enters a project, copies its patterns, and returns something more capable than what it found.**
1226

13-
<p align="center">
14-
<a href="https://pypi.org/project/agents-smith/"><img src="https://img.shields.io/pypi/v/agents-smith?color=%2300FF41&label=pypi&style=flat-square" alt="PyPI"></a>
15-
<a href="https://github.com/nullhack/agents-smith/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-%2300FF41?style=flat-square" alt="License"></a>
16-
<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-%E2%89%A513.0-%2300FF41?style=flat-square" alt="Python"></a>
17-
</p>
27+
Two commands. No configuration files in your project. No framework overhead. No leftover files after removal.
1828

1929
---
2030

21-
## Install
31+
## Who is this for?
2232

23-
```bash
24-
pip install agents-smith
25-
```
33+
### Developers — Stop copying AI config files between projects
2634

27-
## Quick start
35+
You set up opencode, flowr, and agent templates in one project. Then you do it again. And again. `smith clone` pulls the exact same configuration from any GitHub repo, local directory, or URL into your project in one step. `smith purge` removes every file and every gitignore entry — no orphans, no stale references.
2836

29-
```bash
30-
# Clone the default template (temple8) into your project
31-
smith clone
37+
### Teams — Consistent agent configurations across every repository
38+
39+
Every team member runs the same `smith clone` command and gets the same AGENTS.md, the same .opencode agents, the same .flowr workflows. No "it works on my machine." When the template updates, clone again with `--overwrite`. When a project no longer needs agentic tooling, `smith purge` and move on.
40+
41+
---
3242

33-
# Purge all smith-managed files when you're done
34-
smith purge
43+
## What it does
44+
45+
```
46+
smith clone → fetches AGENTS.md, .opencode/, .flowr/, .templates/ into your project
47+
smith purge → removes every smith-managed file and directory
3548
```
3649

37-
That's it. AGENTS.md, .opencode/, .flowr/, and .templates/ appear in your project, tracked in .gitignore. When you're done, `smith purge` removes every file and directory — no orphan files, no stale .gitignore entries.
50+
**Safety boundary.** Only files matching allowed topics are ever written — regardless of what the source archive contains. Your project never receives arbitrary files.
3851

39-
## Source resolution
52+
**Clean removal.** Purge reads the managed section in `.gitignore` and deletes exactly what is listed there. The section itself is preserved so you can clone again later.
53+
54+
**Source resolution.** Three ways to specify where templates come from:
4055

4156
| Priority | Source | Example |
4257
|----------|--------|---------|
4358
| 1 — CLI flag | `--source` | `smith clone --source github:myorg/templates` |
4459
| 2 — Config | `[tool.smith] source` in pyproject.toml | `source = "github:myorg/templates"` |
4560
| 3 — Default | `github:nullhack/temple8` | Used when no flag or config is set |
4661

62+
---
63+
64+
## Quick start
65+
66+
```bash
67+
pip install agents-smith
68+
smith clone # default source (temple8)
69+
smith purge # remove everything
70+
```
71+
72+
That is it. Two commands. No setup, no config file, no framework.
73+
74+
---
75+
4776
## Commands
4877

4978
### `smith clone`
5079

51-
Fetches template files from a source, filters them by allowed topics, writes them to the project directory, and adds a managed section to .gitignore.
52-
5380
```bash
5481
smith clone # default source
5582
smith clone --source github:myorg/templates # GitHub shorthand
56-
smith clone --source /path/to/local/template # local directory
57-
smith clone --source https://example.com/t.zip # URL to archive
58-
smith clone --overwrite # replace existing files
83+
smith clone --source /path/to/local/template # local directory
84+
smith clone --source https://example.com/t.zip # URL to archive
85+
smith clone --overwrite # replace existing files
5986
```
6087

61-
**Safety:** Only files matching allowed topics (AGENTS.md, .opencode/, .flowr/, .templates/) are ever written. Existing files and directories are skipped unless `--overwrite` is passed.
88+
Fetches template files from a source, filters by allowed topics, writes them to the project directory, and adds a managed section to `.gitignore`. Existing files are skipped unless `--overwrite` is passed.
6289

6390
### `smith purge`
6491

65-
Reads the smith-managed section in .gitignore and deletes every file and directory listed there. The .gitignore section itself is preserved so you can clone again later.
66-
6792
```bash
6893
smith purge # removes all smith-managed files
6994
```
7095

96+
Reads the smith-managed section in `.gitignore` and deletes every file and directory listed there. The `.gitignore` section itself is preserved so you can clone again later.
97+
98+
---
99+
71100
## .gitignore section
72101

73102
```gitignore
@@ -81,6 +110,8 @@ AGENTS.md
81110

82111
Only items in this section are removed on purge. Edit it to control what smith manages.
83112

113+
---
114+
84115
## Architecture
85116

86117
```
@@ -90,8 +121,24 @@ smith/
90121
└── gitignore.py # Infrastructure — .gitignore section management
91122
```
92123

93-
Flat module structure. Two commands. No framework overhead. The allowed-topics list is a compile-time safety boundary — only agentic configuration files are ever written to your project, regardless of what the source archive contains.
124+
Flat module structure. Two commands. No framework overhead.
125+
126+
---
94127

95128
## License
96129

97-
MIT
130+
MIT — see [LICENSE](LICENSE).
131+
132+
**Author:** [@nullhack](https://github.com/nullhack) · [Documentation](https://nullhack.github.io/agents-smith)
133+
134+
<!-- MARKDOWN LINKS -->
135+
[contributors-shield]: https://img.shields.io/github/contributors/nullhack/agents-smith.svg?style=for-the-badge
136+
[contributors-url]: https://github.com/nullhack/agents-smith/graphs/contributors
137+
[forks-shield]: https://img.shields.io/github/forks/nullhack/agents-smith.svg?style=for-the-badge
138+
[forks-url]: https://github.com/nullhack/agents-smith/network/members
139+
[stars-shield]: https://img.shields.io/github/stars/nullhack/agents-smith.svg?style=for-the-badge
140+
[stars-url]: https://github.com/nullhack/agents-smith/stargazers
141+
[issues-shield]: https://img.shields.io/github/issues/nullhack/agents-smith.svg?style=for-the-badge
142+
[issues-url]: https://github.com/nullhack/agents-smith/issues
143+
[license-shield]: https://img.shields.io/badge/license-MIT-green?style=for-the-badge
144+
[license-url]: https://github.com/nullhack/agents-smith/blob/main/LICENSE

0 commit comments

Comments
 (0)