@alexandrealvaro/agentic 0.9.1-beta.1 → 0.9.3-beta.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 +2 -0
- package/WORKFLOW.md +5 -1
- package/package.json +1 -1
- package/src/lib/install.js +20 -3
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
A starter kit for engineering production code with LLMs. Lean templates and init prompts grounded in established standards: [Anthropic Skills](https://code.claude.com/docs/en/skills), [Claude Code subagents](https://code.claude.com/docs/en/sub-agents), [agents.md](https://agents.md), Nygard ADRs, [GitHub Spec Kit](https://github.com/github/spec-kit), and [Google Labs DESIGN.md](https://github.com/google-labs-code/design.md).
|
|
4
4
|
|
|
5
|
+
**The framing.** An LLM is the super-soldier serum; the engineer is Steve Rogers. The serum amplifies what the engineer already brings — solid bases, investigation, care for quality, architecture, clean code, observability, maintainability. The kit encodes those bases as skills, ADRs, and gates so the amplification compounds in the right direction. See [WORKFLOW.md](WORKFLOW.md) for the principles.
|
|
6
|
+
|
|
5
7
|
The CLI installs nine universal skills (`agentic-bootstrap`, `agentic-philosophy`, `agentic-architecture`, `agentic-adr`, `agentic-spec`, `agentic-task`, `agentic-audit`, `agentic-review`, `agentic-ground`) plus three conditional ones (`agentic-design` for frontend, `agentic-subagent` for Claude Code, `agentic-skill` opt-in) into the agent's native location. Each skill produces its artifact or runs its operation via the agent's native conversational UI; `agentic update` keeps installed skills in sync with upstream kit changes via a state-aware three-way diff. Report rough edges via [GitHub Issues](https://github.com/alexandremendoncaalvaro/agentic-development/issues); current releases live under [GitHub Releases](https://github.com/alexandremendoncaalvaro/agentic-development/releases).
|
|
6
8
|
|
|
7
9
|
## Prerequisites
|
package/WORKFLOW.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Engineering production code with LLMs. Agentic, not vibe coding.
|
|
4
4
|
|
|
5
|
+
**The Steve Rogers framing.** The LLM is the super-soldier serum. The engineer is Steve Rogers. The serum amplifies what the engineer already brings — solid bases, organization, investigation, care for quality, architecture, clean code, documentation, observability, maintainability. Add the serum to a disciplined engineer and you get Captain America. Add it to an undisciplined one and you get faster sloppy at scale. This document is those bases written down as principles. The discipline is the input; the LLM is the amplifier; the kit (skills, ADRs, audits, gates) is the scaffolding that keeps the discipline intact across sessions, agents, and projects.
|
|
6
|
+
|
|
5
7
|
**The principle behind the rest:** context engineering beats prompt engineering. Context is finite and decays as it fills — aim for the smallest set of high-signal tokens that gets the outcome.
|
|
6
8
|
|
|
7
9
|
## TL;DR
|
|
@@ -25,7 +27,7 @@ What to keep in mind:
|
|
|
25
27
|
13. **Automation needs rails.** Hooks, tests, lint, CI, sandboxing, and permissions matter more than advisory text the agent can forget.
|
|
26
28
|
14. **Autonomy requires observability.** If the agent makes decisions, log the trajectory: tool calls, intermediate outputs, failures.
|
|
27
29
|
15. **Staged spikes when the technique is uncertain.** When the *how* is unknown — a library choice, a CV technique, a multi-stage transformation — break the problem into staged spikes against golden fixtures with per-stage debug artifacts.
|
|
28
|
-
16. **Discipline scales with project maturity.** Same principles bind every project; the artifact set scales. A spike runs posture + research + audit; a regulated product adds spec / ADR / hooks / evals.
|
|
30
|
+
16. **Discipline scales with project maturity.** Same principles bind every project; the artifact set scales. A spike runs posture + research + audit; a regulated product adds spec / ADR / hooks / evals. Add ceremony only where it changes agent behavior; configure at init and reconfigure as the project matures.
|
|
29
31
|
|
|
30
32
|
> Working with agents means trading typing for technical direction. The value is in giving the right context, setting boundaries, validating the result, and keeping "almost right" out of production.
|
|
31
33
|
|
|
@@ -168,6 +170,8 @@ Two 2025 industry surveys point at the same wall. JetBrains' DevEcosystem 2025 r
|
|
|
168
170
|
|
|
169
171
|
The takeaway: §10 (Reviewer) and §11 (Quality Gates) are not optional. Skipping them is where bug density grows.
|
|
170
172
|
|
|
173
|
+
Per the Steve Rogers framing in the preamble: the serum cannot manufacture discrimination — it amplifies whatever discrimination the engineer already brings. The kit's job is to encode discrimination into the agent's context (specs, ADRs, fresh-context reviews, deterministic gates) so the amplification compounds in the disciplined direction even when the engineer is sleepy, rushed, or handing off to another collaborator.
|
|
174
|
+
|
|
171
175
|
## 13. Evals for Anything Autonomous
|
|
172
176
|
|
|
173
177
|
If your agent is making decisions on its own, you need evals. A few principles:
|
package/package.json
CHANGED
package/src/lib/install.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
unlinkSync,
|
|
11
11
|
} from 'node:fs';
|
|
12
12
|
import { fileURLToPath } from 'node:url';
|
|
13
|
-
import { basename, dirname, join, relative } from 'node:path';
|
|
13
|
+
import { basename, dirname, join, relative, sep as PATH_SEP } from 'node:path';
|
|
14
14
|
import { SCHEMA_VERSION } from './state.js';
|
|
15
15
|
|
|
16
16
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
@@ -18,6 +18,17 @@ const KIT_ROOT = join(__dirname, '..', '..');
|
|
|
18
18
|
|
|
19
19
|
const MANIFEST_FILE = 'manifest.json';
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Normalize a filesystem path to forward-slash form so internal
|
|
23
|
+
* comparisons (manifest subagent declarations, state-file paths, action
|
|
24
|
+
* report paths) are platform-independent. Manifests and state files are
|
|
25
|
+
* authored with `/`; on Windows, native `path.join` and `path.relative`
|
|
26
|
+
* produce `\\`, which breaks Set/Map lookups against the canonical form.
|
|
27
|
+
*/
|
|
28
|
+
function toPosix(p) {
|
|
29
|
+
return PATH_SEP === '/' ? p : p.split(PATH_SEP).join('/');
|
|
30
|
+
}
|
|
31
|
+
|
|
21
32
|
const AGENT_LAYOUT = {
|
|
22
33
|
'claude-code': {
|
|
23
34
|
skillsDir: '.claude/skills',
|
|
@@ -45,7 +56,10 @@ function walkSkill(srcRoot) {
|
|
|
45
56
|
if (statSync(abs).isDirectory()) {
|
|
46
57
|
walk(abs, rel);
|
|
47
58
|
} else {
|
|
48
|
-
|
|
59
|
+
// `rel` is the manifest-comparable path; force posix form so
|
|
60
|
+
// Windows backslashes do not break Set/Map lookups against
|
|
61
|
+
// forward-slash declarations in manifest.json.
|
|
62
|
+
out.push({ src: abs, rel: toPosix(rel) });
|
|
49
63
|
}
|
|
50
64
|
}
|
|
51
65
|
}
|
|
@@ -200,7 +214,10 @@ export async function installSkills({
|
|
|
200
214
|
|
|
201
215
|
const target = targetForRel(rel, layout, targetRoot, cwd, subagentSet);
|
|
202
216
|
if (!target) continue;
|
|
203
|
-
|
|
217
|
+
// Force posix form so the path is identical across platforms in
|
|
218
|
+
// the action log and in the per-agent state file. Windows users
|
|
219
|
+
// sharing a state file with macOS / Linux teammates depend on it.
|
|
220
|
+
const relForReport = toPosix(relative(cwd, target));
|
|
204
221
|
const prevSha = prevByPath.has(relForReport)
|
|
205
222
|
? prevByPath.get(relForReport)
|
|
206
223
|
: null;
|