@businesskit/agent 1.0.4 → 1.0.5

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 (153) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.cursor-plugin/plugin.json +25 -0
  3. package/.cursorrules +10 -0
  4. package/.superconsole-plugin/plugin.json +32 -0
  5. package/AGENTS.md +94 -63
  6. package/CLAUDE.md +11 -84
  7. package/GEMINI.md +11 -34
  8. package/README.md +106 -153
  9. package/assets/logo.svg +3 -0
  10. package/bin/businesskit.js +11 -17
  11. package/commands/add-contact.md +47 -0
  12. package/commands/add-inventory-from-invoice.md +80 -0
  13. package/commands/adjust-stock.md +46 -0
  14. package/commands/capabilities.md +33 -0
  15. package/commands/check-stock.md +43 -0
  16. package/commands/create-component.md +109 -0
  17. package/commands/create-invoice.md +69 -0
  18. package/commands/create-new-bill.md +65 -0
  19. package/commands/create-page.md +96 -0
  20. package/commands/list-components.md +41 -0
  21. package/commands/list-content.md +46 -0
  22. package/commands/list-pages.md +45 -0
  23. package/commands/publish-page.md +64 -0
  24. package/commands/send-invoice.md +42 -0
  25. package/commands/seo-audit.md +36 -0
  26. package/commands/update-contact.md +46 -0
  27. package/commands/update-content.md +47 -0
  28. package/commands/update-page.md +55 -0
  29. package/commands/update-price.md +47 -0
  30. package/commands/write-blog.md +52 -0
  31. package/commands/write-docs.md +84 -0
  32. package/commands/write-guide.md +46 -0
  33. package/commands/write-newsletter.md +46 -0
  34. package/mcp_config.json +8 -0
  35. package/package.json +34 -23
  36. package/plugin.json +32 -0
  37. package/scripts/setup.sh +134 -0
  38. package/scripts/setup.ts +92 -0
  39. package/server.json +21 -0
  40. package/skills/README.md +19 -27
  41. package/skills/billing/SKILL.md +64 -0
  42. package/skills/brand/SKILL.md +30 -86
  43. package/skills/copywriting/SKILL.md +1 -1
  44. package/skills/crm/SKILL.md +38 -0
  45. package/skills/docs-cms/SKILL.md +53 -0
  46. package/skills/docs-cms/references/how-to.md +383 -0
  47. package/skills/inbox/SKILL.md +49 -0
  48. package/skills/inventory/SKILL.md +69 -0
  49. package/skills/pages/SKILL.md +169 -0
  50. package/skills/pages/references/sections-catalog.json +950 -0
  51. package/skills/social/SKILL.md +1 -1
  52. package/templates/antigravity.json +8 -0
  53. package/templates/claude-code.mcp.json +8 -0
  54. package/templates/cursor.mcp.json +8 -0
  55. package/templates/vscode.mcp.json +9 -0
  56. package/.claude/commands/analytics.md +0 -7
  57. package/.claude/commands/blog-writer.md +0 -9
  58. package/.claude/commands/cbo.md +0 -7
  59. package/.claude/commands/ceo.md +0 -10
  60. package/.claude/commands/cmo.md +0 -7
  61. package/.claude/commands/compress.md +0 -73
  62. package/.claude/commands/coo.md +0 -11
  63. package/.claude/commands/copywriter.md +0 -15
  64. package/.claude/commands/course-creator.md +0 -9
  65. package/.claude/commands/crm.md +0 -591
  66. package/.claude/commands/deep.md +0 -50
  67. package/.claude/commands/docs-writer.md +0 -8
  68. package/.claude/commands/forms-builder.md +0 -10
  69. package/.claude/commands/ingest.md +0 -110
  70. package/.claude/commands/jobs-manager.md +0 -8
  71. package/.claude/commands/kb.md +0 -107
  72. package/.claude/commands/newsletter-writer.md +0 -9
  73. package/.claude/commands/preserve.md +0 -64
  74. package/.claude/commands/resume.md +0 -67
  75. package/.claude/commands/scheduler.md +0 -8
  76. package/.claude/commands/seo.md +0 -60
  77. package/.claude/commands/social.md +0 -51
  78. package/.claude/commands/store-manager.md +0 -11
  79. package/.claude/settings.json +0 -16
  80. package/.claude/settings.local.json +0 -11
  81. package/.env.example +0 -12
  82. package/.mcp.json +0 -3
  83. package/HEARTBEAT.md +0 -105
  84. package/PLAN.md +0 -345
  85. package/PRD-Agent-Composition.md +0 -149
  86. package/PRD-Agent-Harness.md +0 -316
  87. package/REFERENCE.md +0 -160
  88. package/SOUL.md +0 -148
  89. package/SYSTEM.md +0 -71
  90. package/agents/_base.ts +0 -371
  91. package/agents/analytics/SOUL.md +0 -11
  92. package/agents/analytics/analytics.ts +0 -405
  93. package/agents/business/SOUL.md +0 -11
  94. package/agents/business/business.ts +0 -109
  95. package/agents/ceo/SOUL.md +0 -15
  96. package/agents/ceo/ceo.ts +0 -146
  97. package/agents/content/SOUL.md +0 -11
  98. package/agents/content/content.ts +0 -379
  99. package/agents/copywriting/SOUL.md +0 -11
  100. package/agents/copywriting/copywriting.ts +0 -89
  101. package/agents/courses/SOUL.md +0 -11
  102. package/agents/courses/courses.ts +0 -451
  103. package/agents/docs/SOUL.md +0 -11
  104. package/agents/docs/docs.ts +0 -77
  105. package/agents/forms/SOUL.md +0 -11
  106. package/agents/forms/forms.ts +0 -364
  107. package/agents/hiring/SOUL.md +0 -11
  108. package/agents/hiring/hiring.ts +0 -314
  109. package/agents/marketing/SOUL.md +0 -15
  110. package/agents/marketing/marketing.ts +0 -109
  111. package/agents/newsletter/SOUL.md +0 -11
  112. package/agents/newsletter/newsletter.ts +0 -91
  113. package/agents/operations/SOUL.md +0 -11
  114. package/agents/operations/operations.ts +0 -157
  115. package/agents/sales/SOUL.md +0 -44
  116. package/agents/sales/sales.ts +0 -883
  117. package/agents/scheduler/SOUL.md +0 -11
  118. package/agents/scheduler/scheduler.ts +0 -68
  119. package/agents/seo/SOUL.md +0 -11
  120. package/agents/seo/seo.ts +0 -288
  121. package/agents/social/SOUL.md +0 -11
  122. package/agents/social/social.ts +0 -744
  123. package/agents/store/SOUL.md +0 -11
  124. package/agents/store/store.ts +0 -514
  125. package/cli.ts +0 -144
  126. package/context/about-me.md +0 -96
  127. package/context/brand-voice.md +0 -127
  128. package/context/brand.md +0 -80
  129. package/context/business.md +0 -66
  130. package/context/working-style.md +0 -87
  131. package/lib/analytics.ts +0 -81
  132. package/lib/cms.ts +0 -88
  133. package/lib/db.adapter.ts +0 -30
  134. package/lib/db.ts +0 -63
  135. package/lib/enums.ts +0 -25
  136. package/lib/groups.ts +0 -122
  137. package/lib/id.ts +0 -43
  138. package/lib/kb.ts +0 -337
  139. package/lib/memory.ts +0 -219
  140. package/lib/pattern-detector.ts +0 -169
  141. package/lib/profile.ts +0 -155
  142. package/lib/schema.ts +0 -2015
  143. package/lib/slug.ts +0 -30
  144. package/lib/validate.ts +0 -33
  145. package/setup.ts +0 -141
  146. package/skills/agents/SKILL.md +0 -56
  147. package/skills/analytics/SKILL.md +0 -52
  148. package/skills/blog-writer/SKILL.md +0 -452
  149. package/skills/ceo/SKILL.md +0 -25
  150. package/skills/cmo/SKILL.md +0 -8
  151. package/skills/schema/SKILL.md +0 -86
  152. package/skills/store/SKILL.md +0 -62
  153. package/tsconfig.json +0 -14
