@uge/payo 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +68 -46
  3. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Uttam Gelot
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -9,7 +9,7 @@ coding assistant reads — so Claude, Cursor, Copilot, and friends follow _your_
9
9
  project's conventions instead of guessing.
10
10
 
11
11
  [![CI](https://github.com/uttam-gelot/payo/actions/workflows/ci.yml/badge.svg)](https://github.com/uttam-gelot/payo/actions/workflows/ci.yml)
12
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](#license)
12
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
13
13
  [![Bun](https://img.shields.io/badge/Bun-%3E%3D1.1.0-black?logo=bun)](https://bun.sh)
14
14
  [![Made with TypeScript](https://img.shields.io/badge/TypeScript-strict-3178c6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
15
15
 
@@ -17,6 +17,47 @@ project's conventions instead of guessing.
17
17
 
18
18
  ---
19
19
 
20
+ ## Contents
21
+
22
+ - [What is Payo?](#what-is-payo)
23
+ - [Who is this for?](#who-is-this-for)
24
+ - [Quick Start](#quick-start)
25
+ - [How to use — a walkthrough](#how-to-use--a-walkthrough)
26
+ - [What gets generated](#what-gets-generated)
27
+ - [What it asks about](#what-it-asks-about)
28
+ - [AI vs. template generation](#ai-vs-template-generation)
29
+ - [Bootstrap prompt](#bootstrap-prompt)
30
+ - [Resume anytime](#resume-anytime)
31
+ - [Requirements](#requirements)
32
+ - [Contributing](#contributing)
33
+ - [License](#license)
34
+
35
+ ## What is Payo?
36
+
37
+ AI coding assistants are only as good as the context they're given. Payo is an
38
+ interactive CLI that **interviews you about your project** — language, framework,
39
+ database, auth, testing, conventions — and then **generates the guidance files
40
+ your assistant actually reads.**
41
+
42
+ It supports **Claude, Cursor, GitHub Copilot, Codex, Windsurf, and Antigravity**.
43
+ Where the assistant ships a headless CLI, Payo drives that tool's own AI to
44
+ write rich, project-specific docs; where it doesn't, Payo falls back to solid
45
+ templates — so you always end up with usable output.
46
+
47
+ ## Who is this for?
48
+
49
+ - **Devs starting a new repo** who want their AI assistant productive from
50
+ commit #1, not after a dozen "actually, we do it this way" corrections.
51
+ - **Teams enforcing conventions** who need every contributor's assistant to
52
+ follow the same folder structure, naming, testing, and git rules.
53
+ - **Multi-tool users** who switch between Claude, Cursor, and Copilot and want
54
+ the _same_ project guidance expressed in each tool's native format.
55
+ - **Anyone bootstrapping a stack** they haven't wired up before — Payo encodes
56
+ sensible, framework-specific defaults and can scaffold a runnable project.
57
+
58
+ If you've ever pasted the same "here's how this project works" preamble into a
59
+ chat for the third time, Payo is for you.
60
+
20
61
  ## Quick Start
21
62
 
22
63
  No install required — run it in any project directory:
@@ -33,30 +74,28 @@ bunx @uge/payo
33
74
  Answer a short questionnaire about your stack, and Payo drops tailored AI
34
75
  guidance files straight into your repo.
35
76
 
36
- ## What is Payo?
37
-
38
- AI coding assistants are only as good as the context they're given. Payo is an
39
- interactive CLI that **interviews you about your project** — language, framework,
40
- database, auth, testing, conventions and then **generates the guidance files
41
- your assistant actually reads.**
42
-
43
- It supports **Claude, Cursor, GitHub Copilot, Codex, Windsurf, and Antigravity**.
44
- Where the assistant ships a headless CLI, Payo drives that tool's own AI to
45
- write rich, project-specific docs; where it doesn't, Payo falls back to solid
46
- templates so you always end up with usable output.
47
-
48
- ## How it works
49
-
50
- 1. **Answer the questionnaire.** A focused set of questions about your stack and
51
- conventions. Smart defaults mean you can accept recommendations and move fast.
52
- 2. **Payo generates the guidance.** It runs your AI tool's headless CLI in
53
- parallel to write tailored rules/skills — or writes static templates if the
54
- CLI isn't available.
55
- 3. **(Optional) Get a bootstrap prompt.** Payo can write a paste-ready
77
+ ## How to use — a walkthrough
78
+
79
+ 1. **Run Payo from your project root.** `npx @uge/payo` it writes into the
80
+ current directory, so `cd` into the repo first.
81
+ 2. **Answer the questionnaire.** Pick your AI tool, project type, language,
82
+ framework, and so on. Questions **adapt to your answers** choose Next.js
83
+ and you get Next.js-specific follow-ups; choose Postgres and you're asked
84
+ about migrations and naming. Most prompts ship a **recommended default**, so
85
+ you can blast through with <kbd>Enter</kbd>.
86
+ 3. **Review your stack.** Before writing anything, Payo shows a summary of every
87
+ answer and asks you to confirm. Say no and your answers are kept — rerun to
88
+ edit them.
89
+ 4. **Payo generates the guidance.** It writes each tool's files in their native
90
+ format and location (see the table below). With the tool's CLI installed,
91
+ files are generated in parallel by the AI; otherwise solid templates are used.
92
+ 5. **(Optional) Get a bootstrap prompt.** Payo offers to write a paste-ready
56
93
  `bootstrap-prompt.md` you hand to any LLM to scaffold a runnable project that
57
94
  honors the guidance it just generated.
95
+ 6. **Interrupted? Just rerun.** Progress lives under `.payo/`; Payo resumes and
96
+ only generates what's missing.
58
97
 
59
- ## Supported AI tools
98
+ ## What gets generated
60
99
 
61
100
  Each tool gets files in its own native format and location:
62
101
 
@@ -100,8 +139,8 @@ back to static templates.
100
139
 
101
140
  A few environment variables tune AI generation:
102
141
 
103
- | Variable | Default | Purpose |
104
- | -------------------------- | -------- | ------------------------------------ |
142
+ | Variable | Default | Purpose |
143
+ | ----------------------- | -------- | ------------------------------------ |
105
144
  | `PAYO_CONCURRENCY` | `4` | Max parallel agent subprocesses |
106
145
  | `PAYO_RETRIES` | `1` | Extra attempts after a failed run |
107
146
  | `PAYO_AGENT_TIMEOUT_MS` | `120000` | Wall-clock cap per file (ms) |
@@ -124,29 +163,12 @@ generating what's missing. Finished runs clean the directory up automatically.
124
163
 
125
164
  - [Bun](https://bun.sh) **>= 1.1.0**
126
165
 
127
- ## Development & Contributing
128
-
129
- Contributions are welcome.
130
-
131
- ```bash
132
- git clone https://github.com/uttam-gelot/payo.git
133
- cd payo
134
- bun install
135
- bun dev # run the CLI from source
136
- ```
137
-
138
- | Script | What it does |
139
- | ------------------- | ------------------------------------- |
140
- | `bun dev` | Run the CLI from source (no build) |
141
- | `bun run typecheck` | Type-check with `tsc --noEmit` |
142
- | `bun run lint` | Lint `src` and `tests` with ESLint |
143
- | `bun run format` | Format with Prettier |
144
- | `bun test` | Run the test suite |
145
- | `bun run build` | Bundle to `dist/` |
166
+ ## Contributing
146
167
 
147
- CI runs `typecheck`, `lint`, and `test` on every pull request please make sure
148
- they pass locally before opening one.
168
+ Contributions are welcome new frameworks, ORMs, AI tools, and fixes. See
169
+ **[CONTRIBUTING.md](CONTRIBUTING.md)** for setup, the project layout, how to add
170
+ a stack module, and the pre-PR checklist.
149
171
 
150
172
  ## License
151
173
 
152
- [MIT](#license)
174
+ [MIT](LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uge/payo",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "CLI tool to generate AI rules and skills for your project",
5
5
  "repository": {
6
6
  "type": "git",