opencode-skills-collection 3.1.23 → 4.0.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 (241) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +24 -1
  2. package/bundled-skills/007/SKILL.md +2 -2
  3. package/bundled-skills/10-andruia-skill-smith/SKILL.md +1 -1
  4. package/bundled-skills/agent-squad/SKILL.md +5 -0
  5. package/bundled-skills/agent-squad/alex/SKILL.md +3 -0
  6. package/bundled-skills/agent-squad/aria/SKILL.md +3 -0
  7. package/bundled-skills/agent-squad/dep/SKILL.md +3 -0
  8. package/bundled-skills/agent-squad/luna/SKILL.md +4 -1
  9. package/bundled-skills/agent-squad/mason/SKILL.md +3 -0
  10. package/bundled-skills/agent-squad/max/SKILL.md +3 -0
  11. package/bundled-skills/agent-squad/quinn/SKILL.md +3 -0
  12. package/bundled-skills/agent-squad/rex/SKILL.md +3 -0
  13. package/bundled-skills/angular/metadata.json +1 -1
  14. package/bundled-skills/angular-best-practices/metadata.json +1 -1
  15. package/bundled-skills/angular-state-management/metadata.json +1 -1
  16. package/bundled-skills/angular-ui-patterns/metadata.json +1 -1
  17. package/bundled-skills/antigravity-skill-orchestrator/SKILL.md +2 -2
  18. package/bundled-skills/apify-actor-development/SKILL.md +2 -2
  19. package/bundled-skills/apple-container/SKILL.md +165 -0
  20. package/bundled-skills/apple-container/references/commands.md +1593 -0
  21. package/bundled-skills/apple-container/references/concepts.md +294 -0
  22. package/bundled-skills/apple-container/references/configuration.md +499 -0
  23. package/bundled-skills/apple-container/references/workflows.md +498 -0
  24. package/bundled-skills/ask-copilot/SKILL.md +112 -0
  25. package/bundled-skills/auto-research/SKILL.md +126 -0
  26. package/bundled-skills/brooks-lint/SKILL.md +1 -1
  27. package/bundled-skills/browser-harness/references/install.md +3 -1
  28. package/bundled-skills/chrome-extension-developer/SKILL.md +1 -1
  29. package/bundled-skills/clean-code-guard/SKILL.md +184 -0
  30. package/bundled-skills/clean-code-guard/references/ai-failure-modes.md +345 -0
  31. package/bundled-skills/clean-code-guard/references/comments-and-formatting.md +115 -0
  32. package/bundled-skills/clean-code-guard/references/dry-kiss-yagni.md +133 -0
  33. package/bundled-skills/clean-code-guard/references/naming-and-functions.md +187 -0
  34. package/bundled-skills/clean-code-guard/references/review-checklist.md +150 -0
  35. package/bundled-skills/clean-code-guard/references/solid.md +280 -0
  36. package/bundled-skills/clean-code-guard/references/sources.md +47 -0
  37. package/bundled-skills/cloudflare-security-audit/SKILL.md +137 -0
  38. package/bundled-skills/cloudflare-security-audit/references/AI-AND-LLM.md +67 -0
  39. package/bundled-skills/cloudflare-security-audit/references/ATTACK-CLASSES.md +116 -0
  40. package/bundled-skills/cloudflare-security-audit/references/CLIENT-SIDE.md +67 -0
  41. package/bundled-skills/cloudflare-security-audit/references/HUNTING.md +110 -0
  42. package/bundled-skills/cloudflare-security-audit/references/MEMORY-SAFETY-AND-BINARY.md +58 -0
  43. package/bundled-skills/cloudflare-security-audit/references/RECONNAISSANCE.md +46 -0
  44. package/bundled-skills/cloudflare-security-audit/references/VALIDATION-AND-REPORTING.md +109 -0
  45. package/bundled-skills/cloudflare-security-audit/references/WEB-PROTOCOL-AND-AUTH.md +85 -0
  46. package/bundled-skills/cloudflare-security-audit/resources/report-schema.json +210 -0
  47. package/bundled-skills/comfyui-gateway/references/troubleshooting.md +1 -1
  48. package/bundled-skills/commit/SKILL.md +2 -1
  49. package/bundled-skills/deepapi/SKILL.md +6 -6
  50. package/bundled-skills/docs/README.md +1 -1
  51. package/bundled-skills/docs/contributors/quality-bar.md +1 -1
  52. package/bundled-skills/docs/contributors/security-guardrails.md +1 -1
  53. package/bundled-skills/docs/integrations/jetski-cortex.md +5 -5
  54. package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +3 -3
  55. package/bundled-skills/docs/maintainers/ci-drift-fix.md +7 -5
  56. package/bundled-skills/docs/maintainers/merge-batch.md +24 -7
  57. package/bundled-skills/docs/maintainers/pr-autonomy.md +89 -0
  58. package/bundled-skills/docs/maintainers/release-notes-7.2.0.md +1 -1
  59. package/bundled-skills/docs/maintainers/release-process.md +9 -9
  60. package/bundled-skills/docs/maintainers/repo-growth-seo.md +5 -5
  61. package/bundled-skills/docs/maintainers/skills-date-tracking.md +1 -1
  62. package/bundled-skills/docs/maintainers/skills-update-guide.md +2 -2
  63. package/bundled-skills/docs/users/{antigravity-awesome-skills-vs-awesome-claude-skills.md → agentic-awesome-skills-vs-awesome-claude-skills.md} +5 -5
  64. package/bundled-skills/docs/users/ai-agent-skills.md +4 -4
  65. package/bundled-skills/docs/users/best-claude-code-skills-github.md +3 -3
  66. package/bundled-skills/docs/users/best-cursor-skills-github.md +3 -3
  67. package/bundled-skills/docs/users/bundles.md +56 -57
  68. package/bundled-skills/docs/users/claude-code-skills.md +6 -6
  69. package/bundled-skills/docs/users/codex-cli-skills.md +5 -5
  70. package/bundled-skills/docs/users/cursor-skills.md +3 -3
  71. package/bundled-skills/docs/users/faq.md +27 -15
  72. package/bundled-skills/docs/users/gemini-cli-skills.md +4 -4
  73. package/bundled-skills/docs/users/getting-started.md +22 -12
  74. package/bundled-skills/docs/users/kiro-integration.md +7 -7
  75. package/bundled-skills/docs/users/plugins.md +8 -9
  76. package/bundled-skills/docs/users/security-skills.md +1 -1
  77. package/bundled-skills/docs/users/skills-vs-mcp-tools.md +1 -1
  78. package/bundled-skills/docs/users/specialized-plugin-roadmap.md +3 -4
  79. package/bundled-skills/docs/users/usage.md +9 -9
  80. package/bundled-skills/docs/users/visual-guide.md +7 -7
  81. package/bundled-skills/docs/users/windows-truncation-recovery.md +1 -1
  82. package/bundled-skills/docs/users/workflows.md +1 -1
  83. package/bundled-skills/docs/vietnamese/BUNDLES.vi.md +1 -1
  84. package/bundled-skills/docs/vietnamese/FAQ.vi.md +15 -8
  85. package/bundled-skills/docs/vietnamese/GETTING_STARTED.vi.md +12 -5
  86. package/bundled-skills/docs/vietnamese/QUALITY_BAR.vi.md +1 -1
  87. package/bundled-skills/docs/vietnamese/README.vi.md +21 -17
  88. package/bundled-skills/docs/vietnamese/SECURITY_GUARDRAILS.vi.md +1 -1
  89. package/bundled-skills/docs/vietnamese/SKILLS_README.vi.md +2 -2
  90. package/bundled-skills/docs/vietnamese/TRANSLATION_PLAN.vi.md +1 -1
  91. package/bundled-skills/docs/vietnamese/VISUAL_GUIDE.vi.md +8 -8
  92. package/bundled-skills/docs-guard/SKILL.md +109 -0
  93. package/bundled-skills/docs-guard/references/code-samples.md +46 -0
  94. package/bundled-skills/docs-guard/references/docstrings.md +60 -0
  95. package/bundled-skills/docs-guard/references/review-checklist.md +45 -0
  96. package/bundled-skills/docs-guard/references/sources.md +22 -0
  97. package/bundled-skills/docs-guard/references/verification.md +51 -0
  98. package/bundled-skills/efficient-web-research/SKILL.md +4 -0
  99. package/bundled-skills/electron-development/SKILL.md +1 -1
  100. package/bundled-skills/event-staffing-compliance/SKILL.md +3 -0
  101. package/bundled-skills/event-staffing-ordering/SKILL.md +3 -0
  102. package/bundled-skills/feature-tracking/SKILL.md +222 -0
  103. package/bundled-skills/flutter-expert/SKILL.md +6 -1
  104. package/bundled-skills/flutter-expert/resources/implementation-playbook.md +214 -0
  105. package/bundled-skills/gemini-deep-research/README.md +246 -0
  106. package/bundled-skills/gemini-deep-research/SKILL.md +136 -0
  107. package/bundled-skills/gemini-deep-research/requirements.txt +2 -0
  108. package/bundled-skills/gemini-deep-research/scripts/research.py +692 -0
  109. package/bundled-skills/git-pushing/SKILL.md +21 -4
  110. package/bundled-skills/git-pushing/scripts/smart_commit.sh +206 -11
  111. package/bundled-skills/go-in-depth/scripts/workflow-script.js +4 -1
  112. package/bundled-skills/grok-build/SKILL.md +167 -0
  113. package/bundled-skills/grok-build/references/cli.md +99 -0
  114. package/bundled-skills/huggingface-tool-builder/references/find_models_by_paper.sh +1 -1
  115. package/bundled-skills/idea-autopsy/SKILL.md +147 -0
  116. package/bundled-skills/it-manager-hospital/README.md +1 -1
  117. package/bundled-skills/it-manager-pro/README.md +1 -1
  118. package/bundled-skills/itil-expert/README.md +1 -1
  119. package/bundled-skills/langgraph/SKILL.md +1 -1
  120. package/bundled-skills/linkedin-content-generator/SKILL.md +1 -1
  121. package/bundled-skills/lint-and-validate/scripts/lint_runner.py +23 -23
  122. package/bundled-skills/lint-and-validate/scripts/type_coverage.py +30 -30
  123. package/bundled-skills/logic-lens/SKILL.md +1 -1
  124. package/bundled-skills/lore/LICENSE +21 -0
  125. package/bundled-skills/lore/README.md +386 -0
  126. package/bundled-skills/lore/README.zh-CN.md +386 -0
  127. package/bundled-skills/lore/SKILL.md +453 -0
  128. package/bundled-skills/lore/WORKFLOWS.md +216 -0
  129. package/bundled-skills/lore/WORKFLOWS.zh-CN.md +216 -0
  130. package/bundled-skills/lore/references/audit-template.md +60 -0
  131. package/bundled-skills/lore/references/compatibility.md +228 -0
  132. package/bundled-skills/lore/references/config.md +125 -0
  133. package/bundled-skills/lore/references/entry-format.md +70 -0
  134. package/bundled-skills/lore/references/history-command.md +106 -0
  135. package/bundled-skills/lore/references/monorepo-detection.md +78 -0
  136. package/bundled-skills/lore/references/platform-mirrors.md +377 -0
  137. package/bundled-skills/lore/references/stale-new-markers.md +62 -0
  138. package/bundled-skills/lore/references/summary-template.md +98 -0
  139. package/bundled-skills/lore/scripts/README.md +54 -0
  140. package/bundled-skills/lore/scripts/README.zh-CN.md +54 -0
  141. package/bundled-skills/lore/scripts/find_duplicates.py +211 -0
  142. package/bundled-skills/lore/scripts/find_stale.py +116 -0
  143. package/bundled-skills/lore/scripts/history.py +527 -0
  144. package/bundled-skills/lore/scripts/id_hash.py +32 -0
  145. package/bundled-skills/lore/scripts/list_entries.py +183 -0
  146. package/bundled-skills/lovable-cleanup/SKILL.md +3 -3
  147. package/bundled-skills/makepad-splash/SKILL.md +1 -1
  148. package/bundled-skills/mmx-cli/SKILL.md +14 -1
  149. package/bundled-skills/monopoly/SKILL.md +5 -0
  150. package/bundled-skills/monopoly/patterns/SKILL.md +4 -0
  151. package/bundled-skills/monopoly/scale-benchmarks/SKILL.md +4 -0
  152. package/bundled-skills/monopoly/security-checklist/SKILL.md +4 -0
  153. package/bundled-skills/monopoly/tech-matrix/SKILL.md +4 -0
  154. package/bundled-skills/mtls-configuration/SKILL.md +1 -1
  155. package/bundled-skills/network-101/SKILL.md +4 -5
  156. package/bundled-skills/nika/SKILL.md +270 -0
  157. package/bundled-skills/not-a-vibe-coder/SKILL.md +4 -0
  158. package/bundled-skills/ontoly-software-graph/SKILL.md +160 -0
  159. package/bundled-skills/openclaw-github-repo-commander/SKILL.md +1 -1
  160. package/bundled-skills/pilot-protocol/SKILL.md +6 -3
  161. package/bundled-skills/postgres-readonly-queries/README.md +77 -0
  162. package/bundled-skills/postgres-readonly-queries/SKILL.md +152 -0
  163. package/bundled-skills/postgres-readonly-queries/connections.example.json +34 -0
  164. package/bundled-skills/postgres-readonly-queries/requirements.txt +1 -0
  165. package/bundled-skills/postgres-readonly-queries/scripts/query.py +262 -0
  166. package/bundled-skills/pptx-deck-creation/SKILL.md +275 -0
  167. package/bundled-skills/pptx-deck-creation/references/audit-checklist.md +156 -0
  168. package/bundled-skills/pptx-deck-creation/references/design-profiles.md +96 -0
  169. package/bundled-skills/pptx-deck-creation/references/python-snippets.md +150 -0
  170. package/bundled-skills/pptx-deck-creation/references/reference-deck-analysis.md +91 -0
  171. package/bundled-skills/pptx-deck-creation/references/visual-asset-adapters.md +158 -0
  172. package/bundled-skills/privilege-escalation-methods/SKILL.md +1 -1
  173. package/bundled-skills/product-decision-agent/SKILL.md +94 -0
  174. package/bundled-skills/product-decision-agent/agents/openai.yaml +7 -0
  175. package/bundled-skills/product-decision-agent/references/methodology-basis.md +232 -0
  176. package/bundled-skills/product-decision-agent/references/product-playbooks.md +813 -0
  177. package/bundled-skills/product-decision-agent/references/reasoning-engine.md +289 -0
  178. package/bundled-skills/product-decision-agent/references/response-examples.md +279 -0
  179. package/bundled-skills/product-decision-agent/scripts/quality_gate.py +221 -0
  180. package/bundled-skills/product-decision-agent/scripts/test_quality_gate.py +94 -0
  181. package/bundled-skills/pytest-skill/reference/playbook.md +358 -0
  182. package/bundled-skills/quit-sponsor/SKILL.md +96 -0
  183. package/bundled-skills/rclone-cli/references/providers/s3.md +1 -1
  184. package/bundled-skills/security-and-hardening/SKILL.md +1 -1
  185. package/bundled-skills/semgrep-rule-creator/SKILL.md +6 -6
  186. package/bundled-skills/skill-creator/README.md +3 -3
  187. package/bundled-skills/skill-creator/SKILL.md +8 -4
  188. package/bundled-skills/skill-creator/scripts/quick_validate.py +1 -1
  189. package/bundled-skills/sql-injection-testing/SKILL.md +4 -4
  190. package/bundled-skills/subagent-orchestrator/README.md +1 -1
  191. package/bundled-skills/super-code/bash/SKILL.md +3 -0
  192. package/bundled-skills/super-code/c/SKILL.md +3 -0
  193. package/bundled-skills/super-code/cpp/SKILL.md +3 -0
  194. package/bundled-skills/super-code/csharp/SKILL.md +3 -0
  195. package/bundled-skills/super-code/dart/SKILL.md +3 -0
  196. package/bundled-skills/super-code/elixir/SKILL.md +3 -0
  197. package/bundled-skills/super-code/go/SKILL.md +3 -0
  198. package/bundled-skills/super-code/java/SKILL.md +3 -0
  199. package/bundled-skills/super-code/kotlin/SKILL.md +3 -0
  200. package/bundled-skills/super-code/php/SKILL.md +3 -0
  201. package/bundled-skills/super-code/python/SKILL.md +3 -0
  202. package/bundled-skills/super-code/ruby/SKILL.md +3 -0
  203. package/bundled-skills/super-code/rust/SKILL.md +3 -0
  204. package/bundled-skills/super-code/scala/SKILL.md +3 -0
  205. package/bundled-skills/super-code/swift/SKILL.md +3 -0
  206. package/bundled-skills/super-code/typescript/SKILL.md +3 -0
  207. package/bundled-skills/telegram-bot-messaging/README.md +185 -0
  208. package/bundled-skills/telegram-bot-messaging/SKILL.md +101 -0
  209. package/bundled-skills/telegram-bot-messaging/scripts/telegram.sh +420 -0
  210. package/bundled-skills/test-guard/SKILL.md +132 -0
  211. package/bundled-skills/test-guard/references/jest.md +50 -0
  212. package/bundled-skills/test-guard/references/llm-app-testing.md +40 -0
  213. package/bundled-skills/test-guard/references/phpunit.md +56 -0
  214. package/bundled-skills/test-guard/references/pytest.md +65 -0
  215. package/bundled-skills/trading-ledger/SKILL.md +11 -3
  216. package/bundled-skills/uizze-ui-research/SKILL.md +93 -0
  217. package/bundled-skills/vibe-code-auditor/SKILL.md +1 -1
  218. package/bundled-skills/vibecode-production-qa-validator/SKILL.md +1 -1
  219. package/bundled-skills/videodb/scripts/ws_listener.py +29 -15
  220. package/bundled-skills/voice-ai-engine-development/README.md +1 -1
  221. package/bundled-skills/vulnerability-scanner/SKILL.md +1 -1
  222. package/bundled-skills/warehouse/SKILL.md +154 -0
  223. package/bundled-skills/woo-guard/SKILL.md +113 -0
  224. package/bundled-skills/woo-guard/references/checkout-and-money.md +64 -0
  225. package/bundled-skills/woo-guard/references/hpos-and-crud.md +87 -0
  226. package/bundled-skills/woo-guard/references/review-checklist.md +44 -0
  227. package/bundled-skills/woo-guard/references/sources.md +17 -0
  228. package/bundled-skills/wp-guard/SKILL.md +119 -0
  229. package/bundled-skills/wp-guard/references/i18n.md +88 -0
  230. package/bundled-skills/wp-guard/references/performance.md +70 -0
  231. package/bundled-skills/wp-guard/references/review-checklist.md +57 -0
  232. package/bundled-skills/wp-guard/references/security.md +100 -0
  233. package/bundled-skills/wp-guard/references/sources.md +27 -0
  234. package/bundled-skills/writing-skills/gotchas.md +1 -1
  235. package/bundled-skills/writing-skills/references/standards/metadata-standard.md +1 -1
  236. package/bundled-skills/x-twitter-scraper/SKILL.md +14 -32
  237. package/bundled-skills/xss-html-injection/SKILL.md +3 -3
  238. package/bundled-skills/youtube-seo-optimizer/SKILL.md +1 -1
  239. package/bundled-skills/youtube-summarizer/CHANGELOG.md +2 -2
  240. package/package.json +1 -1
  241. package/skills_index.json +273 -0
