@opendatacapture/instrument-guidelines 0.0.1 → 1.16.4
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 +5 -5
- package/package.json +14 -6
package/README.md
CHANGED
|
@@ -10,13 +10,13 @@ the full instrument specification and author instruments accordingly.
|
|
|
10
10
|
Install as a dev dependency:
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
|
|
13
|
+
pnpm add -D @opendatacapture/instrument-guidelines
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Link the guidelines into your project root:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
|
|
19
|
+
pnpm instrument-guidelines
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
This creates an `AGENTS.md` symlink pointing at the installed guidelines, so it always
|
|
@@ -34,12 +34,12 @@ reflects the version you have installed — updating the package updates the gui
|
|
|
34
34
|
Create both `AGENTS.md` and a `CLAUDE.md` (which Claude Code auto-loads):
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
|
|
37
|
+
pnpm instrument-guidelines --file AGENTS.md --file CLAUDE.md
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
> **Note:** Install the package first (as above) so the symlink targets the stable copy
|
|
41
|
-
> in `node_modules`. For a one-off run via `
|
|
42
|
-
> the ephemeral install location would otherwise leave a dangling link.
|
|
41
|
+
> in `node_modules`. For a one-off run via `pnpm dlx` without installing, use `--copy`,
|
|
42
|
+
> since the ephemeral install location would otherwise leave a dangling link.
|
|
43
43
|
|
|
44
44
|
## Pointing your agent at it
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendatacapture/instrument-guidelines",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "1.16.4",
|
|
5
5
|
"description": "Guidelines for authoring Open Data Capture instruments, intended to be read by an AI agent (e.g. Claude Code).",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/DouglasNeuroInformatics/OpenDataCapture.git",
|
|
13
|
+
"directory": "packages/instrument-guidelines"
|
|
14
|
+
},
|
|
6
15
|
"keywords": [
|
|
7
16
|
"opendatacapture",
|
|
8
17
|
"instrument",
|
|
@@ -10,7 +19,10 @@
|
|
|
10
19
|
"guidelines",
|
|
11
20
|
"claude"
|
|
12
21
|
],
|
|
13
|
-
"
|
|
22
|
+
"exports": {
|
|
23
|
+
"./AGENTS.md": "./AGENTS.md",
|
|
24
|
+
"./package.json": "./package.json"
|
|
25
|
+
},
|
|
14
26
|
"bin": {
|
|
15
27
|
"instrument-guidelines": "./bin/cli.mjs"
|
|
16
28
|
},
|
|
@@ -18,10 +30,6 @@
|
|
|
18
30
|
"bin",
|
|
19
31
|
"AGENTS.md"
|
|
20
32
|
],
|
|
21
|
-
"exports": {
|
|
22
|
-
"./AGENTS.md": "./AGENTS.md",
|
|
23
|
-
"./package.json": "./package.json"
|
|
24
|
-
},
|
|
25
33
|
"scripts": {
|
|
26
34
|
"format": "prettier --write bin",
|
|
27
35
|
"lint": "eslint --fix bin"
|