@@ -0,0 +1,92 @@
1
+ // scripts/setup.ts — Node/TypeScript BusinessKit MCP Setup Wizard
2
+ import fs from 'node:fs';
3
+ import path from 'node:path';
4
+ import { fileURLToPath } from 'node:url';
5
+ import { execSync } from 'node:child_process';
6
+
7
+ const __filename = fileURLToPath(import.meta.url);
8
+ const __dirname = path.dirname(__filename);
9
+ const ROOT_DIR = path.resolve(__dirname, '..');
10
+
11
+ console.log('=== BusinessKit Universal Agent Setup (TypeScript) ===');
12
+
13
+ // 1. Locate binary
14
+ let bkBin = process.env.BUSINESSKIT_BIN || '';
15
+ const candidates = [
16
+ '/Applications/BusinessKit.app/Contents/MacOS/businesskit',
17
+ path.resolve(ROOT_DIR, '../src-tauri/target/release/businesskit'),
18
+ path.resolve(ROOT_DIR, '../src-tauri/target/debug/businesskit'),
19
+ ];
20
+
21
+ if (!bkBin) {
22
+ for (const c of candidates) {
23
+ if (fs.existsSync(c)) {
24
+ bkBin = c;
25
+ break;
26
+ }
27
+ }
28
+ }
29
+
30
+ if (!bkBin) {
31
+ try {
32
+ bkBin = execSync('which businesskit', { encoding: 'utf8' }).trim();
33
+ } catch {}
34
+ }
35
+
36
+ if (!bkBin || !fs.existsSync(bkBin)) {
37
+ console.error('Error: BusinessKit binary not found. Set BUSINESSKIT_BIN=/path/to/binary');
38
+ process.exit(1);
39
+ }
40
+ console.log(`✓ Found binary: ${bkBin}`);
41
+
42
+ // 2. Locate Profile
43
+ const credsDir = path.join(process.env.HOME || '', '.businesskit/creds');
44
+ const defaultProfile = '4628a5b1-ac05-4156-9d76-04bbd71119a1';
45
+ let selectedProfile = process.argv[2] || defaultProfile;
46
+
47
+ console.log(`✓ Target profile: ${selectedProfile}`);
48
+
49
+ // 3. Output directory
50
+ const outputDir = path.join(ROOT_DIR, 'output');
51
+ if (!fs.existsSync(outputDir)) fs.mkdirSync(outputDir, { recursive: true });
52
+
53
+ // 4. Claude Code (.mcp.json)
54
+ const claudeConfig = {
55
+ mcpServers: {
56
+ businesskit: {
57
+ command: bkBin,
58
+ args: ['--mcp', '--profile', selectedProfile],
59
+ },
60
+ },
61
+ };
62
+ fs.writeFileSync(path.join(ROOT_DIR, '.mcp.json'), JSON.stringify(claudeConfig, null, 2));
63
+ console.log('✓ Wrote .mcp.json (Claude Code)');
64
+
65
+ // 5. Cursor (.cursor/mcp.json)
66
+ const cursorDir = path.join(ROOT_DIR, '.cursor');
67
+ if (!fs.existsSync(cursorDir)) fs.mkdirSync(cursorDir, { recursive: true });
68
+ fs.writeFileSync(path.join(cursorDir, 'mcp.json'), JSON.stringify(claudeConfig, null, 2));
69
+ console.log('✓ Wrote .cursor/mcp.json (Cursor)');
70
+
71
+ // 6. VS Code (.vscode/mcp.json)
72
+ const vscodeDir = path.join(ROOT_DIR, '.vscode');
73
+ if (!fs.existsSync(vscodeDir)) fs.mkdirSync(vscodeDir, { recursive: true });
74
+ const vscodeConfig = {
75
+ servers: {
76
+ businesskit: {
77
+ type: 'stdio',
78
+ command: bkBin,
79
+ args: ['--mcp', '--profile', selectedProfile],
80
+ },
81
+ },
82
+ };
83
+ fs.writeFileSync(path.join(vscodeDir, 'mcp.json'), JSON.stringify(vscodeConfig, null, 2));
84
+ console.log('✓ Wrote .vscode/mcp.json (VS Code)');
85
+
86
+ // 7. Antigravity (.gemini/mcp_config.json)
87
+ const geminiDir = path.join(ROOT_DIR, '.gemini');
88
+ if (!fs.existsSync(geminiDir)) fs.mkdirSync(geminiDir, { recursive: true });
89
+ fs.writeFileSync(path.join(geminiDir, 'mcp_config.json'), JSON.stringify(claudeConfig, null, 2));
90
+ console.log('✓ Wrote .gemini/mcp_config.json (Antigravity / Gemini)');
91
+
92
+ console.log('\n=== Ready! Launch any agentic CLI to interact with BusinessKit ===');
package/server.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.businesskitai/agent",
4
+ "title": "BusinessKit Agent",
5
+ "description": "Universal BusinessKit Agent Kit — operate billing & POS, inventory restocking, CRM contacts, customer support triage, and landing page publishing via local native BusinessKit MCP server.",
6
+ "repository": {
7
+ "url": "https://github.com/businesskitai/businesskit-agent",
8
+ "source": "github"
9
+ },
10
+ "version": "1.0.5",
11
+ "packages": [
12
+ {
13
+ "registryType": "npm",
14
+ "identifier": "@businesskit/agent",
15
+ "version": "1.0.5",
16
+ "transport": {
17
+ "type": "stdio"
18
+ }
19
+ }
20
+ ]
21
+ }
package/skills/README.md CHANGED
@@ -1,33 +1,25 @@
1
- # Skills — Load On Demand
1
+ # BusinessKit Agent Skills
2
2
 