@@ -0,0 +1,160 @@
1
+ ---
2
+ name: ontoly-software-graph
3
+ description: "Use Ontoly's deterministic Software Graph, MCP server, and agent skills for architecture review, request tracing, impact analysis, and dependency analysis."
4
+ category: development
5
+ risk: critical
6
+ source: community
7
+ source_repo: 0xsarwagya/ontoly
8
+ source_type: community
9
+ date_added: "2026-07-14"
10
+ author: 0xsarwagya
11
+ tags: [software-graph, codebase-analysis, mcp, typescript, architecture, impact-analysis]
12
+ tools: [claude, cursor, gemini, codex, antigravity]
13
+ license: MIT
14
+ license_source: "https://github.com/0xsarwagya/ontoly/blob/main/LICENSE"
15
+ ---
16
+
17
+ # Ontoly Software Graph
18
+
19
+ ## Overview
20
+
21
+ Ontoly builds a deterministic Software Graph from a TypeScript repository and exposes it through CLI queries, MCP capabilities, and agent skills. Use this skill when a coding agent needs evidence-backed codebase understanding before searching files directly.
22
+
23
+ This skill is an operating guide for the public Ontoly project. It does not contain compiler logic; all software understanding should come from Ontoly's generated graph, semantic model, query engine, and MCP server.
24
+
25
+ ## When to Use This Skill
26
+
27
+ - Use when the user asks for repository architecture, module ownership, or onboarding help.
28
+ - Use when tracing a request, route, controller, service, provider, dependency, or call chain.
29
+ - Use when estimating impact for removing, renaming, or refactoring a symbol, module, package, route, or service.
30
+ - Use when reviewing dependency topology, circular imports, dead code, configuration usage, or environment variables.
31
+ - Use when the user explicitly wants Ontoly, Software Graph, MCP, graph validation, semantic coverage, or agent skills.
32
+
33
+ ## How It Works
34
+
35
+ ### Step 1: Verify Ontoly Is Available
36
+
37
+ Check whether the repository already has Ontoly outputs such as `.ontoly/`, `SoftwareGraph.json`, validation reports, or documented Ontoly scripts. If the `ontoly` command is unavailable, ask the user whether to install or use the repository's documented package manager command.
38
+
39
+ Recommended local checks:
40
+
41
+ ```bash
42
+ ontoly --help
43
+ find . -maxdepth 3 \( -name "SoftwareGraph.json" -o -name ".ontoly" \) -print
44
+ ```
45
+
46
+ ### Step 2: Build or Refresh the Graph
47
+
48
+ Only run a graph build in the repository the user asked about. Tell the user that graph generation may create local Ontoly artifacts before running it.
49
+
50
+ ```bash
51
+ ontoly build .
52
+ ```
53
+
54
+ If the project documents a different command, prefer the documented command over guessing.
55
+
56
+ ### Step 3: Check Trust, Diagnostics, and Coverage
57
+
58
+ Before answering architectural questions, inspect Ontoly diagnostics, graph statistics, trust, and semantic coverage. Treat unresolved imports, low trust, missing framework detection, or graph validation failures as answer constraints.
59
+
60
+ Use the CLI or MCP capabilities exposed by the installed Ontoly version. Prefer structured graph queries over text search.
61
+
62
+ ### Step 4: Use Ontoly MCP Capabilities
63
+
64
+ Start or connect to the Ontoly MCP server when the host supports MCP:
65
+
66
+ ```bash
67
+ ontoly mcp
68
+ ```
69
+
70
+ Use capabilities such as architecture summaries, dependency analysis, request tracing, impact analysis, configuration lookup, framework reports, dead-code analysis, and graph validation when available.
71
+
72
+ ### Step 5: Answer With Evidence
73
+
74
+ Every answer should include:
75
+
76
+ - The Ontoly capability or query used.
77
+ - The node, edge, route, package, or diagnostic evidence that supports the answer.
78
+ - A confidence statement derived from graph evidence.
79
+ - Any known limitations caused by missing graph regions or diagnostics.
80
+
81
+ ### Step 6: Fall Back Gracefully
82
+
83
+ Only inspect repository files directly when Ontoly cannot answer, the graph is missing, diagnostics make the graph untrustworthy for the question, or the user asks for source-level verification. When falling back, explain which graph evidence was insufficient.
84
+
85
+ ## Examples
86
+
87
+ ### Architecture Review
88
+
89
+ User asks: "Explain this repository."
90
+
91
+ Workflow:
92
+
93
+ 1. Verify or build the Ontoly graph.
94
+ 2. Check graph trust, diagnostics, detected frameworks, packages, modules, services, routes, and largest dependency hubs.
95
+ 3. Use Ontoly's architecture summary or equivalent query.
96
+ 4. Report the architecture with graph evidence and confidence.
97
+
98
+ ### Request Tracing
99
+
100
+ User asks: "Trace the login flow."
101
+
102
+ Workflow:
103
+
104
+ 1. Search graph nodes for authentication routes and controllers.
105
+ 2. Trace route-to-controller-to-service-to-repository relationships.
106
+ 3. Include unresolved edges or missing relationships as limitations.
107
+ 4. Avoid opening source files unless the graph cannot identify the flow.
108
+
109
+ ### Impact Analysis
110
+
111
+ User asks: "What breaks if I remove UserRepository?"
112
+
113
+ Workflow:
114
+
115
+ 1. Locate the graph node for `UserRepository`.
116
+ 2. Query callers, consumers, dependency injection edges, modules, routes, and packages that reference it.
117
+ 3. Separate direct dependents from transitive impact.
118
+ 4. Include confidence based on explicit graph relationships.
119
+
120
+ ## Best Practices
121
+
122
+ - Prefer Ontoly graph queries before grep, AST parsing, or broad file search.
123
+ - Keep graph evidence separate from inference.
124
+ - Treat diagnostics as part of the answer, not as noise.
125
+ - Use exact node IDs, route paths, package names, and relationship names when available.
126
+ - Rebuild the graph after large user changes before making claims about current architecture.
127
+ - Keep fallbacks narrow and explain why they were needed.
128
+
129
+ ## Limitations
130
+
131
+ - Ontoly does not replace compiler, test, or runtime validation.
132
+ - Graph quality depends on the Ontoly version, supported language frontend, repository setup, and diagnostics.
133
+ - Missing or partial framework detection lowers confidence for framework-specific answers.
134
+ - Do not claim a relationship exists unless it is present in the graph or clearly labeled as an inference.
135
+ - Stop and ask for clarification if the repository path, target graph, or requested analysis scope is ambiguous.
136
+
137
+ ## Security & Safety Notes
138
+
139
+ - Run Ontoly only on repositories the user is authorized to analyze.
140
+ - Do not send graph files, source code, environment variables, diagnostics, or repository metadata to external services unless the user explicitly requests it.
141
+ - Treat environment-variable nodes, configuration nodes, and diagnostics as potentially sensitive.
142
+ - Graph generation is local analysis but can create files such as graph output, diagnostics, indexes, or caches inside the repository.
143
+ - Do not execute project build scripts, package installation, or network commands unless they are documented by the repository or approved by the user.
144
+
145
+ ## Common Pitfalls
146
+
147
+ - **Problem:** Answering from file search even though the graph already contains the relationship.
148
+ **Solution:** Query Ontoly first and use file inspection only as a fallback.
149
+
150
+ - **Problem:** Reporting low-confidence inference as a graph fact.
151
+ **Solution:** Label the claim as inferred and cite the supporting graph evidence separately.
152
+
153
+ - **Problem:** Ignoring diagnostics.
154
+ **Solution:** Include graph validation and compiler diagnostics when they affect confidence.
155
+
156
+ ## Related Skills
157
+
158
+ - `@developer-onboarding` - Use for broad onboarding when Ontoly is unavailable.
159
+ - `@sdk-dx` - Use for SDK design and developer experience reviews after Ontoly identifies public APIs.
160
+ - `@api-onboarding` - Use for API-specific onboarding when route and operation evidence is available.
@@ -91,7 +91,7 @@ Compare my skill repo with the top 5 similar repos on GitHub
91
91
 
