@brookmind/ai-toolkit 1.0.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 (105) hide show
  1. package/README.md +54 -0
  2. package/agents/code-reviewer.md +30 -0
  3. package/bin/cli.js +5 -0
  4. package/mcps/context7/.claude-plugin +1 -0
  5. package/mcps/context7/README.md +1 -0
  6. package/mcps/context7/server.json +1 -0
  7. package/mcps/expo-mcp/README.md +33 -0
  8. package/mcps/expo-mcp/package.json +30 -0
  9. package/mcps/figma-mcp/.mcp.json +12 -0
  10. package/mcps/figma-mcp/README.md +554 -0
  11. package/mcps/figma-mcp/server.json +17 -0
  12. package/mcps/figma-mcp/skills/code-connect-components +1 -0
  13. package/mcps/figma-mcp/skills/create-design-system-rules +1 -0
  14. package/mcps/figma-mcp/skills/implement-design +1 -0
  15. package/mcps/pg-aiguide/.claude-plugin +1 -0
  16. package/mcps/pg-aiguide/CLAUDE.md +21 -0
  17. package/mcps/pg-aiguide/README.md +275 -0
  18. package/mcps/pg-aiguide/skills/design-postgres-tables +1 -0
  19. package/mcps/pg-aiguide/skills/find-hypertable-candidates +1 -0
  20. package/mcps/pg-aiguide/skills/migrate-postgres-tables-to-hypertables +1 -0
  21. package/mcps/pg-aiguide/skills/setup-timescaledb-hypertables +1 -0
  22. package/mcps/pg-aiguide/skills.yaml +4 -0
  23. package/package.json +42 -0
  24. package/skills/cloudflare-cli/SKILL.md +151 -0
  25. package/skills/docx/LICENSE.txt +30 -0
  26. package/skills/docx/SKILL.md +197 -0
  27. package/skills/docx/docx-js.md +350 -0
  28. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  29. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  30. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  31. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  32. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  33. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  34. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  35. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  36. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  37. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  38. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  39. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  40. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  41. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  42. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  43. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  44. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  45. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  46. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  47. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  48. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  49. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  50. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  51. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  52. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  53. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  54. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  55. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  56. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  57. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  58. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  59. package/skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
  60. package/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  61. package/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  62. package/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  63. package/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  64. package/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  65. package/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  66. package/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  67. package/skills/docx/ooxml/scripts/pack.py +159 -0
  68. package/skills/docx/ooxml/scripts/unpack.py +29 -0
  69. package/skills/docx/ooxml/scripts/validate.py +69 -0
  70. package/skills/docx/ooxml/scripts/validation/__init__.py +15 -0
  71. package/skills/docx/ooxml/scripts/validation/base.py +951 -0
  72. package/skills/docx/ooxml/scripts/validation/docx.py +274 -0
  73. package/skills/docx/ooxml/scripts/validation/pptx.py +315 -0
  74. package/skills/docx/ooxml/scripts/validation/redlining.py +279 -0
  75. package/skills/docx/ooxml.md +610 -0
  76. package/skills/docx/scripts/__init__.py +1 -0
  77. package/skills/docx/scripts/document.py +1276 -0
  78. package/skills/docx/scripts/templates/comments.xml +3 -0
  79. package/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  80. package/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  81. package/skills/docx/scripts/templates/commentsIds.xml +3 -0
  82. package/skills/docx/scripts/templates/people.xml +3 -0
  83. package/skills/docx/scripts/utilities.py +374 -0
  84. package/skills/github-cli/SKILL.md +125 -0
  85. package/skills/pdf/LICENSE.txt +30 -0
  86. package/skills/pdf/SKILL.md +294 -0
  87. package/skills/pdf/forms.md +205 -0
  88. package/skills/pdf/reference.md +612 -0
  89. package/skills/pdf/scripts/check_bounding_boxes.py +70 -0
  90. package/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
  91. package/skills/pdf/scripts/check_fillable_fields.py +12 -0
  92. package/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
  93. package/skills/pdf/scripts/create_validation_image.py +41 -0
  94. package/skills/pdf/scripts/extract_form_field_info.py +152 -0
  95. package/skills/pdf/scripts/fill_fillable_fields.py +114 -0
  96. package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
  97. package/skills/skill-creator/LICENSE.txt +202 -0
  98. package/skills/skill-creator/SKILL.md +209 -0
  99. package/skills/skill-creator/scripts/init_skill.py +303 -0
  100. package/skills/skill-creator/scripts/package_skill.py +110 -0
  101. package/skills/skill-creator/scripts/quick_validate.py +65 -0
  102. package/skills/xlsx/LICENSE.txt +30 -0
  103. package/skills/xlsx/SKILL.md +289 -0
  104. package/skills/xlsx/recalc.py +178 -0
  105. package/src/index.js +181 -0