3
- Skills live in `.agents/skills/` (universal) and `.claude/skills/` (Claude Code).
3
+ Declarative workflow skills that guide agents in using BusinessKit's native Model Context Protocol (MCP) server.
4
4
 
5
- **Do NOT load all skills at session start.** Load only what the current task needs.
6
- Each skill costs tokens. Unused skills waste money and bust the prompt cache.
5
+ Skills load on demand based on task context—never load all skills simultaneously.
7
6
 
8
- ## Load pattern
7
+ ## Domain Workflow Skills (MCP Tools)
9
8
 
10
- ```
11
- Writing content (blog, newsletter, copy) → load brand.md
12
- SEO work (audit, meta, LLM visibility) → load brand.md + schema.md (posts section)
13
- Store/products/pricing → load store.md
14
- Reading analytics JSON → load analytics.md
15
- Routing to correct agent → load agents.md
16
- DB queries / table structure → load schema.md
17
- ```
9
+ | Skill | Directory | Core MCP Tools | Purpose |
10
+ | :--- | :--- | :--- | :--- |
11
+ | **Docs & CMS** | `docs-cms/` | `blog_post_create`, `content_list`, `content_get`, `content_update` | Technical docs, knowledge base articles, guides, and blog posts with TipTap semantic HTML. |
12
+ | **Visual Pages** | `pages/` | `page_create`, `page_update`, `page_publish`, `component_create`, `page_get_section_schema` | Storefront and landing pages using native modular sections and custom components. |
13
+ | **Billing & POS** | `billing/` | `shop_create_new_bill`, `invoice_create`, `invoice_send` | Rapid POS sales receipts, handwritten bill parsing, and B2B invoices. |
14
+ | **Inventory** | `inventory/` | `inventory_receive_purchase_invoice`, `inventory_add_stock`, `inventory_get_levels` | Supplier purchase bills, automated restocking, stock adjustments, and moving average cost. |
15
+ | **CRM** | `crm/` | `contact_create`, `contact_update` | Customer, client, and vendor directory management and tagging. |
16
+ | **Inbox** | `inbox/` | `inbox_tool_set_category`, `inbox_tool_draft_reply`, `inbox_tool_schedule_send` | Email/DM triage, prompt-injection screening, draft replies, and approval gates. |
18
17
 
