opencode-skills-collection 4.0.69 → 4.0.70
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.
- package/bundled-skills/.antigravity-install-manifest.json +39 -1
- package/bundled-skills/api-integration-architect/SKILL.md +241 -0
- package/bundled-skills/apify-generate-output-schema/SKILL.md +438 -0
- package/bundled-skills/apify-integration-development/SKILL.md +168 -0
- package/bundled-skills/apify-integration-development/references/ai-framework-package.md +158 -0
- package/bundled-skills/apify-integration-development/references/ai-harness-plugin.md +192 -0
- package/bundled-skills/apify-integration-development/references/sdk-integration.md +236 -0
- package/bundled-skills/apify-integration-development/references/workflow-automation.md +163 -0
- package/bundled-skills/architecture-review/README.md +42 -0
- package/bundled-skills/architecture-review/SKILL.md +77 -0
- package/bundled-skills/architecture-review/examples.md +11 -0
- package/bundled-skills/architecture-review/reference/best-practices.md +7 -0
- package/bundled-skills/architecture-review/reference/capabilities.md +20 -0
- package/bundled-skills/architecture-review/reference/fallbacks.md +11 -0
- package/bundled-skills/architecture-review/reference/graph.md +15 -0
- package/bundled-skills/architecture-review/reference/mcp.md +14 -0
- package/bundled-skills/architecture-review/reference/workflow.md +15 -0
- package/bundled-skills/architecture-review/templates/architecture-review.md +21 -0
- package/bundled-skills/code-review-sensei/SKILL.md +177 -0
- package/bundled-skills/codebase-onboarding/README.md +42 -0
- package/bundled-skills/codebase-onboarding/SKILL.md +77 -0
- package/bundled-skills/codebase-onboarding/examples.md +11 -0
- package/bundled-skills/codebase-onboarding/reference/best-practices.md +7 -0
- package/bundled-skills/codebase-onboarding/reference/capabilities.md +20 -0
- package/bundled-skills/codebase-onboarding/reference/fallbacks.md +11 -0
- package/bundled-skills/codebase-onboarding/reference/graph.md +15 -0
- package/bundled-skills/codebase-onboarding/reference/mcp.md +14 -0
- package/bundled-skills/codebase-onboarding/reference/workflow.md +15 -0
- package/bundled-skills/codebase-onboarding/templates/repository-onboarding.md +21 -0
- package/bundled-skills/connection-auth-rules/SKILL.md +199 -0
- package/bundled-skills/connection-auth-rules/fetch_schema.py +320 -0
- package/bundled-skills/dependency-analysis/README.md +42 -0
- package/bundled-skills/dependency-analysis/SKILL.md +76 -0
- package/bundled-skills/dependency-analysis/examples.md +11 -0
- package/bundled-skills/dependency-analysis/reference/best-practices.md +7 -0
- package/bundled-skills/dependency-analysis/reference/capabilities.md +20 -0
- package/bundled-skills/dependency-analysis/reference/fallbacks.md +11 -0
- package/bundled-skills/dependency-analysis/reference/graph.md +15 -0
- package/bundled-skills/dependency-analysis/reference/mcp.md +14 -0
- package/bundled-skills/dependency-analysis/reference/workflow.md +15 -0
- package/bundled-skills/dependency-analysis/templates/dependency-review.md +21 -0
- package/bundled-skills/devops-pipeline-builder/SKILL.md +200 -0
- package/bundled-skills/eas-app-stores/SKILL.md +197 -0
- package/bundled-skills/eas-app-stores/agents/openai.yaml +4 -0
- package/bundled-skills/eas-app-stores/references/app-store-metadata.md +497 -0
- package/bundled-skills/eas-app-stores/references/ios-app-store.md +376 -0
- package/bundled-skills/eas-app-stores/references/native-ios.md +167 -0
- package/bundled-skills/eas-app-stores/references/play-store.md +244 -0
- package/bundled-skills/eas-app-stores/references/testflight.md +62 -0
- package/bundled-skills/eas-app-stores/references/workflows.md +120 -0
- package/bundled-skills/eas-hosting/SKILL.md +448 -0
- package/bundled-skills/eas-hosting/agents/openai.yaml +4 -0
- package/bundled-skills/eas-observe/SKILL.md +75 -0
- package/bundled-skills/eas-observe/agents/openai.yaml +4 -0
- package/bundled-skills/eas-observe/references/metrics.md +98 -0
- package/bundled-skills/eas-observe/references/queries.md +403 -0
- package/bundled-skills/eas-observe/references/setup.md +476 -0
- package/bundled-skills/eas-observe/references/third-party.md +136 -0
- package/bundled-skills/eas-simulator/SKILL.md +251 -0
- package/bundled-skills/eas-simulator/agents/openai.yaml +4 -0
- package/bundled-skills/eas-simulator/references/controllers.md +135 -0
- package/bundled-skills/eas-simulator/references/run-your-app.md +240 -0
- package/bundled-skills/eas-simulator/references/troubleshooting.md +47 -0
- package/bundled-skills/eas-workflows/SKILL.md +119 -0
- package/bundled-skills/eas-workflows/agents/openai.yaml +4 -0
- package/bundled-skills/eas-workflows/scripts/fetch.js +109 -0
- package/bundled-skills/expo-animation/LICENSE +21 -0
- package/bundled-skills/expo-animation/RECIPES.md +385 -0
- package/bundled-skills/expo-animation/SKILL.md +295 -0
- package/bundled-skills/expo-animation/agents/openai.yaml +4 -0
- package/bundled-skills/fact-check-x-unified/SKILL.md +178 -0
- package/bundled-skills/fact-check-x-unified/agents/openai.yaml +4 -0
- package/bundled-skills/fact-check-x-unified/references/acceptance-criteria.md +44 -0
- package/bundled-skills/fact-check-x-unified/references/contracts.md +39 -0
- package/bundled-skills/fact-check-x-unified/scripts/common.py +31 -0
- package/bundled-skills/fact-check-x-unified/scripts/fact_check_x.py +1832 -0
- package/bundled-skills/fact-check-x-unified/scripts/trusted_search_config.py +324 -0
- package/bundled-skills/fact-check-x-unified/tests/anchor_downgrade_test.py +90 -0
- package/bundled-skills/fact-check-x-unified/tests/multi_platform_test.py +369 -0
- package/bundled-skills/fact-check-x-unified/tests/smoke_test.py +740 -0
- package/bundled-skills/fact-check-x-unified/tests/stage_checkpoint_test.py +103 -0
- package/bundled-skills/fact-check-x-unified/tests/trusted_search_config_test.py +156 -0
- package/bundled-skills/gpt-taste/SKILL.md +8 -1
- package/bundled-skills/hf-cli/SKILL.md +263 -0
- package/bundled-skills/huggingface-community-evals/SKILL.md +228 -0
- package/bundled-skills/huggingface-community-evals/examples/.env.example +3 -0
- package/bundled-skills/huggingface-community-evals/examples/USAGE_EXAMPLES.md +101 -0
- package/bundled-skills/huggingface-community-evals/scripts/inspect_eval_uv.py +104 -0
- package/bundled-skills/huggingface-community-evals/scripts/inspect_vllm_uv.py +306 -0
- package/bundled-skills/huggingface-community-evals/scripts/lighteval_vllm_uv.py +297 -0
- package/bundled-skills/huggingface-datasets/SKILL.md +130 -0
- package/bundled-skills/jev-social/SKILL.md +182 -0
- package/bundled-skills/longbridge-derivatives/SKILL.md +117 -0
- package/bundled-skills/longbridge-derivatives/references/option.md +36 -0
- package/bundled-skills/longbridge-derivatives/references/options-advanced.md +101 -0
- package/bundled-skills/longbridge-derivatives/references/options-pnl.md +74 -0
- package/bundled-skills/longbridge-derivatives/references/options-strategy.md +82 -0
- package/bundled-skills/longbridge-derivatives/references/options-volatility.md +70 -0
- package/bundled-skills/longbridge-derivatives/references/warrant.md +12 -0
- package/bundled-skills/longbridge-quant/SKILL.md +151 -0
- package/bundled-skills/longbridge-quant/references/correlation.md +51 -0
- package/bundled-skills/longbridge-quant/references/execution-model.md +68 -0
- package/bundled-skills/longbridge-quant/references/factor-research.md +95 -0
- package/bundled-skills/longbridge-quant/references/factor-screen.md +101 -0
- package/bundled-skills/longbridge-quant/references/hedging.md +136 -0
- package/bundled-skills/longbridge-quant/references/ml-strategy.md +77 -0
- package/bundled-skills/longbridge-quant/references/multifactor.md +68 -0
- package/bundled-skills/longbridge-quant/references/pairs-trading.md +61 -0
- package/bundled-skills/longbridge-quant/references/quant-cli.md +133 -0
- package/bundled-skills/longbridge-quant/references/quant-stats.md +150 -0
- package/bundled-skills/longbridge-quant/references/seasonality.md +50 -0
- package/bundled-skills/longbridge-quant/references/strategy-optimizer.md +68 -0
- package/bundled-skills/longbridge-quant/references/volatility-strategy.md +52 -0
- package/bundled-skills/longbridge-research/SKILL.md +187 -0
- package/bundled-skills/longbridge-research/references/company-profile.md +96 -0
- package/bundled-skills/longbridge-research/references/company-tearsheet.md +82 -0
- package/bundled-skills/longbridge-research/references/competitive-analysis.md +81 -0
- package/bundled-skills/longbridge-research/references/consensus.md +92 -0
- package/bundled-skills/longbridge-research/references/coverage-initiation.md +76 -0
- package/bundled-skills/longbridge-research/references/defi-yield.md +60 -0
- package/bundled-skills/longbridge-research/references/finance-calendar.md +165 -0
- package/bundled-skills/longbridge-research/references/financial-planning.md +77 -0
- package/bundled-skills/longbridge-research/references/forecast-eps.md +39 -0
- package/bundled-skills/longbridge-research/references/fund-holder.md +44 -0
- package/bundled-skills/longbridge-research/references/hkipo-analysis.md +101 -0
- package/bundled-skills/longbridge-research/references/industry-peers.md +46 -0
- package/bundled-skills/longbridge-research/references/industry-rank.md +62 -0
- package/bundled-skills/longbridge-research/references/insider-trades.md +48 -0
- package/bundled-skills/longbridge-research/references/institution-rating.md +62 -0
- package/bundled-skills/longbridge-research/references/investment-ideas.md +69 -0
- package/bundled-skills/longbridge-research/references/investment-proposal.md +95 -0
- package/bundled-skills/longbridge-research/references/investors.md +87 -0
- package/bundled-skills/longbridge-research/references/onchain.md +70 -0
- package/bundled-skills/longbridge-research/references/post-investment.md +76 -0
- package/bundled-skills/longbridge-research/references/shareholder.md +72 -0
- package/bundled-skills/longbridge-research/references/short-positions.md +50 -0
- package/bundled-skills/longbridge-research/references/short-trades.md +50 -0
- package/bundled-skills/longbridge-research/references/stock-research.md +61 -0
- package/bundled-skills/longbridge-research/references/thesis-tracker.md +64 -0
- package/bundled-skills/makepad-2-0-animation/SKILL.md +318 -0
- package/bundled-skills/makepad-2-0-animation/references/animator-reference.md +433 -0
- package/bundled-skills/makepad-2-0-dsl/SKILL.md +492 -0
- package/bundled-skills/makepad-2-0-dsl/references/dsl-syntax-reference.md +511 -0
- package/bundled-skills/makepad-2-0-dsl/references/extended-guide.md +56 -0
- package/bundled-skills/makepad-2-0-dsl/references/property-system.md +757 -0
- package/bundled-skills/makepad-2-0-events/SKILL.md +497 -0
- package/bundled-skills/makepad-2-0-events/references/event-patterns.md +802 -0
- package/bundled-skills/makepad-2-0-events/references/extended-guide.md +590 -0
- package/bundled-skills/makepad-2-0-layout/SKILL.md +499 -0
- package/bundled-skills/makepad-2-0-layout/references/extended-guide.md +243 -0
- package/bundled-skills/makepad-2-0-layout/references/layout-patterns.md +881 -0
- package/bundled-skills/makepad-2-0-widgets/SKILL.md +261 -0
- package/bundled-skills/makepad-2-0-widgets/references/widget-advanced.md +648 -0
- package/bundled-skills/makepad-2-0-widgets/references/widget-catalog.md +547 -0
- package/bundled-skills/meeting-distiller-pro/SKILL.md +120 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/SKILL.md +12 -1
- package/bundled-skills/monte-carlo-asset-health/SKILL.md +12 -1
- package/bundled-skills/monte-carlo-context-detection/SKILL.md +170 -0
- package/bundled-skills/monte-carlo-context-detection/references/signal-definitions.md +46 -0
- package/bundled-skills/remotion-captions/SKILL.md +57 -0
- package/bundled-skills/remotion-captions/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-captions/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-captions/display-captions.md +190 -0
- package/bundled-skills/remotion-captions/import-srt-captions.md +73 -0
- package/bundled-skills/remotion-captions/transcribe-captions.md +70 -0
- package/bundled-skills/remotion-create/SKILL.md +106 -0
- package/bundled-skills/remotion-create/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-create/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-create/tailwind.md +11 -0
- package/bundled-skills/remotion-create/video-layout.md +9 -0
- package/bundled-skills/remotion-docs/SKILL.md +67 -0
- package/bundled-skills/remotion-docs/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-docs/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-interactivity/SKILL.md +270 -0
- package/bundled-skills/remotion-interactivity/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-interactivity/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-render/SKILL.md +48 -0
- package/bundled-skills/remotion-render/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-render/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-render/transparent-videos.md +106 -0
- package/bundled-skills/saas-pricing-strategist/SKILL.md +169 -0
- package/bundled-skills/score-eval/SKILL.md +35 -0
- package/bundled-skills/writing-guidelines/SKILL.md +60 -0
- package/package.json +1 -1
- package/skills_index.json +980 -3
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: codebase-onboarding
|
|
3
|
+
description: Onboard a developer to a repository using Ontoly graph summaries. Use
|
|
4
|
+
when asked to explain a new codebase, identify entrypoints, map packages, or suggest
|
|
5
|
+
first files to inspect.
|
|
6
|
+
license: AGPL-3.0-only
|
|
7
|
+
compatibility: Portable Agent Skills format; requires Ontoly CLI and MCP-capable or
|
|
8
|
+
CLI-capable coding agent.
|
|
9
|
+
metadata:
|
|
10
|
+
ontoly.skill.version: 1.3.3
|
|
11
|
+
ontoly.min.version: 1.3.3
|
|
12
|
+
ontoly.capabilities: ExplainArchitecture, FindEntrypoints, GraphStatistics, FindFeatureOwner,
|
|
13
|
+
EvidencePack
|
|
14
|
+
ontoly.category: onboarding
|
|
15
|
+
ontoly.enhancement: LLM Enhancement
|
|
16
|
+
ontoly.deprecated: 'false'
|
|
17
|
+
source_repo: 0xsarwagya/ontoly
|
|
18
|
+
source_type: community
|
|
19
|
+
source: community
|
|
20
|
+
date_added: '2026-09-21'
|
|
21
|
+
risk: unknown
|
|
22
|
+
---
|
|
23
|
+
## When to Use
|
|
24
|
+
- Use when this upstream workflow matches the user's stated goal.
|
|
25
|
+
- Use when the task requires the procedures documented in this skill.
|
|
26
|
+
|
|
27
|
+
# Codebase Onboarding
|
|
28
|
+
|
|
29
|
+
Use this skill when the user asks for codebase onboarding using Ontoly evidence.
|
|
30
|
+
|
|
31
|
+
## Required Workflow
|
|
32
|
+
|
|
33
|
+
Follow [the shared Ontoly workflow. Also read [graph evidence rules, [MCP usage, [best practices, and [fallback rules when the task requires detail.
|
|
34
|
+
|
|
35
|
+
## Ontoly Capabilities
|
|
36
|
+
|
|
37
|
+
Use these capabilities first: `ExplainArchitecture`, `FindEntrypoints`, `GraphStatistics`, `FindFeatureOwner`, `EvidencePack`.
|
|
38
|
+
|
|
39
|
+
## Output Contract
|
|
40
|
+
|
|
41
|
+
Return:
|
|
42
|
+
|
|
43
|
+
- answer or plan
|
|
44
|
+
- capabilities invoked
|
|
45
|
+
- graph evidence with node ids, edge types, source spans, and graph hash when available
|
|
46
|
+
- confidence: high, medium, or low
|
|
47
|
+
- fallback reason if repository files were inspected
|
|
48
|
+
|
|
49
|
+
## Boundaries
|
|
50
|
+
|
|
51
|
+
Do not implement compiler, query, MCP, SDK, or business logic in the skill. Do not search repository files until Ontoly cannot answer or evidence must be confirmed.
|
|
52
|
+
|
|
53
|
+
## Resources
|
|
54
|
+
|
|
55
|
+
- [Examples
|
|
56
|
+
- [Prompt template
|
|
57
|
+
- [Capability notes
|
|
58
|
+
|
|
59
|
+
## Learn more
|
|
60
|
+
|
|
61
|
+
- Documentation: https://ontoly.xyz/docs
|
|
62
|
+
- This skill on the web: https://ontoly.xyz/skills#codebase-onboarding
|
|
63
|
+
- All Ontoly Agent Skills: https://ontoly.xyz/skills
|
|
64
|
+
- Install via skills.sh: https://www.skills.sh/?q=0xsarwagya/ontoly
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## Examples
|
|
68
|
+
|
|
69
|
+
```text
|
|
70
|
+
User: Apply this skill to my current task.
|
|
71
|
+
Assistant: Follow the workflow in this skill, cite limitations, and ask before risky steps.
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Limitations
|
|
75
|
+
|
|
76
|
+
- Imported upstream skill; verify credentials, permissions, and safety boundaries before execution.
|
|
77
|
+
- Does not replace environment-specific validation, testing, or maintainer review.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Codebase Onboarding Examples
|
|
2
|
+
|
|
3
|
+
Each example is graph-first and MCP-first.
|
|
4
|
+
|
|
5
|
+
| Repository | Questions | Expected workflow | Capabilities invoked | Expected evidence | Expected answer |
|
|
6
|
+
| --- | --- | --- | --- | --- | --- |
|
|
7
|
+
| Ovok Core | Trace the login flow through the NestJS auth controller. | Follow shared workflow, run `EvidencePack` first, then `ExplainArchitecture` then `FindEntrypoints` then `GraphStatistics` then `FindFeatureOwner`, inspect files only if graph evidence is missing. | `EvidencePack`, `ExplainArchitecture`, `FindEntrypoints`, `GraphStatistics`, `FindFeatureOwner` | controller, route, service, dependency-injection edges; graph hash; confidence. | A first-day onboarding map with entrypoints, packages, owners, evidence, and confidence. |
|
|
8
|
+
| Ghost | Explain the package entrypoint and public API surface. | Follow shared workflow, run `EvidencePack` first, then `ExplainArchitecture` then `FindEntrypoints` then `GraphStatistics` then `FindFeatureOwner`, inspect files only if graph evidence is missing. | `EvidencePack`, `ExplainArchitecture`, `FindEntrypoints`, `GraphStatistics`, `FindFeatureOwner` | package, exports, functions, interfaces; graph hash; confidence. | A first-day onboarding map with entrypoints, packages, owners, evidence, and confidence. |
|
|
9
|
+
| durable-local | Find storage APIs and consumers before a refactor. | Follow shared workflow, run `EvidencePack` first, then `ExplainArchitecture` then `FindEntrypoints` then `GraphStatistics` then `FindFeatureOwner`, inspect files only if graph evidence is missing. | `EvidencePack`, `ExplainArchitecture`, `FindEntrypoints`, `GraphStatistics`, `FindFeatureOwner` | functions, interfaces, dependents, configuration; graph hash; confidence. | A first-day onboarding map with entrypoints, packages, owners, evidence, and confidence. |
|
|
10
|
+
| 0xsarwagya | Summarize workspace packages and package dependencies. | Follow shared workflow, run `EvidencePack` first, then `ExplainArchitecture` then `FindEntrypoints` then `GraphStatistics` then `FindFeatureOwner`, inspect files only if graph evidence is missing. | `EvidencePack`, `ExplainArchitecture`, `FindEntrypoints`, `GraphStatistics`, `FindFeatureOwner` | workspace, packages, framework nodes, dependency edges; graph hash; confidence. | A first-day onboarding map with entrypoints, packages, owners, evidence, and confidence. |
|
|
11
|
+
| Innosphere | Identify application modules and request ownership. | Follow shared workflow, run `EvidencePack` first, then `ExplainArchitecture` then `FindEntrypoints` then `GraphStatistics` then `FindFeatureOwner`, inspect files only if graph evidence is missing. | `EvidencePack`, `ExplainArchitecture`, `FindEntrypoints`, `GraphStatistics`, `FindFeatureOwner` | controllers, modules, routes, services; graph hash; confidence. | A first-day onboarding map with entrypoints, packages, owners, evidence, and confidence. |
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Agent Best Practices
|
|
2
|
+
|
|
3
|
+
- Keep the answer graph-first and concise.
|
|
4
|
+
- Separate measured graph facts from inference.
|
|
5
|
+
- Prefer capability output over source search.
|
|
6
|
+
- Include confidence: high when graph nodes and relationships directly answer the question, medium when evidence is partial, low when fallback file inspection was required.
|
|
7
|
+
- Never generate SDKs, refactors, or security claims from the skill itself. The skill may plan workflows, but Ontoly remains the source of truth.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Codebase Onboarding Capability Notes
|
|
2
|
+
|
|
3
|
+
Primary capabilities: `ExplainArchitecture`, `FindEntrypoints`, `GraphStatistics`, `FindFeatureOwner`, `EvidencePack`.
|
|
4
|
+
|
|
5
|
+
Use [../reference/mcp.md](../reference/mcp.md) for common capability behavior and fallback CLI equivalents.
|
|
6
|
+
|
|
7
|
+
## Required Evidence
|
|
8
|
+
|
|
9
|
+
- capability name
|
|
10
|
+
- graph hash
|
|
11
|
+
- node ids and types
|
|
12
|
+
- relationship types and direction
|
|
13
|
+
- source spans when present
|
|
14
|
+
- confidence
|
|
15
|
+
|
|
16
|
+
## Compatibility
|
|
17
|
+
|
|
18
|
+
- Skill version: 1.0.0
|
|
19
|
+
- Minimum Ontoly version: 1.0.0
|
|
20
|
+
- Deprecation status: active
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fallbacks
|
|
2
|
+
|
|
3
|
+
Fallbacks are allowed only after Ontoly is insufficient. Valid fallback reasons:
|
|
4
|
+
|
|
5
|
+
- graph artifact missing and build fails
|
|
6
|
+
- relevant capability unavailable
|
|
7
|
+
- graph trust below the task threshold
|
|
8
|
+
- node is ambiguous or absent
|
|
9
|
+
- source quote is needed to confirm a public answer
|
|
10
|
+
|
|
11
|
+
When falling back, state the reason and keep inspection narrow: one file, one symbol, or one source span when possible.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Software Graph Evidence
|
|
2
|
+
|
|
3
|
+
Use Software Graph evidence as the primary source of truth. Prefer deterministic identifiers over prose names.
|
|
4
|
+
|
|
5
|
+
Evidence fields to capture:
|
|
6
|
+
|
|
7
|
+
- graph hash
|
|
8
|
+
- capability invoked
|
|
9
|
+
- node id and node type
|
|
10
|
+
- edge type and direction
|
|
11
|
+
- source span when present
|
|
12
|
+
- diagnostic codes when relevant
|
|
13
|
+
- confidence and reason for confidence
|
|
14
|
+
|
|
15
|
+
Do not infer relationships that are absent from the graph. You may make a clearly labeled inference only after stating the graph evidence that supports it.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Ontoly MCP Usage
|
|
2
|
+
|
|
3
|
+
Use Ontoly MCP capabilities before searching files. Common capability groups:
|
|
4
|
+
|
|
5
|
+
- Architecture: `ExplainArchitecture`, `GraphStatistics`
|
|
6
|
+
- Lookup: `FindNode`, `FindFunction`, `InspectFile`, `InspectModule`, `InspectClass`, `InspectFunction`
|
|
7
|
+
- Dependencies: `FindDependencies`, `FindDependents`, `FindCycles`, `ImpactAnalysis`
|
|
8
|
+
- Requests: `TraceRequestLifecycle`, `FindResponsibleFunction`, `TraceExecution`
|
|
9
|
+
- Security: `FindAuthenticationFlow`, `FindConfigurationUsage`
|
|
10
|
+
- Configuration: `FindConfiguration`, `FindConfigurationUsage`
|
|
11
|
+
- Static analysis: `FindDeadCode`, `FindUnusedFeature`, `FindEntrypoints`
|
|
12
|
+
- Evidence packs: `EvidencePack`
|
|
13
|
+
|
|
14
|
+
If an agent cannot call MCP directly, use the nearest CLI command such as `ontoly evidence`, `ontoly report`, `ontoly query`, `ontoly trace`, or `ontoly inspect`.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Ontoly Agent Skill Standard Workflow
|
|
2
|
+
|
|
3
|
+
Every Ontoly skill follows this workflow. Skills teach orchestration only; Ontoly provides the software understanding.
|
|
4
|
+
|
|
5
|
+
LLM Enhancement is mandatory every time Ontoly is used by an LLM. An LLM-facing workflow must use an Ontoly skill or equivalent installed workflow that declares `ontoly.enhancement: "LLM Enhancement"` and preserves graph-first evidence, confidence, and fallback rules.
|
|
6
|
+
|
|
7
|
+
1. Verify that an Ontoly graph exists at `.ontoly/SoftwareGraph.json`.
|
|
8
|
+
2. If the graph is missing or stale, run `ontoly build .`.
|
|
9
|
+
3. Check graph trust with `ontoly coverage .` or `ontoly stats . --json`.
|
|
10
|
+
4. Prefer Ontoly MCP by starting or connecting to `ontoly mcp`.
|
|
11
|
+
5. Query `EvidencePack` first for compact graph context, then the capability that matches the task before reading files.
|
|
12
|
+
6. Inspect repository files only when Ontoly cannot answer, confidence is low, or source snippets are needed for confirmation.
|
|
13
|
+
7. Always cite evidence: node ids, edge ids or relationship types, source spans, graph hash, capability name, and confidence.
|
|
14
|
+
|
|
15
|
+
When evidence is incomplete, say what Ontoly proved, what remains unknown, and which fallback check was used.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Repository Onboarding
|
|
2
|
+
|
|
3
|
+
Repository: {{repository}}
|
|
4
|
+
Question: {{question}}
|
|
5
|
+
|
|
6
|
+
## Workflow
|
|
7
|
+
|
|
8
|
+
1. Verify `.ontoly/SoftwareGraph.json`.
|
|
9
|
+
2. Build with `ontoly build .` if missing.
|
|
10
|
+
3. Check trust with `ontoly coverage .`.
|
|
11
|
+
4. Use Ontoly MCP capabilities: `ExplainArchitecture`, `FindEntrypoints`, `GraphStatistics`, `FindFeatureOwner`.
|
|
12
|
+
5. Inspect files only if Ontoly cannot answer.
|
|
13
|
+
|
|
14
|
+
## Response
|
|
15
|
+
|
|
16
|
+
- Summary:
|
|
17
|
+
- Capabilities invoked:
|
|
18
|
+
- Evidence:
|
|
19
|
+
- Confidence:
|
|
20
|
+
- Fallbacks used:
|
|
21
|
+
- Recommended next action:
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: connection-auth-rules
|
|
3
|
+
description: Build a Connection Auth Rules for a Monte Carlo connection type. Fetches
|
|
4
|
+
live connector schemas and transform steps from the apollo-agent repo.
|
|
5
|
+
bucket: Setup
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
source_repo: monte-carlo-data/mc-agent-toolkit
|
|
8
|
+
source_type: community
|
|
9
|
+
source: community
|
|
10
|
+
date_added: '2026-09-21'
|
|
11
|
+
risk: unknown
|
|
12
|
+
---
|
|
13
|
+
## When to Use
|
|
14
|
+
- Use when this upstream workflow matches the user's stated goal.
|
|
15
|
+
- Use when the task requires the procedures documented in this skill.
|
|
16
|
+
|
|
17
|
+
# Connection Auth Rules Builder
|
|
18
|
+
|
|
19
|
+
Use this skill when the user wants to build a Connection Auth Rules (stored as `ctp_config`) for a Monte Carlo connection. The config is stored on the `Connection` object in the monolith and tells the Apollo agent how to transform flat credentials into the driver-specific `connect_args` format.
|
|
20
|
+
|
|
21
|
+
## When to activate this skill
|
|
22
|
+
|
|
23
|
+
Activate when the user:
|
|
24
|
+
|
|
25
|
+
- Asks to create, build, or generate a Connection Auth Rules
|
|
26
|
+
- Asks what fields are needed for a connection type's Connection Auth Rules
|
|
27
|
+
- Wants to customize credential transformation for a connection
|
|
28
|
+
- Asks about `MapperConfig`, `TransformStep`, or `CtpConfig`
|
|
29
|
+
- Says things like "help me write Connection Auth Rules for X", "what's the connection auth rules format for X"
|
|
30
|
+
|
|
31
|
+
## When NOT to activate this skill
|
|
32
|
+
|
|
33
|
+
Do not activate when the user is:
|
|
34
|
+
|
|
35
|
+
- Creating monitors (use the monitor-creation skill)
|
|
36
|
+
- Investigating data incidents (use the analyze-root-cause skill)
|
|
37
|
+
- Setting up a connection in the UI (this skill builds the JSON config, not UI flows)
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Step 1 — List available connection types
|
|
42
|
+
|
|
43
|
+
Locate the companion script with Bash:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
find -L ~/.claude . -name fetch_schema.py -path "*/connection-auth-rules/*" 2>/dev/null | head -1
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Then run it:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
python3 <script_path> --list
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
The script outputs JSON. Parse `result.connectors` — each entry has a `name` field. Present the names to the user and ask which connection type they want to build a config for.
|
|
56
|
+
|
|
57
|
+
**If the script fails:** Show the error output and offer to retry. Do not proceed until you have the connector list.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Step 2 — Fetch the connector schema
|
|
62
|
+
|
|
63
|
+
Once the user selects a connection type, run the script with that connector name:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
python3 <script_path> --connector <name>
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
The script outputs JSON. Parse `result.schema`:
|
|
70
|
+
|
|
71
|
+
- **`output_keys`** — the driver-level `connect_args` keys the mapper must produce (from the connector's `TypedDict`)
|
|
72
|
+
- **`default_field_map`** — the existing default mapping (credential field → Jinja2 template)
|
|
73
|
+
- **`default_steps`** — any default transform steps already configured
|
|
74
|
+
|
|
75
|
+
Present a summary to the user:
|
|
76
|
+
|
|
77
|
+
- The output keys
|
|
78
|
+
- The default mapper field_map entries
|
|
79
|
+
- Any existing steps with their types
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Step 3 — Optionally fetch available transform steps
|
|
84
|
+
|
|
85
|
+
If the connector's default config (from Step 2) already includes steps, or if the user indicates they need custom transform steps, run:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
python3 <script_path> --connector <name> --transforms
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Parse `result.transforms` — each entry has:
|
|
92
|
+
- `name` — the step type string used in `"type"`
|
|
93
|
+
- `step_input` — fields the step reads from the pipeline state
|
|
94
|
+
- `step_output` — derived fields the step writes, referenceable as `{{ derived.<key> }}` in the mapper
|
|
95
|
+
- `step_field_map` — typical mapper entry to wire the step's output into `connect_args`
|
|
96
|
+
|
|
97
|
+
Present the available steps with their full contracts (input, output, and field_map hint).
|
|
98
|
+
|
|
99
|
+
**If the script fails:** Tell the user and offer to retry. You can continue without step data — just describe steps as unknown and ask the user to specify them manually.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Step 4 — Build the mapper
|
|
104
|
+
|
|
105
|
+
Walk the user through each output key in the TypedDict:
|
|
106
|
+
|
|
107
|
+
1. Show the default template from the connector's `MapperConfig` (if one exists).
|
|
108
|
+
2. Ask if they want to keep the default or customize it.
|
|
109
|
+
3. For custom values, help the user write a Jinja2 template expression.
|
|
110
|
+
|
|
111
|
+
### Jinja2 template help
|
|
112
|
+
|
|
113
|
+
The template context has two namespaces:
|
|
114
|
+
|
|
115
|
+
- **`raw`** — the flat credential dict as received. Use `{{ raw.field_name }}` to reference a credential field directly. Example: `{{ raw.client_id }}`
|
|
116
|
+
- **`derived`** — fields added by transform steps. Use `{{ derived.field_name }}` to reference a step's output. Example: `{{ derived.private_key_pem }}`
|
|
117
|
+
|
|
118
|
+
Common patterns:
|
|
119
|
+
- Simple field reference: `"{{ raw.username }}"`
|
|
120
|
+
- Conditional/default: `"{{ raw.port | default('1433') }}"`
|
|
121
|
+
- Concatenation: `"{{ raw.host }}:{{ raw.port }}"`
|
|
122
|
+
|
|
123
|
+
When the user doesn't know their credential field names, remind them these come from the Data Collector's credential dict — the keys are whatever the DC sends for that connection type.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Step 5 — Configure transform steps (optional)
|
|
128
|
+
|
|
129
|
+
If the connector needs steps (e.g. decoding a PEM certificate, constructing a derived field), help the user configure each step. A step dict has these fields:
|
|
130
|
+
|
|
131
|
+
| Field | Required | Description |
|
|
132
|
+
|-------|----------|-------------|
|
|
133
|
+
| `type` | yes | Step type name (e.g. `"load_private_key"`) |
|
|
134
|
+
| `input` | yes | Dict of template strings the step reads (e.g. `{"pem": "{{ raw.private_key_pem }}"}`) |
|
|
135
|
+
| `output` | yes | Dict mapping the step's logical output names to derived key names (e.g. `{"private_key": "private_key_der"}`) |
|
|
136
|
+
| `when` | no | Jinja2 boolean expression — step only runs if this evaluates to true (e.g. `"raw.ssl_ca_pem is defined"`) |
|
|
137
|
+
| `field_map` | no | Mapper entries contributed only when this step runs — useful for conditional fields |
|
|
138
|
+
|
|
139
|
+
Walk the user through `type`, `input`, and `output` for each step. Ask about `when` if the step should only run under certain credential conditions (e.g. when an optional SSL cert is present).
|
|
140
|
+
|
|
141
|
+
Steps run in order before the mapper. The mapper can reference step outputs via `{{ derived.<key> }}`.
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Step 6 — Output the final config
|
|
146
|
+
|
|
147
|
+
Produce the complete Connection Auth Rules as a Python dict (ready to serialize to JSON for storage). This is stored as `ctp_config` on the `Connection` model:
|
|
148
|
+
|
|
149
|
+
```python
|
|
150
|
+
{
|
|
151
|
+
"steps": [
|
|
152
|
+
# each step as a dict, e.g.:
|
|
153
|
+
{
|
|
154
|
+
"type": "load_private_key",
|
|
155
|
+
"input": {
|
|
156
|
+
"pem": "{{ raw.private_key_pem }}"
|
|
157
|
+
},
|
|
158
|
+
"output": {
|
|
159
|
+
"private_key": "private_key_der"
|
|
160
|
+
}
|
|
161
|
+
# optional: "when": "raw.private_key_pem is defined"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"mapper": {
|
|
165
|
+
"field_map": {
|
|
166
|
+
"output_key": "{{ raw.credential_field }}",
|
|
167
|
+
# step output referenced as: "private_key": "{{ derived.private_key_der }}"
|
|
168
|
+
# ...
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Also show the equivalent JSON, since this is what gets stored in the monolith's `Connection.ctp_config` field and entered in the "Connection auth rules" field in the UI.
|
|
175
|
+
|
|
176
|
+
Remind the user that validation happens server-side via `validateConnectionCtpConfig` — they should test the config through that mutation (or the Validate button in the UI) after saving it.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## Notes
|
|
181
|
+
|
|
182
|
+
- **No in-skill validation.** The skill helps construct the config but does not execute or validate it. The user validates via the monolith's `validateConnectionCtpConfig` GraphQL mutation or the Validate button in the "Connection auth rules" UI section.
|
|
183
|
+
- **`is not None` pattern.** An empty `field_map` (`{}`) is valid — do not treat it as missing. The monolith checks `ctp_config is not None`, not truthiness.
|
|
184
|
+
- **Steps are optional.** Most simple connectors use `steps: []`. Only add steps when the user needs credential transformation (e.g. PEM decoding, composite field construction).
|
|
185
|
+
- **Fetch failures are recoverable.** If the GitHub API fetch fails, tell the user exactly what failed and offer to retry. Do not silently fall back to guessed schemas.
|
|
186
|
+
- **Naming:** The user-facing name for this feature is "Connection auth rules". The underlying field and backend model remain `ctp_config` / `CtpConfig`.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
## Examples
|
|
190
|
+
|
|
191
|
+
```text
|
|
192
|
+
User: Apply this skill to my current task.
|
|
193
|
+
Assistant: Follow the workflow in this skill, cite limitations, and ask before risky steps.
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
## Limitations
|
|
197
|
+
|
|
198
|
+
- Imported upstream skill; verify credentials, permissions, and safety boundaries before execution.
|
|
199
|
+
- Does not replace environment-specific validation, testing, or maintainer review.
|