@@ -0,0 +1,275 @@
1
+ # pg-aiguide
2
+
3
+ **AI-optimized PostgreSQL expertise for coding assistants**
4
+
5
+ pg-aiguide helps AI coding tools write dramatically better PostgreSQL code. It provides:
6
+
7
+ - **Semantic search** across the official PostgreSQL manual (version-aware)
8
+ - **AI-optimized “skills”** — curated, opinionated Postgres best practices used automatically by AI agents
9
+ - **Extension ecosystem docs**, starting with TimescaleDB, with more coming soon
10
+
11
+ Use it either as:
12
+
13
+ - a **public MCP server** that can be used with any AI coding agent, or
14
+ - a **Claude Code plugin** optimized for use with Claude's native skill support.
15
+
16
+ ## ⭐ Why pg-aiguide?
17
+
18
+ AI coding tools often generate Postgres code that is:
19
+
20
+ - outdated
21
+ - missing constraints and indexes
22
+ - unaware of modern PG features
23
+ - inconsistent with real-world best practices
24
+
25
+ pg-aiguide fixes that by giving AI agents deep, versioned PostgreSQL knowledge and proven patterns.
26
+
27
+ ### See the difference
28
+
29
+ https://github.com/user-attachments/assets/5a426381-09b5-4635-9050-f55422253a3d
30
+
31
+ <details>
32
+ <summary>Video Transcript </summary>
33
+
34
+ Prompt given to Claude Code:
35
+
36
+ > Please describe the schema you would create for an e-commerce website two times, first with the tiger mcp server disabled, then with the tiger mcp server enabled. For each time, write the schema to its own file in the current working directory. Then compare the two files and let me know which approach generated the better schema, using both qualitative and quantitative reasons. For this example, only use standard Postgres.
37
+
38
+ Result (summarized):
39
+
40
+ - **4× more constraints**
41
+ - **55% more indexes** (including partial/expression indexes)
42
+ - **PG17-recommended patterns**
43
+ - **Modern features** (`GENERATED ALWAYS AS IDENTITY`, `NULLS NOT DISTINCT`)
44
+ - **Cleaner naming & documentation**
45
+
46
+ Conclusion: _pg-aiguide produces more robust, performant, maintainable schemas._
47
+
48
+ </details>
49
+
50
+ ## 🚀 Quickstart
51
+
52
+ pg-aiguide is available as a **public MCP server**:
53
+
54
+ [https://mcp.tigerdata.com/docs](https://mcp.tigerdata.com/docs)
55
+
56
+ <details>
57
+ <summary>Manual MCP configuration using JSON</summary>
58
+
59
+ ```json
60
+ {
61
+ "mcpServers": {
62
+ "pg-aiguide": {
63
+ "url": "https://mcp.tigerdata.com/docs"
64
+ }
65
+ }
66
+ }
67
+ ```
68
+
69
+ </details>
70
+
71
+ Or it can be used as a **Claude Code Plugin**:
72
+
73
+ ```bash
74
+ claude plugin marketplace add timescale/pg-aiguide
75
+ claude plugin install pg@aiguide
76
+ ```
77
+
78
+ ### Install by environment
79
+
80
+ #### One-click installs
81
+
82
+ [![Install in Cursor](https://img.shields.io/badge/Install_in-Cursor-000000?style=flat-square&logoColor=white)](https://cursor.com/en/install-mcp?name=pg-aiguide&config=eyJuYW1lIjoicGctYWlndWlkZSIsInR5cGUiOiJodHRwIiwidXJsIjoiaHR0cHM6Ly9tY3AudGlnZXJkYXRhLmNvbS9kb2NzIn0=)
83
+ [![Install in VS Code](https://img.shields.io/badge/Install_in-VS_Code-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect/mcp/install?name=pg-aiguide&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.tigerdata.com%2Fdocs%22%7D)
84
+ [![Install in VS Code Insiders](https://img.shields.io/badge/Install_in-VS_Code_Insiders-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=pg-aiguide&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.tigerdata.com%2Fdocs%22%7D&quality=insiders)
85
+ [![Install in Visual Studio](https://img.shields.io/badge/Install_in-Visual_Studio-C16FDE?style=flat-square&logo=visualstudio&logoColor=white)](https://vs-open.link/mcp-install?%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.tigerdata.com%2Fdocs%22%7D)
86
+ [![Install in Goose](https://block.github.io/goose/img/extension-install-dark.svg)](https://block.github.io/goose/extension?cmd=&arg=&id=pg-aiguide&name=pg-aiguide&description=MCP%20Server%20for%20pg-aiguide)
87
+ [![Add MCP Server pg-aiguide to LM Studio](https://files.lmstudio.ai/deeplink/mcp-install-light.svg)](https://lmstudio.ai/install-mcp?name=pg-aiguide&config=eyJuYW1lIjoicGctYWlndWlkZSIsInR5cGUiOiJodHRwIiwidXJsIjoiaHR0cHM6Ly9tY3AudGlnZXJkYXRhLmNvbS9kb2NzIn0=)
88
+
89
+ <details>
90
+ <summary>Claude Code</summary>
91
+
92
+ This repo serves as a claude code marketplace plugin. To install, run:
93
+
94
+ ```bash
95
+ claude plugin marketplace add timescale/pg-aiguide
96
+ claude plugin install pg@aiguide
97
+ ```
98
+
99
+ This plugin uses the skills available in the `skills` directory as well as our
100
+ publicly available MCP server endpoint hosted by TigerData for searching PostgreSQL documentation.
101
+
102
+ </details>
103
+
104
+ <details>
105
+ <summary> Codex </summary>
106
+
107
+ Run the following to add the MCP server to codex:
108
+
109
+ ```bash
110
+ codex mcp add --url "https://mcp.tigerdata.com/docs" pg-aiguide
111
+ ```
112
+
113
+ </details>
114
+
115
+ <details>
116
+ <summary> Cursor </summary>
117
+
118
+ One-click install:
119
+
120
+ [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=pg-aiguide&config=eyJ1cmwiOiJodHRwczovL21jcC50aWdlcmRhdGEuY29tL2RvY3MifQ%3D%3D)
121
+
122
+ Or add the following to `.cursor/mcp.json`
123
+
124
+ ```json
125
+ {
126
+ "mcpServers": {
127
+ "pg-aiguide": {
128
+ "url": "https://mcp.tigerdata.com/docs"
129
+ }
130
+ }
131
+ }
132
+ ```
133
+
134
+ </details>
135
+
136
+ <details>
137
+ <summary> Gemini CLI </summary>
138
+
139
+ Run the following to add the MCP server to Gemini CLI:
140
+
141
+ ```bash
142
+ gemini mcp add -s user pg-aiguide "https://mcp.tigerdata.com/docs" -t http
143
+ ```
144
+
145
+ </details>
146
+
147
+ <details>
148
+ <summary> Visual Studio </summary>
149
+
150
+ Click the button to install:
151
+
152
+ [![Install in Visual Studio](https://img.shields.io/badge/Install_in-Visual_Studio-C16FDE?style=flat-square&logo=visualstudio&logoColor=white)](https://vs-open.link/mcp-install?%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.tigerdata.com%2Fdocs%22%7D)
153
+
154
+ </details>
155
+
156
+ <details>
157
+ <summary> VS Code </summary>
158
+
159
+ Click the button to install:
160
+
161
+ [![Install in VS Code](https://img.shields.io/badge/Install_in-VS_Code-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect/mcp/install?name=pg-aiguide&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.tigerdata.com%2Fdocs%22%7D)
162
+
163
+ Alternatively, run the following to add the MCP server to VS Code:
164
+
165
+ ```bash
166
+ code --add-mcp '{"name":"pg-aiguide","type":"http","url":"https://mcp.tigerdata.com/docs"}'
167
+ ```
168
+
169
+ </details>
170
+
171
+ <details>
172
+ <summary> VS Code Insiders </summary>
173
+
174
+ Click the button to install:
175
+
176
+ [![Install in VS Code Insiders](https://img.shields.io/badge/Install_in-VS_Code_Insiders-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=pg-aiguide&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.tigerdata.com%2Fdocs%22%7D&quality=insiders)
177
+
178
+ Alternatively, run the following to add the MCP server to VS Code Insiders:
179
+
180
+ ```bash
181
+ code-insiders --add-mcp '{"name":"pg-aiguide","type":"http","url":"https://mcp.tigerdata.com/docs"}'
182
+ ```
183
+
184
+ </details>
185
+
186
+ <details>
187
+ <summary> Windsurf </summary>
188
+
189
+ Add the following to `~/.codeium/windsurf/mcp_config.json`
190
+
191
+ ```json
192
+ {
193
+ "mcpServers": {
194
+ "pg-aiguide": {
195
+ "serverUrl": "https://mcp.tigerdata.com/docs"
196
+ }
197
+ }
198
+ }
199
+ ```
200
+
201
+ </details>
202
+
203
+ ### 💡 Your First Prompt
204
+
205
+ Once installed, pg-aiguide can answer Postgres questions or design schemas.
206
+
207
+ **Simple schema example prompt**
208
+
209
+ > Create a Postgres table schema for storing usernames and unique email addresses.
210
+
211
+ **Complex schema example prompt**
212
+
213
+ > You are a senior software engineer. You are given a task to generate a Postgres schema for an IoT device company.
214
+ > The devices collect environmental data on a factory floor. The data includes temperature, humidity, pressure, as
215
+ > the main data points as well as other measurements that vary from device to device. Each device has a unique id
216
+ > and a human-readable name. We want to record the time the data was collected as well. Analysis for recent data
217
+ > includes finding outliers and anomalies based on measurements, as well as analyzing the data of particular devices for ad-hoc analysis. Historical data analysis includes analyzing the history of data for one device or getting statistics for all devices over long periods of time.
218
+
219
+ ## Features
220
+
221
+ ### Semantic Search (MCP Tools)
222
+
223
+ - [**`semantic_search_postgres_docs`**](API.md#semantic_search_postgres_docs)
224
+ Performs semantic search over the official PostgreSQL manual, with results scoped to a specific Postgres version.
225
+
226
+ - [**`semantic_search_tiger_docs`** ](API.md#semantic_search_tiger_docs)
227
+ Searches Tiger Data’s documentation corpus, including TimescaleDB and future ecosystem extensions.
228
+
229
+ ### Skills (AI-Optimized Best Practices)
230
+
231
+ - **[`view_skill`](API.md#view_skill)**
232
+ Exposes curated, opinionated PostgreSQL best-practice skills used automatically by AI coding assistants.
233
+
234
+ These skills provide guidance on:
235
+ - Schema design
236
+ - Indexing strategies
237
+ - Data types
238
+ - Data integrity and constraints
239
+ - Naming conventions
240
+ - Performance tuning
241
+ - Modern PostgreSQL features
242
+
243
+ ## 🔌 Ecosystem Documentation
244
+
245
+ Supported today:
246
+
247
+ - **TimescaleDB** (docs + skills)
248
+
249
+ Coming soon:
250
+
251
+ - **pgvector**
252
+ - **PostGIS**
253
+
254
+ We welcome contributions for additional extensions and tools.
255
+
256
+ ## 🛠 Development
257
+
258
+ See [DEVELOPMENT.md](DEVELOPMENT.md) for:
259
+
260
+ - running the MCP server locally
261
+ - adding new skills
262
+ - adding new docs
263
+
264
+ ## 🤝 Contributing
265
+
266
+ We welcome:
267
+
268
+ - new Postgres best-practice skills
269
+ - additional documentation corpora
270
+ - search quality improvements
271
+ - bug reports and feature ideas
272
+
273
+ ## 📄 License
274
+
275
+ Apache 2.0
@@ -0,0 +1 @@
1
+ 404: Not Found
@@ -0,0 +1 @@
1
+ 404: Not Found
@@ -0,0 +1 @@
1
+ 404: Not Found
@@ -0,0 +1,4 @@
1
+ ---
2
+ local:
3
+ type: local_collection
4
+ path: ./skills
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@brookmind/ai-toolkit",
3
+ "version": "1.0.0",
4
+ "description": "AI Toolkit installer for Claude Code and OpenCode - agents, skills, and MCPs",
5
+ "type": "module",
6
+ "main": "src/index.js",
7
+ "bin": {
8
+ "ai-toolkit": "./bin/cli.js"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "scripts": {
14
+ "start": "node bin/cli.js"
15
+ },
16
+ "keywords": [
17
+ "claude",
18
+ "opencode",
19
+ "ai",
20
+ "toolkit",
21
+ "agents",
22
+ "skills",
23
+ "mcp"
24
+ ],
25
+ "author": "CKW",
26
+ "license": "MIT",
27
+ "dependencies": {
28
+ "@inquirer/prompts": "^7.0.0",
29
+ "chalk": "^5.3.0",
30
+ "ora": "^8.0.0"
31
+ },
32
+ "engines": {
33
+ "node": ">=18.0.0"
34
+ },
35
+ "files": [
36
+ "bin",
37
+ "src",
38
+ "agents",
39
+ "skills",
40
+ "mcps"
41
+ ]
42
+ }
@@ -0,0 +1,151 @@
1
+ ---
2
+ name: cloudflare-cli
3
+ description: This skill should be used when the user wants to interact with Cloudflare services including Workers, R2 buckets, KV namespaces, D1 databases, DNS, or any Cloudflare-related operations. Use the wrangler CLI instead of MCP tools.
4
+ ---
5
+
6
+ # Cloudflare CLI Skill
7
+
8
+ This skill provides instructions for using the `wrangler` CLI to interact with Cloudflare, replacing the need for Cloudflare MCP servers.
9
+
10
+ ## Prerequisites
11
+
12
+ Wrangler is already authenticated. Verify with:
13
+
14
+ ```bash
15
+ npx wrangler whoami
16
+ ```
17
+
18
+ Account: **DC** (fd6d187f67d843db47f1949aa701ee52)
19
+
20
+ ## R2 (Object Storage)
21
+
22
+ ```bash
23
+ # List buckets
24
+ npx wrangler r2 bucket list
25
+
26
+ # Create bucket
27
+ npx wrangler r2 bucket create <bucket-name>
28
+
29
+ # Delete bucket
30
+ npx wrangler r2 bucket delete <bucket-name>
31
+
32
+ # List objects in bucket
33
+ npx wrangler r2 object list <bucket-name>
34
+
35
+ # Upload object
36
+ npx wrangler r2 object put <bucket-name>/<key> --file=<path>
37
+
38
+ # Download object
39
+ npx wrangler r2 object get <bucket-name>/<key> --file=<path>
40
+
41
+ # Delete object
42
+ npx wrangler r2 object delete <bucket-name>/<key>
43
+ ```
44
+
45
+ ## KV (Key-Value Store)
46
+
47
+ ```bash
48
+ # List namespaces
49
+ npx wrangler kv namespace list
50
+
51
+ # Create namespace
52
+ npx wrangler kv namespace create <name>
53
+
54
+ # Delete namespace
55
+ npx wrangler kv namespace delete --namespace-id=<id>
56
+
57
+ # List keys
58
+ npx wrangler kv key list --namespace-id=<id>
59
+
60
+ # Get value
61
+ npx wrangler kv key get <key> --namespace-id=<id>
62
+
63
+ # Put value
64
+ npx wrangler kv key put <key> <value> --namespace-id=<id>
65
+
66
+ # Delete key
67
+ npx wrangler kv key delete <key> --namespace-id=<id>
68
+ ```
69
+
70
+ ## D1 (SQL Database)
71
+
72
+ ```bash
73
+ # List databases
74
+ npx wrangler d1 list
75
+
76
+ # Create database
77
+ npx wrangler d1 create <name>
78
+
79
+ # Execute SQL query
80
+ npx wrangler d1 execute <database-name> --command="SELECT * FROM table"
81
+
82
+ # Execute SQL file
83
+ npx wrangler d1 execute <database-name> --file=./schema.sql
84
+
85
+ # Export database
86
+ npx wrangler d1 export <database-name> --output=backup.sql
87
+ ```
88
+
89
+ ## Workers
90
+
91
+ ```bash
92
+ # List workers
93
+ npx wrangler deployments list
94
+
95
+ # View worker details
96
+ npx wrangler deployments status
97
+
98
+ # Deploy worker
99
+ npx wrangler deploy
100
+
101
+ # Tail logs (real-time)
102
+ npx wrangler tail <worker-name>
103
+
104
+ # View worker code
105
+ npx wrangler deployments view
106
+ ```
107
+
108
+ ## DNS & Zones
109
+
110
+ ```bash
111
+ # List zones
112
+ npx wrangler dns zones list
113
+
114
+ # List DNS records
115
+ npx wrangler dns records list <zone-id>
116
+
117
+ # Create DNS record
118
+ npx wrangler dns records create <zone-id> --type=A --name=sub --content=1.2.3.4
119
+ ```
120
+
121
+ ## Pages
122
+
123
+ ```bash
124
+ # List projects
125
+ npx wrangler pages project list
126
+
127
+ # Deploy
128
+ npx wrangler pages deploy <directory> --project-name=<name>
129
+
130
+ # List deployments
131
+ npx wrangler pages deployment list --project-name=<name>
132
+ ```
133
+
134
+ ## Secrets
135
+
136
+ ```bash
137
+ # List secrets
138
+ npx wrangler secret list
139
+
140
+ # Add secret
141
+ npx wrangler secret put <name>
142
+
143
+ # Delete secret
144
+ npx wrangler secret delete <name>
145
+ ```
146
+
147
+ ## Tips
148
+
149
+ - Use `--json` flag for JSON output when available
150
+ - Use `--help` on any command for detailed options
151
+ - Most commands work with local `wrangler.toml` for project context
@@ -0,0 +1,30 @@
1
+ © 2025 Anthropic, PBC. All rights reserved.
2
+
3
+ LICENSE: Use of these materials (including all code, prompts, assets, files,
4
+ and other components of this Skill) is governed by your agreement with
5
+ Anthropic regarding use of Anthropic's services. If no separate agreement
6
+ exists, use is governed by Anthropic's Consumer Terms of Service or
7
+ Commercial Terms of Service, as applicable:
8
+ https://www.anthropic.com/legal/consumer-terms
9
+ https://www.anthropic.com/legal/commercial-terms
10
+ Your applicable agreement is referred to as the "Agreement." "Services" are
11
+ as defined in the Agreement.
12
+
13
+ ADDITIONAL RESTRICTIONS: Notwithstanding anything in the Agreement to the
14
+ contrary, users may not:
15
+
16
+ - Extract these materials from the Services or retain copies of these
17
+ materials outside the Services
18
+ - Reproduce or copy these materials, except for temporary copies created
19
+ automatically during authorized use of the Services
20
+ - Create derivative works based on these materials
21
+ - Distribute, sublicense, or transfer these materials to any third party
22
+ - Make, offer to sell, sell, or import any inventions embodied in these
23
+ materials
24
+ - Reverse engineer, decompile, or disassemble these materials
25
+
26
+ The receipt, viewing, or possession of these materials does not convey or
27
+ imply any license or right beyond those expressly granted above.
28
+
29
+ Anthropic retains all right, title, and interest in these materials,
30
+ including all copyrights, patents, and other intellectual property rights.