19
- ## Available skills
18
+ ## Content Craft & Brand Skills
20
19
 
21
- | File | Load when |
22
- |---|---|
23
- | `brand.md` | Any content writing task |
24
- | `store.md` | Product creation, pricing, commerce |
25
- | `analytics.md` | Reading analytics columns |
26
- | `agents.md` | Routing requests, dependency direction |
27
- | `schema.md` | DB queries, table structure questions |
28
-
29
- ## Never load
30
-
31
- - All skills at once
32
- - A skill "just in case"
33
- - Skills for tasks the user didn't ask for
20
+ | Skill | Directory | Purpose |
21
+ | :--- | :--- | :--- |
22
+ | **Brand Identity** | `brand/` | Calibrate brand voice, tone compass, and store context via `system_get_capabilities`. |
23
+ | **Humanizer** | `humanizer/` | De-AI patterns, remove repetitive AI writing signatures, and restore genuine human voice. |
24
+ | **Copywriting** | `copywriting/` | High-converting sales page copywriting with internal hostile validation. |
25
+ | **Social Content** | `social/` | Multi-platform social copy, thread creation, and engagement optimization. |
@@ -0,0 +1,64 @@
1
+ ---
2
+ name: billing
3
+ description: Issue invoices, create walk-in POS bills, record payments, and reconcile accounts using double-entry verified tools.
4
+ ---
5
+
6
+ # Billing, POS & Invoicing Skill
7
+
8
+ Use this skill when billing customers, generating B2B invoices, or reviewing sales documents.
9
+
10
+ ## 1. Operating Rules & Constraints
11
+
12
+ - **Double-Entry Guarantees**:
13
+ - Never write directly to financial ledger tables (`fin_journal_entries`, `fin_accounts`).
14
+ - Tools automatically compute debits, credits, and tax rates.
15
+ - **Drafts First**:
16
+ - Invoices must be drafted first for human review before transmission. Call `invoice_create`, then prompt the user to review and send with `invoice_send`.
17
+ - **Line Items**:
18
+ - Always provide item name or SKU, quantity, unit price, and optional tax or discount.
19
+
20
+ ## 2. Tool Workflows
21
+
22
+ ### A. Walk-in POS Sale
23
+ Call `shop_create_new_bill` to instantly record a retail sale, decrement inventory, and post ledger records:
24
+ ```json
25
+ call_tool("shop_create_new_bill", {
26
+ "customer_name": "Walk-in Customer",
27
+ "payment_method": "cash",
28
+ "payment_status": "confirmed",
29
+ "line_items": [
30
+ {
31
+ "item_name": "Tellzy 40 Tab",
32
+ "quantity": 2,
33
+ "unit_price": 500.00,
34
+ "discount_pct": 10.0
35
+ }
36
+ ]
37
+ })
38
+ ```
39
+
40
+ ### B. Create Formal B2B Invoice
41
+ Call `invoice_create` to generate an itemized invoice draft:
42
+ ```json
43
+ call_tool("invoice_create", {
44
+ "customer_id": "Acme Corp",
45
+ "due_date": "2026-12-15",
46
+ "line_items": [
47
+ {
48
+ "name": "Consulting Services",
49
+ "quantity": 10,
50
+ "unit_price": 150.00,
51
+ "tax_rate": 18.0
52
+ }
53
+ ]
54
+ })
55
+ ```
56
+
57
+ ### C. Send Finalized Invoice
58
+ Dispatch invoice to client via email or generate a shareable payment link:
59
+ ```json
60
+ call_tool("invoice_send", {
61
+ "invoice_id": "inv_8941",
62
+ "recipient_email": "billing@acme.com"
63
+ })
64
+ ```
@@ -1,100 +1,44 @@
1
1
  ---
