lintbase-mcp 0.1.7 → 0.1.8

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/package.json +1 -1
  2. package/skill/SKILL.md +21 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lintbase-mcp",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "mcpName": "io.github.Madia333/lintbase-mcp",
5
5
  "description": "MCP server for LintBase — give AI coding agents real-time database schema context.",
6
6
  "main": "dist/server.js",
package/skill/SKILL.md CHANGED
@@ -42,6 +42,27 @@ lintbase_get_schema({
42
42
  })
43
43
  ```
44
44
 
45
+ **Optional: persist schema to disk as Markdown** (great for Obsidian, team docs, or permanent AI context):
46
+
47
+ ```
48
+ lintbase_get_schema({
49
+ keyPath: "./service-account.json",
50
+ format: "md",
51
+ outPath: "./.lintbase/schema" // directory — one .md file per collection + README.md index
52
+ })
53
+
54
+ // Or for a single collection:
55
+ lintbase_get_schema({
56
+ keyPath: "./service-account.json",
57
+ collection: "users",
58
+ format: "md",
59
+ outPath: "./docs/schema/users.md" // full file path
60
+ })
61
+ ```
62
+
63
+ The output is Obsidian-compatible (YAML frontmatter, callouts, wikilinks between collections).
64
+ Commit `.lintbase/schema/` to your repo to give every team member and AI agent instant schema context.
65
+
45
66
  **Read the output carefully:**
46
67
  - ✅ Fields with `100%` presence and a single type are stable — safe to use
47
68
  - ⚠️ Fields with `<80%` presence should be treated as **optional** — always use null checks