92
92
  ## Source Attribution
93
93
 
94
- Originally contributed by [@wd041216-bit](https://github.com/wd041216-bit) in [PR #340](https://github.com/sickn33/antigravity-awesome-skills/pull/340). No standalone upstream repository is currently available for this skill.
94
+ Originally contributed by [@wd041216-bit](https://github.com/wd041216-bit) in [PR #340](https://github.com/sickn33/agentic-awesome-skills/pull/340). No standalone upstream repository is currently available for this skill.
95
95
 
96
96
  **License**: MIT | **Version**: 4.0.0
97
97
 
@@ -49,9 +49,12 @@ If this skill adapts material from an external GitHub repository, it declares:
49
49
  Download the installer, inspect it, then run it — do not pipe it straight into a shell.
50
50
 
51
51
  ```bash
52
- curl -fsSL https://pilotprotocol.network/install.sh -o /tmp/pilot-install.sh
53
- less /tmp/pilot-install.sh # review before executing
54
- sh /tmp/pilot-install.sh
52
+ tmpdir="$(mktemp -d)"
53
+ trap 'rm -rf "$tmpdir"' EXIT
54
+ installer="$tmpdir/pilot-install.sh"
55
+ curl --fail --show-error --location https://pilotprotocol.network/install.sh -o "$installer"
56
+ less "$installer" # review the complete installer before executing
57
+ sh "$installer"
55
58
  ```
56
59
 
57
60
  ### Step 2: Start the node and confirm it registered
@@ -0,0 +1,77 @@
1
+ # postgres
2
+
3
+ Read-only PostgreSQL query skill. Query multiple databases safely with write protection.
4
+
5
+ ## Setup
6
+
7
+ 1. Copy the example config:
8
+ ```bash
9
+ cp connections.example.json connections.json
10
+ ```
11
+
12
+ 2. Add your database credentials:
13
+ ```json
14
+ {
15
+ "databases": [
16
+ {
17
+ "name": "prod",
18
+ "description": "Production - users, orders, transactions",
19
+ "host": "db.example.com",
20
+ "port": 5432,
21
+ "database": "app_prod",
22
+ "user": "readonly",
23
+ "password": "secret",
24
+ "sslmode": "require"
25
+ }
26
+ ]
27
+ }
28
+ ```
29
+
30
+ 3. Secure the config:
31
+ ```bash
32
+ chmod 600 connections.json
33
+ ```
34
+
35
+ ## Usage
36
+
37
+ ```bash
38
+ # List configured databases
39
+ python3 scripts/query.py --list
40
+
41
+ # List tables
42
+ python3 scripts/query.py --db prod --tables
43
+
44
+ # Show schema
45
+ python3 scripts/query.py --db prod --schema
46
+
47
+ # Run query
48
+ python3 scripts/query.py --db prod --query "SELECT * FROM users" --limit 100
49
+ ```
50
+
51
+ ## Config Fields
52
+
53
+ | Field | Required | Default | Description |
54
+ |-------|----------|---------|-------------|
55
+ | name | Yes | - | Database identifier |
56
+ | description | Yes | - | What data it contains (for auto-selection) |
57
+ | host | Yes | - | Hostname |
58
+ | port | No | 5432 | Port |
59
+ | database | Yes | - | Database name |
60
+ | user | Yes | - | Username |
61
+ | password | Yes | - | Password |
62
+ | sslmode | No | prefer | disable, allow, prefer, require, verify-ca, verify-full |
63
+
64
+ ## Safety Features
65
+
66
+ - **Read-only sessions**: PostgreSQL `readonly=True` mode blocks writes at database level
67
+ - **Query validation**: Only SELECT, SHOW, EXPLAIN, WITH allowed
68
+ - **Single statement**: No multi-statement queries (prevents `SELECT 1; DROP TABLE`)
69
+ - **Timeouts**: 30s query timeout, 10s connection timeout
70
+ - **Memory cap**: Max 10,000 rows per query
71
+ - **Credential protection**: Passwords sanitized from error messages
72
+
73
+ ## Requirements
74
+
75
+ ```bash
76
+ pip install psycopg2-binary
77
+ ```
@@ -0,0 +1,152 @@
1
+ ---
2
+ name: postgres-readonly-queries
3
+ description: "Execute safe read-only SQL queries against PostgreSQL databases with multi-connection support and defense-in-depth write protection."
4
+ category: data
5
+ risk: safe
6
+ source: https://github.com/sanjay3290/ai-skills/tree/main/skills/postgres
7
+ source_repo: sanjay3290/ai-skills
8
+ source_type: community
9
+ date_added: "2026-07-09"
10
+ author: sanjay3290
11
+ tags: [postgres, sql, database, read-only]
12
+ tools: [claude, cursor, gemini]
13
+ license: "Apache-2.0"
14
+ license_source: "https://github.com/sanjay3290/ai-skills/blob/main/LICENSE"
15
+ ---
16
+
17
+ # PostgreSQL Read-Only Query Skill
18
+
19
+ ## When to Use
20
+
21
+ - Use when querying PostgreSQL databases and access must stay strictly read-only
22
+ - Use when exploring schemas, tables, and data across multiple configured connections
23
+ - Use when you want defense-in-depth protection against accidental INSERT/UPDATE/DELETE or DDL
24
+
25
+ Execute safe, read-only queries against configured PostgreSQL databases.
26
+
27
+ ## Requirements
28
+
29
+ - Python 3.8+
30
+ - psycopg2-binary: `pip install -r requirements.txt`
31
+
32
+ ## Setup
33
+
34
+ Create `connections.json` in the skill directory or `~/.config/claude/postgres-connections.json`.
35
+
36
+ **Security**: Set file permissions to `600` since it contains credentials:
37
+ ```bash
38
+ chmod 600 connections.json
39
+ ```
40
+
41
+ ```json
42
+ {
43
+ "databases": [
44
+ {
45
+ "name": "production",
46
+ "description": "Main app database - users, orders, transactions",
47
+ "host": "db.example.com",
48
+ "port": 5432,
49
+ "database": "app_prod",
50
+ "user": "readonly_user",
51
+ "password": "your-password",
52
+ "sslmode": "require"
53
+ }
54
+ ]
55
+ }
56
+ ```
57
+
58
+ ### Config Fields
59
+
60
+ | Field | Required | Description |
61
+ |-------|----------|-------------|
62
+ | name | Yes | Identifier for the database (case-insensitive) |
63
+ | description | Yes | What data this database contains (used for auto-selection) |
64
+ | host | Yes | Database hostname |
65
+ | port | No | Port number (default: 5432) |
66
+ | database | Yes | Database name |
67
+ | user | Yes | Username |
68
+ | password | Yes | Password |
69
+ | sslmode | No | SSL mode: disable, allow, prefer (default), require, verify-ca, verify-full |
70
+
71
+ ## Usage
72
+
73
+ ### List configured databases
74
+ ```bash
75
+ python3 scripts/query.py --list
76
+ ```
77
+
78
+ ### Query a database
79
+ ```bash
80
+ python3 scripts/query.py --db production --query "SELECT * FROM users LIMIT 10"
81
+ ```
82
+
83
+ ### List tables
84
+ ```bash
85
+ python3 scripts/query.py --db production --tables
86
+ ```
87
+
88
+ ### Show schema
89
+ ```bash
90
+ python3 scripts/query.py --db production --schema
91
+ ```
92
+
93
+ ### Limit results
94
+ ```bash
95
+ python3 scripts/query.py --db production --query "SELECT * FROM orders" --limit 100
96
+ ```
97
+
98
+ ## Database Selection
99
+
100
+ Match user intent to database `description`:
101
+
102
+ | User asks about | Look for description containing |
103
+ |-----------------|--------------------------------|
104
+ | users, accounts | users, accounts, customers |
105
+ | orders, sales | orders, transactions, sales |
106
+ | analytics, metrics | analytics, metrics, reports |
107
+ | logs, events | logs, events, audit |
108
+
109
+ If unclear, run `--list` and ask user which database.
110
+
111
+ ## Safety Features
112
+
113
+ - **Read-only session**: Connection uses PostgreSQL `readonly=True` mode (primary protection)
114
+ - **Query validation**: Only SELECT, SHOW, EXPLAIN, WITH queries allowed
115
+ - **Single statement**: Multiple statements per query rejected
116
+ - **SSL support**: Configurable SSL mode for encrypted connections
117
+ - **Query timeout**: 30-second statement timeout enforced
118
+ - **Memory protection**: Max 10,000 rows per query to prevent OOM
119
+ - **Column width cap**: 100 char max per column for readable output
120
+ - **Credential sanitization**: Error messages don't leak passwords
121
+
122
+ ## Troubleshooting
123
+
124
+ | Error | Solution |
125
+ |-------|----------|
126
+ | Config not found | Create `connections.json` in skill directory |
127
+ | Authentication failed | Check username/password in config |
128
+ | Connection timeout | Verify host/port, check firewall/VPN |
129
+ | SSL error | Try `"sslmode": "disable"` for local databases |
130
+ | Permission warning | Run `chmod 600 connections.json` |
131
+
132
+ ## Exit Codes
133
+
134
+ - **0**: Success
135
+ - **1**: Error (config missing, auth failed, invalid query, database error)
136
+
137
+ ## Workflow
138
+
139
+ 1. Run `--list` to show available databases
140
+ 2. Match user intent to database description
141
+ 3. Run `--tables` or `--schema` to explore structure
142
+ 4. Execute query with appropriate LIMIT
143
+
144
+ ## Limitations
145
+
146
+ - Read-only protections reduce accidental writes but cannot override database-server policy,
147
+ triggers, extensions, or an over-privileged account. Use a database role with read-only
148
+ permissions as the primary control.
149
+ - Query results can contain personal, confidential, or regulated data. Confirm the intended
150
+ database and avoid exporting or sharing results without explicit authorization.
151
+ - The script is not a replacement for backups, auditing, access reviews, or production change
152
+ controls.
@@ -0,0 +1,34 @@
1
+ {
2
+ "databases": [
3
+ {
4
+ "name": "production",
5
+ "description": "Main production database - users, orders, transactions, accounts",
6
+ "host": "prod-db.example.com",
7
+ "port": 5432,
8
+ "database": "app_prod",
9
+ "user": "readonly_user",
10
+ "password": "your-password-here",
11
+ "sslmode": "require"
12
+ },
13
+ {
14
+ "name": "analytics",
15
+ "description": "Analytics warehouse - aggregated metrics, reports, historical data",
16
+ "host": "analytics-db.example.com",
17
+ "port": 5432,
18
+ "database": "analytics",
19
+ "user": "analyst",
20
+ "password": "your-password-here",
21
+ "sslmode": "require"
22
+ },
23
+ {
24
+ "name": "staging",
25
+ "description": "Staging environment - mirrors production for testing",
26
+ "host": "localhost",
27
+ "port": 5432,
28
+ "database": "app_staging",
29
+ "user": "dev",
30
+ "password": "dev-password",
31
+ "sslmode": "prefer"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1 @@
1
+ psycopg2-binary>=2.9,<3.0