sdtk-ops-kit 0.2.0

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 (51) hide show
  1. package/README.md +146 -0
  2. package/assets/manifest/toolkit-bundle.manifest.json +187 -0
  3. package/assets/manifest/toolkit-bundle.sha256.txt +36 -0
  4. package/assets/toolkit/toolkit/AGENTS.md +65 -0
  5. package/assets/toolkit/toolkit/SDTKOPS_TOOLKIT.md +166 -0
  6. package/assets/toolkit/toolkit/install.ps1 +138 -0
  7. package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +81 -0
  8. package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +127 -0
  9. package/assets/toolkit/toolkit/scripts/uninstall-claude-skills.ps1 +65 -0
  10. package/assets/toolkit/toolkit/scripts/uninstall-codex-skills.ps1 +53 -0
  11. package/assets/toolkit/toolkit/sdtk-spec.config.json +6 -0
  12. package/assets/toolkit/toolkit/sdtk-spec.config.profiles.example.json +12 -0
  13. package/assets/toolkit/toolkit/skills/ops-backup/SKILL.md +93 -0
  14. package/assets/toolkit/toolkit/skills/ops-backup/references/backup-script-patterns.md +108 -0
  15. package/assets/toolkit/toolkit/skills/ops-ci-cd/SKILL.md +88 -0
  16. package/assets/toolkit/toolkit/skills/ops-ci-cd/references/pipeline-examples.md +113 -0
  17. package/assets/toolkit/toolkit/skills/ops-compliance/SKILL.md +105 -0
  18. package/assets/toolkit/toolkit/skills/ops-container/SKILL.md +95 -0
  19. package/assets/toolkit/toolkit/skills/ops-container/references/k8s-manifest-patterns.md +116 -0
  20. package/assets/toolkit/toolkit/skills/ops-cost/SKILL.md +88 -0
  21. package/assets/toolkit/toolkit/skills/ops-debug/SKILL.md +311 -0
  22. package/assets/toolkit/toolkit/skills/ops-debug/references/root-cause-tracing.md +138 -0
  23. package/assets/toolkit/toolkit/skills/ops-deploy/SKILL.md +102 -0
  24. package/assets/toolkit/toolkit/skills/ops-discover/SKILL.md +102 -0
  25. package/assets/toolkit/toolkit/skills/ops-incident/SKILL.md +113 -0
  26. package/assets/toolkit/toolkit/skills/ops-incident/references/communication-templates.md +34 -0
  27. package/assets/toolkit/toolkit/skills/ops-incident/references/postmortem-template.md +69 -0
  28. package/assets/toolkit/toolkit/skills/ops-incident/references/runbook-template.md +69 -0
  29. package/assets/toolkit/toolkit/skills/ops-infra-plan/SKILL.md +123 -0
  30. package/assets/toolkit/toolkit/skills/ops-infra-plan/references/iac-patterns.md +141 -0
  31. package/assets/toolkit/toolkit/skills/ops-monitor/SKILL.md +110 -0
  32. package/assets/toolkit/toolkit/skills/ops-monitor/references/alert-rules.md +80 -0
  33. package/assets/toolkit/toolkit/skills/ops-monitor/references/slo-templates.md +83 -0
  34. package/assets/toolkit/toolkit/skills/ops-parallel/SKILL.md +177 -0
  35. package/assets/toolkit/toolkit/skills/ops-plan/SKILL.md +169 -0
  36. package/assets/toolkit/toolkit/skills/ops-security-infra/SKILL.md +126 -0
  37. package/assets/toolkit/toolkit/skills/ops-security-infra/references/cicd-security-pipeline.md +55 -0
  38. package/assets/toolkit/toolkit/skills/ops-security-infra/references/security-headers.md +24 -0
  39. package/assets/toolkit/toolkit/skills/ops-verify/SKILL.md +180 -0
  40. package/bin/sdtk-ops.js +14 -0
  41. package/package.json +46 -0
  42. package/src/commands/generate.js +12 -0
  43. package/src/commands/help.js +53 -0
  44. package/src/commands/init.js +86 -0
  45. package/src/commands/runtime.js +201 -0
  46. package/src/index.js +65 -0
  47. package/src/lib/args.js +107 -0
  48. package/src/lib/errors.js +41 -0
  49. package/src/lib/powershell.js +65 -0
  50. package/src/lib/scope.js +58 -0
  51. package/src/lib/toolkit-payload.js +123 -0