2
2
  name: brand
3
- version: 1.0.0
4
- type: brand
5
- load_when: see table in CLAUDE.md
3
+ version: 2.0.0
4
+ description: Load business brand identity, voice guidelines, tone compass, and store context via BusinessKit tools.
6
5
  ---
7
6
 
8
- # Brand Context + Voice
7
+ # Brand Context & Voice
9
8
 
10
- ## Load brand context before writing ANY content
9
+ Use this skill before drafting marketing copy, documentation, landing pages, or emails to ensure consistent tone and voice.
11
10
 
12
- ```ts
13
- import { getBrandContext } from '../../lib/profile.ts'
14
- const { profile, settings } = await getBrandContext()
15
- ```
16
-
17
- ### What you get
18
-
19
- | Field | Use for |
20
- |---|---|
21
- | `profile.title` | Business name — use in headlines, subject lines, CTAs |
22
- | `profile.bio` | Who they are — match this tone exactly |
23
- | `profile.tagline` | Style compass — if punchy, headlines should be too |
24
- | `profile.social_links` | Platforms they're on — informs content format |
25
- | `settings.site_title` | Override brand name if set |
26
-
27
- ### Tone consistency check
11
+ ## 1. Load Brand Context via Tools
28
12
 
29
- Before writing a blog post, check the last 3 published posts and match the reading level and style:
13
+ Inspect active business context using the native `system_get_capabilities` tool:
30
14
 
31
- ```ts
32
- const recent = await blogWriter.listPublished('posts', 3)
33
- // Read titles + excerpts — match that voice
15
+ ```json
16
+ call_tool("system_get_capabilities", {})
34
17
  ```
35
18
 
36
- ---
37
-
38
- ## Voice rules
39
-
40
- **Match `profile.bio`.** If it's casual, write casually. If it's authoritative, write with authority.
41
-
42
- **`profile.tagline` is the compass.** Short punchy tagline → short punchy headlines. Descriptive tagline → long-form is fine.
43
-
44
- **Never** write content that contradicts `profile.bio`. Don't switch voice between pieces.
45
-
46
- **Always**:
19
+ ### Brand Parameters Returned
47
20
 
48
- - Include a clear CTA
49
- - Write excerpt/meta description separately from the body — it's for search engines + previews
50
- - Keep titles under 60 characters for SEO
51
- - Use `profile.title` (brand name) naturally in content — not generically
52
-
53
- ---
54
-
55
- ## Content quality bars
56
-
57
- | Type | Min length | Must include |
58
- |---|---|---|
59
- | Blog post | 1500 words | Hook intro, 3+ H2 sections, conclusion, CTA |
60
- | Ultimate guide | 3000 words | ToC, H2+H3 hierarchy, examples, FAQs, CTA |
61
- | Listicle | 2000 words | 7–15 items, each with H3 + 2-3 sentences + tip |
62
- | How-to | 2000 words | Numbered steps, clear action per step, outcome |
63
- | Newsletter | 200 words | Greeting, 1 main value/story, CTA, sign-off |
64
- | Product description | 150 words | What it is, who it's for, what they get, price anchor |
65
- | Page copy | 300 words | Headline, problem/solution, social proof hook, CTA |
66
- | Job listing | 200 words | Role summary, responsibilities, requirements, culture |
67
- | Doc article | 400 words | Problem context, step-by-step or explanation, summary |
68
- | Form | 3–10 questions | Clear purpose, progress indicator text, thank-you message |
69
- | Excerpt | 1 sentence | Hook — makes reader click. Not a summary. |
21
+ | Field | Purpose |
22
+ |---|---|
23
+ | `business_name` / `site_title` | Canonical business name — use in headlines, titles, subject lines, and CTAs |
24
+ | `industry` | Target market context (e.g. Retail, SaaS, Healthcare, Manufacturing) |
25
+ | `currency` | Currency symbol & formatting for pricing ($ vs. ₹ vs. €) |
26
+ | `location` / `country` | Localized terminology, regional spelling, and tax jurisdiction |
70
27
 
71
28
  ---
72
29
 
73
- ## What good writing looks like
74
-
75
- - First sentence: lead with the outcome or the surprise — never wind up to it
76
- - Short sentences. Vary the rhythm.
77
- - One idea per paragraph
78
- - Active voice always
79
- - Real numbers over vague claims ("$4,200 in 30 days" not "significant revenue")
80
- - Specific examples over general advice
81
- - Scannable: bullet points, bold key phrases, clear H2s
82
-
83
- ## What bad writing looks like — delete on sight
84
-
85
- - "Delve into" / "dive deep" — never
86
- - "In today's fast-paced world" — delete the whole sentence
87
- - "It's important to note that" — delete it
88
- - Three-sentence intros that say nothing — cut to the first real sentence
89
- - Passive voice — rewrite it
90
- - "Leverage" / "synergy" / "utilize" / "robust" — forbidden
91
- - Starting with "Great question!" or "Certainly!" — never
92
- - Generic opener: "In this article, we will..." — start with the point
93
-
94
- ## Channel-specific tone
95
-
96
- - Blog → authoritative but approachable
97
- - Newsletter → warmest voice, most personal
98
- - Social → punchy, direct, no filler
99
- - Product copy → outcome-first, specific, no hype
100
- - Job listings → honest about culture, specific about role
30
+ ## 2. Voice & Tone Rules
31
+
32
+ 1. **Brand Compass**: Match the business industry and site description:
33
+ - For technical developer tools: Direct, precise, minimal fluff, active voice.
34
+ - For retail & consumer storefronts: Warm, inviting, clear value propositions, benefit-driven.
35
+ - For enterprise B2B: Authoritative, results-focused, data-backed.
36
+ 2. **Tone Consistency**:
37
+ - Check the last 3 published posts via `content_list` to calibrate reading level:
38
+ ```json
39
+ call_tool("content_list", { "published_only": true })
40
+ ```
41
+ 3. **Core Copywriting Rules**:
42
+ - Always include a clear Call to Action (CTA).
43
+ - Write separate `excerpt` and `seo_description` optimized for social previews and search snippets.
44
+ - Keep SEO titles under 60 characters and prefix with the brand name.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: sales-page-copywriting
2
+ name: copywriting
3
3
  version: 1.0.1
4
4
  description: Generate battle-tested sales page copy through hostile validation, output only polished final copy
5
5
  ---
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: crm
3
+ description: Manage customer contacts, sales leads, companies, communication channels, and client details.
4
+ ---
5
+
6
+ # CRM & Contact Management Skill
7
+
8
+ Use this skill when managing customers, creating sales leads, updating contact information, or logging client interactions.
9
+
10
+ ## 1. Operating Rules
11
+
12
+ - Contacts must include at least a full name and a communication method (email, phone, or handle).
13
+ - Always verify existing contacts before creating duplicates.
14
+ - All modifications are soft-updates; contact records are never physically deleted.
15
+
16
+ ## 2. Tool Workflows
17
+
18
+ ### A. Create New Contact / Lead
19
+ ```json
20
+ call_tool("contact_create", {
21
+ "name": "Jane Doe",
22
+ "email": "jane@example.com",
23
+ "phone": "+1-555-0199",
24
+ "tags": ["client", "wholesale"]
25
+ })
26
+ ```
27
+
28
+ ### B. Update Contact Record
29
+ Update targeted fields inside the `fields` object:
30
+ ```json
31
+ call_tool("contact_update", {
32
+ "contact_id": "ct_301a9b82",
33
+ "fields": {
34
+ "phone": "+1-555-0188",
35
+ "tags": "[\"vip\", \"wholesale\"]"
36
+ }
37
+ })
38
+ ```
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: docs-cms
3
+ description: Manage and publish technical documentation, knowledge base articles, guides, and blog posts via BusinessKit CMS tools.
4
+ ---
5
+
6
+ # Docs & CMS Publishing Skill
7
+
8
+ Use this skill when the user asks to write, edit, format, or publish articles, knowledge base docs, guides, or blog posts.
9
+
10
+ ## 1. Operating Rules & Constraints
11
+
12
+ - **Category ID**:
13
+ - Documentation / Knowledge Base: `category_id = "cat_32"`
14
+ - Blog: `category_id = "cat_35"`
15
+ - Guides: `category_id = "cat_36"`
16
+ - **Doc Titles**: Strictly **$\le$ 3 words** (e.g., `Install BusinessKit`, `Visual Page Editor`, `What Are Pages`).
17
+ - **SEO Titles**: Prefixed with the Domain name (e.g. `Pages: Visual Site Architecture`).
18
+ - **Semantic HTML**:
19
+ - Never use Markdown syntax (`##`, `*`, ` ``` `) inside `body_html` / `content`.
20
+ - Never use `<h1>` tags (the page layout generates `<h1>` from the title). Start with `<h2>`.
21
+ - Accordions must default to collapsed (`isOpen = false`, `aria-expanded="false"`).
22
+ - Task lists use `<ul data-type="taskList">` with semantic `<li data-type="taskItem">`.
23
+
24
+ ## 2. Tool Workflows
25
+
26
+ ### A. List Existing Articles
27
+ ```json
28
+ call_tool("content_list", {
29
+ "category_id": "cat_32"
30
+ })
31
+ ```
32
+
33
+ ### B. Create / Publish Documentation Article
34
+ ```json
35
+ call_tool("blog_post_create", {
36
+ "title": "What Are Pages",
37
+ "slug": "what-are-pages",
38
+ "category_id": "cat_32",
39
+ "collection_id": "col_pg_start",
40
+ "excerpt": "Visual website builder overview for BusinessKit.",
41
+ "seo_title": "Pages: Overview and Visual Site Architecture",
42
+ "body_html": "<h2>Overview</h2><p>Pages allows you to design storefronts...</p>",
43
+ "published": 1
44
+ })
45
+ ```
46
+
47
+ ### C. Update Article
48
+ ```json
49
+ call_tool("content_update", {
50
+ "id": "post_what_are_pages",
51
+ "content": "<h2>Updated Section</h2><p>Refined description...</p>"
52
+ })
53
+ ```