alignfirst 0.2.0 → 0.2.1
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.
- package/README.md +52 -55
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,56 +1,10 @@
|
|
|
1
1
|
# alignfirst
|
|
2
2
|
|
|
3
|
-
The AlignFirst CLI provides collaborative software-development workflows, work files, and documentation discovery. Work files are organized by ticket and kept either git-ignored in the project or synchronized through a team repository.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
Install it globally:
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
npm install -g alignfirst
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Or run the current version without installing it:
|
|
14
|
-
|
|
15
|
-
```sh
|
|
16
|
-
npx alignfirst
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Setup with your agent
|
|
20
|
-
|
|
21
|
-
Temporarily install the setup-guide skill:
|
|
22
|
-
|
|
23
|
-
```sh
|
|
24
|
-
npx skills add https://github.com/paleo/alignfirst --skill alignfirst-setup-guide
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Then ask your agent:
|
|
28
|
-
|
|
29
|
-
```text
|
|
30
|
-
Use your alignfirst-setup-guide skill. Set up AlignFirst in this project. Ask before installing anything globally.
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
The guide installs the selected components and configures the repository. Remove the setup-guide skill when setup is complete.
|
|
34
|
-
|
|
35
|
-
## Commands
|
|
36
|
-
|
|
37
|
-
- `guide` — Print an AlignFirst protocol.
|
|
38
|
-
- `ticket` — Resolve a ticket directory, load its history, or get its next file.
|
|
39
|
-
- `sync` — Synchronize shared plans.
|
|
40
|
-
- `plans` — Set up, check and archive plans.
|
|
41
|
-
- `docmap` — Browse project documentation.
|
|
42
|
-
- `conventions` — Print the effective project conventions.
|
|
43
|
-
- `context` — Print the conventions, the documentation map when `docs/` exists, and the protocol aliases.
|
|
44
|
-
- `config` — Report the effective project configuration.
|
|
45
|
-
- `doctor` — Diagnose an AlignFirst setup.
|
|
46
|
-
|
|
47
|
-
Run `alignfirst --help` for command usage or `alignfirst guide` to choose a protocol. `alignfirst guide <protocol>` prints the selected protocol followed by the ticket directory and work file rules. Add `--protocol-only` when those rules are already in context.
|
|
3
|
+
The AlignFirst CLI provides collaborative software-development workflows, work files, and documentation discovery. Work files are organized by ticket and kept either git-ignored in the project or synchronized through a team plans repository.
|
|
48
4
|
|
|
49
5
|
## Agent skills
|
|
50
6
|
|
|
51
|
-
Nine
|
|
52
|
-
|
|
53
|
-
Install them globally:
|
|
7
|
+
Nine Agent Skill stubs expose the CLI as commands in Claude Code, Codex, GitHub Copilot, and Cursor. Install them globally:
|
|
54
8
|
|
|
55
9
|
```sh
|
|
56
10
|
npx skills add https://github.com/paleo/alignfirst --global \
|
|
@@ -65,7 +19,13 @@ Install the `alignfirst` skill when a project's `AGENTS.md` does not run `npx al
|
|
|
65
19
|
npx skills add https://github.com/paleo/alignfirst --global --skill alignfirst
|
|
66
20
|
```
|
|
67
21
|
|
|
68
|
-
|
|
22
|
+
The skills run the CLI through `npx`, so installing it is optional.
|
|
23
|
+
|
|
24
|
+
### Update the agent skills
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
npx skills update --global
|
|
28
|
+
```
|
|
69
29
|
|
|
70
30
|
## Workflows
|
|
71
31
|
|
|
@@ -87,17 +47,54 @@ To implement a plan, start a fresh agent context and ask it to execute the plan
|
|
|
87
47
|
|
|
88
48
|
AlignFirst stores specifications, plans, and summaries in `.plans/<ticket-id>/`. It normally derives the ticket ID from the request or branch and asks when none is available. Files use a cycle letter and sequence number, such as `A1-spec.md` and `A2-plan.md`.
|
|
89
49
|
|
|
90
|
-
##
|
|
50
|
+
## Global CLI
|
|
51
|
+
|
|
52
|
+
To type `alignfirst` instead of `npx alignfirst`, install the CLI globally:
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
npm install -g alignfirst
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Update the global CLI
|
|
91
59
|
|
|
92
|
-
|
|
60
|
+
```sh
|
|
61
|
+
npm update -g alignfirst
|
|
62
|
+
```
|
|
93
63
|
|
|
94
|
-
##
|
|
64
|
+
## Set up a project (with your agent)
|
|
65
|
+
|
|
66
|
+
Temporarily install the setup-guide skill:
|
|
95
67
|
|
|
96
68
|
```sh
|
|
97
|
-
|
|
98
|
-
|
|
69
|
+
npx skills add https://github.com/paleo/alignfirst --skill alignfirst-setup-guide
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Then ask your agent:
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
Use your alignfirst-setup-guide skill. What AlignFirst tooling could we add in this project?
|
|
99
76
|
```
|
|
100
77
|
|
|
78
|
+
The guide installs the selected components and configures the repository. You can remove the setup-guide skill once setup is complete.
|
|
79
|
+
|
|
80
|
+
## CLI commands
|
|
81
|
+
|
|
82
|
+
- `guide` — Print an AlignFirst protocol.
|
|
83
|
+
- `ticket` — Resolve a ticket directory, load its history, or get its next file.
|
|
84
|
+
- `sync` — Synchronize shared plans.
|
|
85
|
+
- `plans` — Set up, check and archive plans.
|
|
86
|
+
- `docmap` — Browse project documentation.
|
|
87
|
+
- `conventions` — Print the effective project conventions.
|
|
88
|
+
- `context` — Print the conventions, the documentation map when `docs/` exists, and the protocol aliases.
|
|
89
|
+
- `config` — Report the effective project configuration.
|
|
90
|
+
- `doctor` — Diagnose an AlignFirst setup.
|
|
91
|
+
|
|
92
|
+
Run `alignfirst --help` for command usage or `alignfirst guide` to choose a protocol. `alignfirst guide <protocol>` prints the selected protocol followed by the ticket directory and work file rules. Add `--protocol-only` when those rules are already in context.
|
|
93
|
+
|
|
94
|
+
### Catchup output
|
|
95
|
+
|
|
96
|
+
`alignfirst ticket [<id>] --catchup` prints the ticket's Markdown files, plans excluded.
|
|
97
|
+
|
|
101
98
|
## Upgrade from v1, v2, or v3
|
|
102
99
|
|
|
103
100
|
Install the setup-guide skill and ask your agent to run its upgrade route:
|
|
@@ -110,7 +107,7 @@ npx skills add https://github.com/paleo/alignfirst --skill alignfirst-setup-guid
|
|
|
110
107
|
Use your alignfirst-setup-guide skill. Upgrade AlignFirst in this project.
|
|
111
108
|
```
|
|
112
109
|
|
|
113
|
-
|
|
110
|
+
You can remove the setup-guide skill once the upgrade is complete.
|
|
114
111
|
|
|
115
112
|
## License
|
|
116
113
|
|