package/README.md ADDED
@@ -0,0 +1,146 @@
1
+ # sdtk-ops-kit
2
+
3
+ > Skill-driven operations toolkit for deployment, verification, monitoring, incident response, backup or recovery, security, compliance, and cost discipline.
4
+
5
+ ## Package
6
+
7
+ - Package: `sdtk-ops-kit`
8
+ - CLI: `sdtk-ops`
9
+ - First public version target: `0.2.0`
10
+
11
+ Current document state:
12
+ - first public package contract in preparation
13
+ - use the install command below once the first public release is actually published
14
+
15
+ ## Target Public Install
16
+
17
+ ```bash
18
+ npm install -g sdtk-ops-kit@0.2.0
19
+ ```
20
+
21
+ Then verify the installed command:
22
+
23
+ ```bash
24
+ sdtk-ops --version
25
+ sdtk-ops --help
26
+ ```
27
+
28
+ ## Supported Command Surface
29
+
30
+ `SDTK-OPS` keeps a deliberately small CLI surface.
31
+
32
+ | Command | Purpose |
33
+ |---|---|
34
+ | `sdtk-ops help` | Show the supported command surface and routing guidance |
35
+ | `sdtk-ops init` | Copy shared project files and prepare runtime installation |
36
+ | `sdtk-ops runtime install` | Install runtime assets for Claude or Codex |
37
+ | `sdtk-ops runtime status` | Check installed runtime assets |
38
+ | `sdtk-ops runtime uninstall` | Remove runtime assets cleanly |
39
+
40
+ Not supported:
41
+ - `sdtk-ops generate`
42
+ - workflow-first commands such as `sdtk-ops deploy`, `sdtk-ops incident`, or `sdtk-ops monitor`
43
+
44
+ ## Runtime Matrix
45
+
46
+ | Runtime | Project Scope | User Scope | Notes |
47
+ |---|:---:|:---:|---|
48
+ | Claude | Yes | Yes | Default scope is project |
49
+ | Codex | No | Yes | Gate C0 blocks project-local install |
50
+
51
+ Important truth:
52
+ - Claude supports `project` and `user` scope.
53
+ - Codex supports `user` scope only.
54
+ - Codex installs collision-avoiding `sdtk-ops-*` skill names.
55
+
56
+ ## Quick Start After Publish
57
+
58
+ Once the first public release is published and installed:
59
+
60
+ ### 1. Initialize a project
61
+
62
+ ```bash
63
+ sdtk-ops init --runtime claude --project-path ./my-project
64
+ ```
65
+
66
+ `init` copies:
67
+ - `AGENTS.md`
68
+ - `sdtk-spec.config.json`
69
+ - `sdtk-spec.config.profiles.example.json`
70
+
71
+ ### 2. Install runtime assets
72
+
73
+ Claude project scope:
74
+
75
+ ```bash
76
+ sdtk-ops runtime install --runtime claude --scope project --project-path ./my-project
77
+ ```
78
+
79
+ Claude user scope:
80
+
81
+ ```bash
82
+ sdtk-ops runtime install --runtime claude --scope user
83
+ ```
84
+
85
+ Codex user scope:
86
+
87
+ ```bash
88
+ sdtk-ops runtime install --runtime codex --scope user
89
+ ```
90
+
91
+ Gate C0:
92
+
93
+ ```bash
94
+ sdtk-ops runtime install --runtime codex --scope project
95
+ ```
96
+
97
+ The Codex project-scope command must fail. That rejection is the correct product behavior.
98
+
99
+ ### 3. Choose the right skill journey
100
+
101
+ Use `ops-discover` when the correct operational path is unclear.
102
+
103
+ Canonical journeys:
104
+ - deployment: `ops-plan -> ops-infra-plan -> ops-container -> ops-ci-cd -> ops-deploy -> ops-monitor -> ops-verify`
105
+ - incident: `ops-incident -> ops-debug -> ops-deploy` when rollback or corrective rollout is needed, then `ops-monitor -> ops-verify`
106
+ - monitoring: `ops-plan -> ops-monitor -> ops-verify`
107
+ - backup or recovery: `ops-plan -> ops-backup -> ops-verify`
108
+
109
+ Always close work with `ops-verify`.
110
+
111
+ ## Product Boundary
112
+
113
+ `SDTK-OPS` is the downstream operations product in the `SDTK-SPEC -> SDTK-CODE -> SDTK-OPS` family.
114
+
115
+ It is:
116
+ - skill-driven
117
+ - operations-focused
118
+ - suitable for deployment, verification, monitoring, incident response, backup, security, compliance, and cost work
119
+
120
+ It is not:
121
+ - a workflow-first CLI like `SDTK-CODE`
122
+ - a generator product
123
+ - a provider-pack catalog
124
+ - a Kubernetes or cloud-platform package
125
+
126
+ ## Package Validation
127
+
128
+ Maintainers validating a release candidate from source can run:
129
+
130
+ ```bash
131
+ npm run build:payload
132
+ npm run verify:payload
133
+ npm test
134
+ npm run pack:smoke
135
+ ```
136
+
137
+ Those commands validate payload integrity, runtime behavior, and isolated packed-package smoke before publish.
138
+
139
+ ## Documentation
140
+
141
+ - Usage guide:
142
+ - `https://github.com/codexsdtk/sdtk-toolkit/blob/main/products/sdtk-ops/governance/SDTKOPS_TOOLKIT_USAGE_GUIDE.md`
143
+ - Installation runbook:
144
+ - `https://github.com/codexsdtk/sdtk-toolkit/blob/main/products/sdtk-ops/governance/installation-runbook.md`
145
+ - Product boundary doc:
146
+ - `https://github.com/codexsdtk/sdtk-toolkit/blob/main/products/sdtk-ops/toolkit/SDTKOPS_TOOLKIT.md`
@@ -0,0 +1,187 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "sourceCommit": "97ca3bf78f08840f29c6a3f0353c9d38793d31e5",
4
+ "fileCount": 36,
5
+ "files": [
6
+ {
7
+ "path": "toolkit/AGENTS.md",
8
+ "sha256": "be7565adbd8d38dd90bc350eaecbd058cc8acb2a549b7e648d469b1f57916bbc",
9
+ "size": 4146
10
+ },
11
+ {
12
+ "path": "toolkit/install.ps1",
13
+ "sha256": "bcb77479f810e8449ea6e68fc775ea92758d2501e2bc29428d0c980fd996d5c6",
14
+ "size": 3210
15
+ },
16
+ {
17
+ "path": "toolkit/scripts/install-claude-skills.ps1",
18
+ "sha256": "5eae77f4d14b81d56c3c109f563fefafd1967d85093ff1b192293fe438aeabe5",
19
+ "size": 2474
20
+ },
21
+ {
22
+ "path": "toolkit/scripts/install-codex-skills.ps1",
23
+ "sha256": "ebd12d2fef1f3080a3a9d173d6a4dac4358b69d506fd7a37e347bb11a9936d9c",
24
+ "size": 3980
25
+ },
26
+ {
27
+ "path": "toolkit/scripts/uninstall-claude-skills.ps1",
28
+ "sha256": "2c629d8316b205c6a7cd0d95959b80801b281ef62e205c10a92e3a2568eb8b41",
29
+ "size": 1901
30
+ },
31
+ {
32
+ "path": "toolkit/scripts/uninstall-codex-skills.ps1",
33
+ "sha256": "290301c13e3e39adec2f76b2611383037544a4f05f4a030907429295ff8e9dc8",
34
+ "size": 1517
35
+ },
36
+ {
37
+ "path": "toolkit/SDTKOPS_TOOLKIT.md",
38
+ "sha256": "8c971775d71d70aab59e5b36e0fdb631922ce79ef139fbf77ff27258ce3fac7a",
39
+ "size": 5921
40
+ },
41
+ {
42
+ "path": "toolkit/sdtk-spec.config.json",
43
+ "sha256": "8247ddf24502ce285bee213eefc801ce6b0b83afe00efd828468ac9130f53b09",
44
+ "size": 111
45
+ },
46
+ {
47
+ "path": "toolkit/sdtk-spec.config.profiles.example.json",
48
+ "sha256": "2c1668df46aa57dba06c2c924a60f6c1667a1d4551b4eb70fb18c190356a2180",
49
+ "size": 312
50
+ },
51
+ {
52
+ "path": "toolkit/skills/ops-backup/references/backup-script-patterns.md",
53
+ "sha256": "bcb9252a08b98e7a6a92057153f8f8882b948149b3897bee5e9328cd456de025",
54
+ "size": 3173
55
+ },
56
+ {
57
+ "path": "toolkit/skills/ops-backup/SKILL.md",
58
+ "sha256": "99bee57db26fb09714da32dffff8172da9222e5182039fbc659a08007d4ce205",
59
+ "size": 3639
60
+ },
61
+ {
62
+ "path": "toolkit/skills/ops-ci-cd/references/pipeline-examples.md",
63
+ "sha256": "ec5ae90ebceb679554a8ec977ff27327ae608f1d5852170665a8a581cc9faea2",
64
+ "size": 2359
65
+ },
66
+ {
67
+ "path": "toolkit/skills/ops-ci-cd/SKILL.md",
68
+ "sha256": "b0752e0452a85423817f17e2e3321e88fd5186579ae816ccb4b2cd105f45871c",
69
+ "size": 2759
70
+ },
71
+ {
72
+ "path": "toolkit/skills/ops-compliance/SKILL.md",
73
+ "sha256": "a0bb24484cba68a7201e6b7f614c8b5ada8b2dff540a4e4390661a0ced112e8d",
74
+ "size": 3963
75
+ },
76
+ {
77
+ "path": "toolkit/skills/ops-container/references/k8s-manifest-patterns.md",
78
+ "sha256": "131711d0af5d4dc4227e4b2669a910d05d50c80b4f82a47e0a13699d8e5a9f10",
79
+ "size": 2339
80
+ },
81
+ {
82
+ "path": "toolkit/skills/ops-container/SKILL.md",
83
+ "sha256": "7834e362ef5f3d6628acb4653997d9eab379bc7dff372280728fd5aa6abf087a",
84
+ "size": 3643
85
+ },
86
+ {
87
+ "path": "toolkit/skills/ops-cost/SKILL.md",
88
+ "sha256": "e0e791f153b31ee75d012a26b01f4f6be50aed4fe4268bd02c6a76debba52a1d",
89
+ "size": 3458
90
+ },
91
+ {
92
+ "path": "toolkit/skills/ops-debug/references/root-cause-tracing.md",
93
+ "sha256": "d30c380152237d92f102b8db1849baa3d7a082c4e42e9ba9174d7ef49000672f",
94
+ "size": 3965
95
+ },
96
+ {
97
+ "path": "toolkit/skills/ops-debug/SKILL.md",
98
+ "sha256": "ddedf16d59fae6e54cddae23b5bf24f2878ff23f17d81a88298e021c25401d1c",
99
+ "size": 11156
100
+ },
101
+ {
102
+ "path": "toolkit/skills/ops-deploy/SKILL.md",
103
+ "sha256": "a18ec9032e4e2c14e5daa1984cb8260e1d735fc38a44926fe037f0f2b99fcd33",
104
+ "size": 4214
105
+ },
106
+ {
107
+ "path": "toolkit/skills/ops-discover/SKILL.md",
108
+ "sha256": "4a0c7f482e1666a538038ea9b25314cd0333754c413af7bde7b74d0cddb868c7",
109
+ "size": 4453
110
+ },
111
+ {
112
+ "path": "toolkit/skills/ops-incident/references/communication-templates.md",
113
+ "sha256": "396e951ef529f1ae8c4d6db6773f383d35c5e14d666399583640cd2f1811f93b",
114
+ "size": 1102
115
+ },
116
+ {
117
+ "path": "toolkit/skills/ops-incident/references/postmortem-template.md",
118
+ "sha256": "5eebfd217bf7ea2bb2d59c9d30ab77d04277d78cf42114f044f6ad998040f926",
119
+ "size": 2110
120
+ },
121
+ {
122
+ "path": "toolkit/skills/ops-incident/references/runbook-template.md",
123
+ "sha256": "b6479d8ef31c2a4fd8242219bb02b87ce8babffa70fc219fe7e5db408471f326",
124
+ "size": 1672
125
+ },
126
+ {
127
+ "path": "toolkit/skills/ops-incident/SKILL.md",
128
+ "sha256": "a5fa64bcd10ff0d04ca8cd25e883a3a667034a726162cfaff63252719081a834",
129
+ "size": 4230
130
+ },
131
+ {
132
+ "path": "toolkit/skills/ops-infra-plan/references/iac-patterns.md",
133
+ "sha256": "fe767ccec7a8efb84ddfa8097eea9cb92c1e9d7f478ab89632b0516b738b5e20",
134
+ "size": 4136
135
+ },
136
+ {
137
+ "path": "toolkit/skills/ops-infra-plan/SKILL.md",
138
+ "sha256": "8c1b5583b3ba9761311a950cb7ab24c1abe573903ded68484bcf0811435feb5c",
139
+ "size": 4621
140
+ },
141
+ {
142
+ "path": "toolkit/skills/ops-monitor/references/alert-rules.md",
143
+ "sha256": "6deee66c8b0c65219fe907934382b0c9cdba007a971a98af54f703b6360f3c56",
144
+ "size": 2607
145
+ },
146
+ {
147
+ "path": "toolkit/skills/ops-monitor/references/slo-templates.md",
148
+ "sha256": "a1d8fe86ba90287cf21cc204478949002e4d28103496dd46b60a2b5fef55d2b2",
149
+ "size": 2205
150
+ },
151
+ {
152
+ "path": "toolkit/skills/ops-monitor/SKILL.md",
153
+ "sha256": "83058acaf39ee925d90ba0f04a4e4e2be584fe90de540d4bdedab61d9a3c85dc",
154
+ "size": 4394
155
+ },
156
+ {
157
+ "path": "toolkit/skills/ops-parallel/SKILL.md",
158
+ "sha256": "c5273d155c67bcade47868b4cd5a1f7e9c66e5bb864616036b1cc22676f25ecf",
159
+ "size": 6258
160
+ },
161
+ {
162
+ "path": "toolkit/skills/ops-plan/SKILL.md",
163
+ "sha256": "e405117c97e3475dee69133e31759e3ce0926fb6a83929eab55a95509b213c38",
164
+ "size": 5730
165
+ },
166
+ {
167
+ "path": "toolkit/skills/ops-security-infra/references/cicd-security-pipeline.md",
168
+ "sha256": "8876ffa8cfc97335fb68063270b2bffdb3cd0630663123008575a8b98ea485a8",
169
+ "size": 1275
170
+ },
171
+ {
172
+ "path": "toolkit/skills/ops-security-infra/references/security-headers.md",
173
+ "sha256": "1e6996cf39c923765c5fa3506932cacf749ca23e130a0d7e4fa1a06d4fe8eada",
174
+ "size": 1057
175
+ },
176
+ {
177
+ "path": "toolkit/skills/ops-security-infra/SKILL.md",
178
+ "sha256": "bd58371057178ebd8ad61de267bdc485bbea6bf1b1c804f767f3690454255fa6",
179
+ "size": 5001
180
+ },
181
+ {
182
+ "path": "toolkit/skills/ops-verify/SKILL.md",
183
+ "sha256": "53f10a44c4e7803a85110c10269b51c20b625877827ae177bf779010b0040c69",
184
+ "size": 5184
185
+ }
186
+ ]
187
+ }
@@ -0,0 +1,36 @@
1
+ be7565adbd8d38dd90bc350eaecbd058cc8acb2a549b7e648d469b1f57916bbc toolkit/AGENTS.md
2
+ bcb77479f810e8449ea6e68fc775ea92758d2501e2bc29428d0c980fd996d5c6 toolkit/install.ps1
3
+ 5eae77f4d14b81d56c3c109f563fefafd1967d85093ff1b192293fe438aeabe5 toolkit/scripts/install-claude-skills.ps1
4
+ ebd12d2fef1f3080a3a9d173d6a4dac4358b69d506fd7a37e347bb11a9936d9c toolkit/scripts/install-codex-skills.ps1
5
+ 2c629d8316b205c6a7cd0d95959b80801b281ef62e205c10a92e3a2568eb8b41 toolkit/scripts/uninstall-claude-skills.ps1
6
+ 290301c13e3e39adec2f76b2611383037544a4f05f4a030907429295ff8e9dc8 toolkit/scripts/uninstall-codex-skills.ps1
7
+ 8c971775d71d70aab59e5b36e0fdb631922ce79ef139fbf77ff27258ce3fac7a toolkit/SDTKOPS_TOOLKIT.md
8
+ 8247ddf24502ce285bee213eefc801ce6b0b83afe00efd828468ac9130f53b09 toolkit/sdtk-spec.config.json
9
+ 2c1668df46aa57dba06c2c924a60f6c1667a1d4551b4eb70fb18c190356a2180 toolkit/sdtk-spec.config.profiles.example.json
10
+ bcb9252a08b98e7a6a92057153f8f8882b948149b3897bee5e9328cd456de025 toolkit/skills/ops-backup/references/backup-script-patterns.md
11
+ 99bee57db26fb09714da32dffff8172da9222e5182039fbc659a08007d4ce205 toolkit/skills/ops-backup/SKILL.md
12
+ ec5ae90ebceb679554a8ec977ff27327ae608f1d5852170665a8a581cc9faea2 toolkit/skills/ops-ci-cd/references/pipeline-examples.md
13
+ b0752e0452a85423817f17e2e3321e88fd5186579ae816ccb4b2cd105f45871c toolkit/skills/ops-ci-cd/SKILL.md
14
+ a0bb24484cba68a7201e6b7f614c8b5ada8b2dff540a4e4390661a0ced112e8d toolkit/skills/ops-compliance/SKILL.md
15
+ 131711d0af5d4dc4227e4b2669a910d05d50c80b4f82a47e0a13699d8e5a9f10 toolkit/skills/ops-container/references/k8s-manifest-patterns.md
16
+ 7834e362ef5f3d6628acb4653997d9eab379bc7dff372280728fd5aa6abf087a toolkit/skills/ops-container/SKILL.md
17
+ e0e791f153b31ee75d012a26b01f4f6be50aed4fe4268bd02c6a76debba52a1d toolkit/skills/ops-cost/SKILL.md
18
+ d30c380152237d92f102b8db1849baa3d7a082c4e42e9ba9174d7ef49000672f toolkit/skills/ops-debug/references/root-cause-tracing.md
19
+ ddedf16d59fae6e54cddae23b5bf24f2878ff23f17d81a88298e021c25401d1c toolkit/skills/ops-debug/SKILL.md
20
+ a18ec9032e4e2c14e5daa1984cb8260e1d735fc38a44926fe037f0f2b99fcd33 toolkit/skills/ops-deploy/SKILL.md
21
+ 4a0c7f482e1666a538038ea9b25314cd0333754c413af7bde7b74d0cddb868c7 toolkit/skills/ops-discover/SKILL.md
22
+ 396e951ef529f1ae8c4d6db6773f383d35c5e14d666399583640cd2f1811f93b toolkit/skills/ops-incident/references/communication-templates.md
23
+ 5eebfd217bf7ea2bb2d59c9d30ab77d04277d78cf42114f044f6ad998040f926 toolkit/skills/ops-incident/references/postmortem-template.md
24
+ b6479d8ef31c2a4fd8242219bb02b87ce8babffa70fc219fe7e5db408471f326 toolkit/skills/ops-incident/references/runbook-template.md
25
+ a5fa64bcd10ff0d04ca8cd25e883a3a667034a726162cfaff63252719081a834 toolkit/skills/ops-incident/SKILL.md
26
+ fe767ccec7a8efb84ddfa8097eea9cb92c1e9d7f478ab89632b0516b738b5e20 toolkit/skills/ops-infra-plan/references/iac-patterns.md
27
+ 8c1b5583b3ba9761311a950cb7ab24c1abe573903ded68484bcf0811435feb5c toolkit/skills/ops-infra-plan/SKILL.md
28
+ 6deee66c8b0c65219fe907934382b0c9cdba007a971a98af54f703b6360f3c56 toolkit/skills/ops-monitor/references/alert-rules.md
29
+ a1d8fe86ba90287cf21cc204478949002e4d28103496dd46b60a2b5fef55d2b2 toolkit/skills/ops-monitor/references/slo-templates.md
30
+ 83058acaf39ee925d90ba0f04a4e4e2be584fe90de540d4bdedab61d9a3c85dc toolkit/skills/ops-monitor/SKILL.md
31
+ c5273d155c67bcade47868b4cd5a1f7e9c66e5bb864616036b1cc22676f25ecf toolkit/skills/ops-parallel/SKILL.md
32
+ e405117c97e3475dee69133e31759e3ce0926fb6a83929eab55a95509b213c38 toolkit/skills/ops-plan/SKILL.md
33
+ 8876ffa8cfc97335fb68063270b2bffdb3cd0630663123008575a8b98ea485a8 toolkit/skills/ops-security-infra/references/cicd-security-pipeline.md
34
+ 1e6996cf39c923765c5fa3506932cacf749ca23e130a0d7e4fa1a06d4fe8eada toolkit/skills/ops-security-infra/references/security-headers.md
35
+ bd58371057178ebd8ad61de267bdc485bbea6bf1b1c804f767f3690454255fa6 toolkit/skills/ops-security-infra/SKILL.md
36
+ 53f10a44c4e7803a85110c10269b51c20b625877827ae177bf779010b0040c69 toolkit/skills/ops-verify/SKILL.md
@@ -0,0 +1,65 @@
1
+ # SDTK-OPS -- Operations Discipline Toolkit
2
+
3
+ Purpose: use SDTK-OPS to drive disciplined infrastructure and operations work across planning, deployment, monitoring, incident response, recovery, security hardening, and cost optimization.
4
+
5
+ Canonical end-user guide:
6
+ - `products/sdtk-ops/governance/SDTKOPS_TOOLKIT_USAGE_GUIDE.md`
7
+
8
+ Document role:
9
+ - runtime routing and skill-catalog truth after `sdtk-ops init`
10
+ - not the primary install or onboarding guide
11
+
12
+ ## Default Rules
13
+
14
+ - If the correct entry point is unclear, start with `ops-discover`.
15
+ - Use `ops-verify` before marking any operational task complete.
16
+ - Use `ops-debug` for evidence-first diagnosis before proposing speculative fixes.
17
+ - Keep guidance cloud-agnostic unless the task explicitly requires a platform-specific example.
18
+ - Do not drift into application specification or coding workflows. Those belong to SDTK-SPEC or SDTK-CODE.
19
+ - `ops-discover` is a skill, not a CLI command.
20
+ - `generate` remains unsupported and deferred in the current SDTK-OPS CLI surface.
21
+
22
+ ## Primary Routing Journeys
23
+
24
+ | Journey | Start With | Suggested Chain | Close With |
25
+ |---------|------------|-----------------|------------|
26
+ | Deployment | `ops-plan` | `ops-plan` -> `ops-infra-plan` -> `ops-container` -> `ops-ci-cd` -> `ops-deploy` -> `ops-monitor` | `ops-verify` |
27
+ | Incident | `ops-incident` | `ops-incident` -> `ops-debug` -> `ops-deploy` if a change or rollback is required -> `ops-monitor` | `ops-verify` |
28
+ | Monitoring | `ops-plan` | `ops-plan` -> `ops-monitor` | `ops-verify` |
29
+ | Backup or recovery | `ops-plan` | `ops-plan` -> `ops-backup` | `ops-verify` |
30
+
31
+ ## Other Valid Skills
32
+
33
+ - `ops-security-infra`, `ops-compliance`, and `ops-cost` remain valid SDTK-OPS skills, but they are not the primary routed journeys in the current wave.
34
+ - Use `ops-discover` when the correct boundary between deployment, incident, monitoring, backup or recovery, security, compliance, and cost work is unclear.
35
+
36
+ ## Skill Catalog
37
+
38
+ | Category | Skill | Trigger Condition |
39
+ |----------|-------|-------------------|
40
+ | Core Process | `ops-verify` | you need evidence before claiming an operational task is complete |
41
+ | Core Process | `ops-debug` | a deployment, service, network, DNS, or runtime issue needs root-cause analysis |
42
+ | Core Process | `ops-plan` | the team needs a step-by-step operational change plan |
43
+ | Core Process | `ops-parallel` | two or more independent operations tasks can proceed without shared state |
44
+ | Deployment | `ops-infra-plan` | you are designing infrastructure, networking, IAM, or resource topology before provisioning |
45
+ | Deployment | `ops-deploy` | you are executing a rollout, promotion, cutover, or rollback |
46
+ | Deployment | `ops-container` | you are building images, Dockerfiles, manifests, or container runtime patterns |
47
+ | Deployment | `ops-ci-cd` | you are setting up or modifying pipelines, artifact flow, or deployment gates |
48
+ | Operations | `ops-monitor` | you need SLOs, alerts, dashboards, logs, traces, or observability coverage |
49
+ | Operations | `ops-incident` | a production incident is active or incident procedures need to be established |
50
+ | Operations | `ops-backup` | backup, restore, disaster recovery, RTO, or RPO design is in scope |
51
+ | Operations | `ops-cost` | you are reviewing spend, right-sizing, or budget controls |
52
+ | Security And Compliance | `ops-security-infra` | infrastructure hardening, secrets, network policy, or security scanning is the main concern |
53
+ | Security And Compliance | `ops-compliance` | audit readiness, evidence collection, retention, or policy enforcement is the main concern |
54
+ | Discovery | `ops-discover` | you need help choosing among SDTK-OPS skills or sequencing them |
55
+
56
+ ## Runtime Support
57
+
58
+ | Runtime | Project Scope | User Scope | Default Scope | Notes |
59
+ |---------|:-------------:|:----------:|---------------|-------|
60
+ | Claude | true | true | project | project-local toolkit supported |
61
+ | Codex | false | true | user | Gate C0: no project-local skill runtime |
62
+
63
+ ## Verification Policy
64
+
65
+ Use `ops-verify` before marking any operational task complete, including deployment, incident, monitoring, and backup or recovery journeys.
@@ -0,0 +1,166 @@
1
+ # Software Development Toolkit - Operations (SDTK-OPS)
2
+
3
+ ## Document Role
4
+ This file is the architecture and product-boundary document for `SDTK-OPS`.
5
+
6
+ Use this file to understand:
7
+ - how `SDTK-OPS` fits inside the `SDTK-SPEC -> SDTK-CODE -> SDTK-OPS` family
8
+ - what the current skill-driven entry model owns
9
+ - which journeys are canonical in the current wave
10
+ - what stays outside `SDTK-OPS` scope
11
+
12
+ Do not use this file as the primary install or onboarding guide.
13
+
14
+ Canonical end-user guide:
15
+ - `products/sdtk-ops/governance/SDTKOPS_TOOLKIT_USAGE_GUIDE.md`
16
+
17
+ ## 1. Overview
18
+
19
+ `SDTK-OPS` is the operations-process product in the `SDTK-SPEC -> SDTK-CODE -> SDTK-OPS` family.
20
+
21
+ It is not a workflow-first CLI like `SDTK-CODE`.
22
+
23
+ The truthful current CLI surface is:
24
+ - `sdtk-ops help`
25
+ - `sdtk-ops init`
26
+ - `sdtk-ops runtime install`
27
+ - `sdtk-ops runtime status`
28
+ - `sdtk-ops runtime uninstall`
29
+
30
+ The truthful current operational surface after `init` is skill-driven:
31
+ - the 15 `ops-*` skills remain the real operating surface
32
+ - `ops-discover` remains a skill, not a CLI command
33
+ - `ops-verify` remains the required closing skill for every canonical journey
34
+ - `generate` remains unsupported and deferred
35
+
36
+ ## 2. Boundary With SDTK-SPEC And SDTK-CODE
37
+
38
+ `SDTK-SPEC` is upstream and remains the docs-first specification and handoff system.
39
+
40
+ `SDTK-SPEC` owns:
41
+ - specification and handoff generation
42
+ - PM, BA, ARCH, DEV, and QA orchestration
43
+ - upstream workflow contracts and design artifacts
44
+
45
+ `SDTK-CODE` owns:
46
+ - coding-process execution after handoff
47
+ - workflow-first build, verify, and closeout discipline
48
+ - implementation evidence for the coded slice
49
+
50
+ `SDTK-OPS` owns:
51
+ - operational planning and deployment discipline
52
+ - environment/runtime validation
53
+ - monitoring, incident response, and backup or recovery execution
54
+ - infrastructure security, compliance, and cost work when those are the active concern
55
+
56
+ `SDTK-OPS` does not own:
57
+ - upstream requirements or architecture generation
58
+ - coding workflow execution
59
+ - provider-specific platform packs in the current wave
60
+ - public product launch claims
61
+
62
+ ## 3. Entry And Routing Model
63
+
64
+ After `sdtk-ops init`, choose a journey directly when the goal is clear.
65
+
66
+ If the correct path is unclear:
67
+ - start with `ops-discover`
68
+
69
+ Always:
70
+ - close every canonical journey with `ops-verify`
71
+ - keep `generate` out of the documented command path
72
+
73
+ | Journey | Start With | Suggested Chain | Close With |
74
+ |---------|------------|-----------------|------------|
75
+ | Deployment | `ops-plan` | `ops-plan` -> `ops-infra-plan` -> `ops-container` -> `ops-ci-cd` -> `ops-deploy` -> `ops-monitor` | `ops-verify` |
76
+ | Incident | `ops-incident` | `ops-incident` -> `ops-debug` -> `ops-deploy` if a change or rollback is required -> `ops-monitor` | `ops-verify` |
77
+ | Monitoring | `ops-plan` | `ops-plan` -> `ops-monitor` | `ops-verify` |
78
+ | Backup or recovery | `ops-plan` | `ops-plan` -> `ops-backup` | `ops-verify` |
79
+
80
+ Other valid but non-primary routed skills in this wave:
81
+ - `ops-security-infra`
82
+ - `ops-compliance`
83
+ - `ops-cost`
84
+ - `ops-parallel`
85
+
86
+ ## 4. Skill Catalog
87
+
88
+ ### 4.1 Core Process
89
+
90
+ | Skill | Purpose |
91
+ |-------|---------|
92
+ | `ops-verify` | verify commands, state, and evidence before declaring work complete |
93
+ | `ops-debug` | diagnose operational failures systematically and trace root cause |
94
+ | `ops-plan` | write reviewable operational plans with rollback and verification steps |
95
+ | `ops-parallel` | split truly independent operations tasks into parallel workstreams |
96
+
97
+ ### 4.2 Deployment
98
+
99
+ | Skill | Purpose |
100
+ |-------|---------|
101
+ | `ops-infra-plan` | design infrastructure architecture and provisioning order before apply |
102
+ | `ops-deploy` | execute deployments with health gates, rollout strategy, and rollback discipline |
103
+ | `ops-container` | define secure image build and container orchestration patterns |
104
+ | `ops-ci-cd` | build and manage pipelines, promotion flow, artifact handling, and secret controls |
105
+
106
+ ### 4.3 Operations
107
+
108
+ | Skill | Purpose |
109
+ |-------|---------|
110
+ | `ops-monitor` | define SLOs, alerts, dashboards, logs, and traces |
111
+ | `ops-incident` | coordinate incident response, stabilization, and post-mortem follow-up |
112
+ | `ops-backup` | design backup, restore, and disaster recovery procedures |
113
+ | `ops-cost` | review spend, identify waste, and plan safe right-sizing |
114
+
115
+ ### 4.4 Security And Compliance
116
+
117
+ | Skill | Purpose |
118
+ |-------|---------|
119
+ | `ops-security-infra` | harden infrastructure, secrets, network policy, and security scanning |
120
+ | `ops-compliance` | automate audit readiness, evidence collection, retention, and policy enforcement |
121
+
122
+ ### 4.5 Discovery
123
+
124
+ | Skill | Purpose |
125
+ |-------|---------|
126
+ | `ops-discover` | choose the correct SDTK-OPS entry point and sequencing |
127
+
128
+ ## 5. Runtime Truth
129
+
130
+ ### Claude
131
+ - supports project and user scope
132
+ - default scope is project
133
+ - uses the `ops-*` runtime payload after install
134
+
135
+ ### Codex
136
+ - supports user scope only
137
+ - default scope is user
138
+ - uses collision-avoiding `sdtk-ops-*` skill directory names
139
+ - project scope remains blocked by Gate C0
140
+
141
+ ## 6. Documentation Map
142
+
143
+ Use these documents by role:
144
+
145
+ - Canonical end-user install and usage guide:
146
+ - `products/sdtk-ops/governance/SDTKOPS_TOOLKIT_USAGE_GUIDE.md`
147
+ - Install-truth and smoke appendix:
148
+ - `products/sdtk-ops/governance/installation-runbook.md`
149
+ - Workflow-entry and reference stub:
150
+ - `products/sdtk-ops/governance/usage-guide.md`
151
+ - Package landing page:
152
+ - `products/sdtk-ops/distribution/sdtk-ops-kit/README.md`
153
+ - Runtime routing inventory:
154
+ - `products/sdtk-ops/toolkit/AGENTS.md`
155
+ - Internal release docs:
156
+ - `products/sdtk-ops/governance/release-packaging.md`
157
+ - `products/sdtk-ops/governance/release-evidence.md`
158
+
159
+ ## 7. Scope
160
+
161
+ `SDTK-OPS` v1 contains 15 core skills and stays cloud-agnostic.
162
+
163
+ Not part of the current supported wave:
164
+ - provider-specific packs such as AWS, GCP, or Azure variants
165
+ - a workflow-first CLI command suite such as `sdtk-ops deploy`
166
+ - public npm installation claims