motherduckdb/agent-skills / plugins/motherduck-skills-copilot/skills/motherduck-partner-delivery
motherduck-partner-delivery
VerifiedStandardize MotherDuck delivery for consultancies and agencies across client engagements with reusable provisioning, isolation, and handoff patterns.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.4 KB |
| artifacts/client_delivery_example.py | script | 2.2 KB |
| artifacts/client_delivery_example.ts | script | 1.2 KB |
| references/EXECUTION_REFERENCE.md | markdown | 1.6 KB |
| references/PARTNER_DELIVERY_GUIDE.md | markdown | 9.3 KB |
artifacts/client_delivery_example.ts
View on GitHubexport {};
declare const process: { env: Record<string, string | undefined> };
function normalizeMetadataValue(value: string | undefined, fallback: string): string {
const raw = (value ?? "").trim();
if (!raw) return fallback;
const normalized = raw.replace(/[^A-Za-z0-9._-]+/g, "-").replace(/^[-._]+|[-._]+$/g, "");
return normalized || fallback;
}
function buildUseCaseUserAgent(): string {
const harness = normalizeMetadataValue(process.env.MOTHERDUCK_AGENT_HARNESS, "unknown");
const llm = normalizeMetadataValue(process.env.MOTHERDUCK_AGENT_LLM, "unknown");
return `agent-skills/3.2.0(harness-${harness};llm-${llm})`;
}
const clients = [
{ slug: "acme", database: "customer_acme", region: "us-east-1" },
{ slug: "globex", database: "customer_globex", region: "eu-central-1" },
];
const result = {
backend: {
mode: "typescript-companion",
databases: {
customer_acme: "customer_acme",
customer_globex: "customer_globex",
},
user_agent: buildUseCaseUserAgent(),
},
delivery_pattern: "one database and service-account boundary per client",
clients: clients.map((client) => ({
...client,
tables: [{ table_name: "usage_daily" }],
})),
};
console.log(JSON.stringify(result, null, 2));
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |