@omnifyjp/omnify 0.2.4 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -385,6 +385,21 @@ Add to `.mcp.json`:
385
385
  | `omnify_list_types` | List all property types (built-in, compound, simple, enum) |
386
386
  | `omnify_validate` | Validate YAML against the schema system with target verification |
387
387
 
388
+ ### MCP Prompts (Slash Commands) / スラッシュコマンド
389
+
390
+ MCP prompts appear as autocomplete options when you type `/` in your editor.
391
+
392
+ MCPプロンプトはエディタで`/`を入力すると自動補完されます。
393
+
394
+ | Prompt | Usage | Description |
395
+ |--------|-------|-------------|
396
+ | `create_schema` | `/create_schema "Product with name, price, category"` | Create a new schema with full project context (existing schemas, types, locales) |
397
+ | `add_property` | `/add_property schema=Product "email field"` | Add a property to an existing schema with type guidance |
398
+ | `review_schema` | `/review_schema schema=User` | Review schema for best practices, missing fields, improvements |
399
+
400
+ In Claude Code, prompts are accessed via `/mcp__omnify__create_schema`.
401
+ In Cursor, prompts appear in the `/` autocomplete menu.
402
+
388
403
  ---
389
404
 
390
405
  ## TypeScript Editor DX / TypeScriptエディタ支援
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnifyjp/omnify",
3
- "version": "0.2.4",
3
+ "version": "0.3.1",
4
4
  "description": "Schema-driven code generation for Laravel, TypeScript, and SQL",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -36,10 +36,10 @@
36
36
  "zod": "^3.24.0"
37
37
  },
38
38
  "optionalDependencies": {
39
- "@omnifyjp/omnify-darwin-arm64": "0.2.4",
40
- "@omnifyjp/omnify-darwin-x64": "0.2.4",
41
- "@omnifyjp/omnify-linux-x64": "0.2.4",
42
- "@omnifyjp/omnify-linux-arm64": "0.2.4",
43
- "@omnifyjp/omnify-win32-x64": "0.2.4"
39
+ "@omnifyjp/omnify-darwin-arm64": "0.3.1",
40
+ "@omnifyjp/omnify-darwin-x64": "0.3.1",
41
+ "@omnifyjp/omnify-linux-x64": "0.3.1",
42
+ "@omnifyjp/omnify-linux-arm64": "0.3.1",
43
+ "@omnifyjp/omnify-win32-x64": "0.3.1"
44
44
  }
45
45
  }