@businesskit/agent 1.0.3 → 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.
- package/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +25 -0
- package/.cursorrules +10 -0
- package/.superconsole-plugin/plugin.json +32 -0
- package/AGENTS.md +94 -63
- package/CLAUDE.md +11 -65
- package/GEMINI.md +11 -34
- package/README.md +106 -153
- package/assets/logo.svg +3 -0
- package/bin/businesskit.js +11 -17
- package/commands/add-contact.md +47 -0
- package/commands/add-inventory-from-invoice.md +80 -0
- package/commands/adjust-stock.md +46 -0
- package/commands/capabilities.md +33 -0
- package/commands/check-stock.md +43 -0
- package/commands/create-component.md +109 -0
- package/commands/create-invoice.md +69 -0
- package/commands/create-new-bill.md +65 -0
- package/commands/create-page.md +96 -0
- package/commands/list-components.md +41 -0
- package/commands/list-content.md +46 -0
- package/commands/list-pages.md +45 -0
- package/commands/publish-page.md +64 -0
- package/commands/send-invoice.md +42 -0
- package/commands/seo-audit.md +36 -0
- package/commands/update-contact.md +46 -0
- package/commands/update-content.md +47 -0
- package/commands/update-page.md +55 -0
- package/commands/update-price.md +47 -0
- package/commands/write-blog.md +52 -0
- package/commands/write-docs.md +84 -0
- package/commands/write-guide.md +46 -0
- package/commands/write-newsletter.md +46 -0
- package/mcp_config.json +8 -0
- package/package.json +34 -23
- package/plugin.json +32 -0
- package/scripts/generate-schema.ts +244 -0
- package/scripts/setup.sh +134 -0
- package/scripts/setup.ts +92 -0
- package/server.json +21 -0
- package/skills/README.md +19 -27
- package/skills/billing/SKILL.md +64 -0
- package/skills/brand/SKILL.md +30 -86
- package/skills/copywriting/SKILL.md +1 -1
- package/skills/crm/SKILL.md +38 -0
- package/skills/docs-cms/SKILL.md +53 -0
- package/skills/docs-cms/references/how-to.md +383 -0
- package/skills/inbox/SKILL.md +49 -0
- package/skills/inventory/SKILL.md +69 -0
- package/skills/pages/SKILL.md +169 -0
- package/skills/pages/references/sections-catalog.json +950 -0
- package/skills/social/SKILL.md +1 -1
- package/templates/antigravity.json +8 -0
- package/templates/claude-code.mcp.json +8 -0
- package/templates/cursor.mcp.json +8 -0
- package/templates/vscode.mcp.json +9 -0
- package/.claude/commands/analytics.md +0 -7
- package/.claude/commands/blog-writer.md +0 -9
- package/.claude/commands/cbo.md +0 -7
- package/.claude/commands/ceo.md +0 -10
- package/.claude/commands/cmo.md +0 -7
- package/.claude/commands/compress.md +0 -73
- package/.claude/commands/coo.md +0 -11
- package/.claude/commands/copywriter.md +0 -15
- package/.claude/commands/course-creator.md +0 -9
- package/.claude/commands/crm.md +0 -591
- package/.claude/commands/deep.md +0 -50
- package/.claude/commands/docs-writer.md +0 -8
- package/.claude/commands/forms-builder.md +0 -10
- package/.claude/commands/jobs-manager.md +0 -8
- package/.claude/commands/kb.md +0 -107
- package/.claude/commands/newsletter-writer.md +0 -9
- package/.claude/commands/preserve.md +0 -64
- package/.claude/commands/resume.md +0 -67
- package/.claude/commands/scheduler.md +0 -8
- package/.claude/commands/seo.md +0 -60
- package/.claude/commands/social.md +0 -51
- package/.claude/commands/store-manager.md +0 -11
- package/.env.example +0 -2
- package/.mcp.json +0 -3
- package/ABOUT-ME.md +0 -96
- package/HEARTBEAT.md +0 -105
- package/PLAN.md +0 -384
- package/PRD-Agent-Composition.md +0 -149
- package/PRD-Agent-Harness.md +0 -316
- package/REFERENCE.md +0 -124
- package/SOUL.md +0 -148
- package/SYSTEM.md +0 -71
- package/agents/_base.ts +0 -63
- package/agents/creators/blog-writer.ts +0 -347
- package/agents/creators/copywriter.ts +0 -89
- package/agents/creators/course-creator.ts +0 -106
- package/agents/creators/crm-agent.ts +0 -479
- package/agents/creators/docs-writer.ts +0 -77
- package/agents/creators/forms-builder.ts +0 -90
- package/agents/creators/jobs-manager.ts +0 -82
- package/agents/creators/newsletter-writer.ts +0 -91
- package/agents/creators/store-manager.ts +0 -138
- package/agents/csuite/cbo.ts +0 -109
- package/agents/csuite/ceo.ts +0 -121
- package/agents/csuite/cmo.ts +0 -109
- package/agents/csuite/coo.ts +0 -115
- package/agents/growth/analytics-agent.ts +0 -52
- package/agents/growth/scheduler.ts +0 -68
- package/agents/growth/seo-agent.ts +0 -282
- package/agents/growth/social-agent.ts +0 -346
- package/brand-voice.md +0 -127
- package/cli.ts +0 -125
- package/context/brand.md +0 -80
- package/context/business.md +0 -66
- package/ingest.md +0 -110
- package/lib/analytics.ts +0 -81
- package/lib/db.adapter.ts +0 -30
- package/lib/db.ts +0 -16
- package/lib/id.ts +0 -15
- package/lib/kb.ts +0 -337
- package/lib/memory.ts +0 -219
- package/lib/pattern-detector.ts +0 -169
- package/lib/profile.ts +0 -119
- package/lib/slug.ts +0 -30
- package/setup.ts +0 -127
- package/skills/agents/SKILL.md +0 -56
- package/skills/analytics/SKILL.md +0 -52
- package/skills/blog-writer/SKILL.md +0 -452
- package/skills/ceo/SKILL.md +0 -25
- package/skills/cmo/SKILL.md +0 -8
- package/skills/schema/SKILL.md +0 -45
- package/skills/store/SKILL.md +0 -62
- package/tsconfig.json +0 -13
- package/working-style.md +0 -87
package/skills/store/SKILL.md
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# Store — Digital Commerce
|
|
2
|
-
|
|
3
|
-
All products live in the `products` table. `type` determines the product.
|
|
4
|
-
|
|
5
|
-
## Product Types
|
|
6
|
-
|
|
7
|
-
### `download` — Digital Files
|
|
8
|
-
Required: `title`, `price_cents`, `file_url`
|
|
9
|
-
Optional: `thumbnail_url`, `excerpt`, `description`
|
|
10
|
-
Use: PDF guides, video files, templates, software, ZIP bundles
|
|
11
|
-
|
|
12
|
-
### `course` — Online Courses (use SAGE agent)
|
|
13
|
-
Required: `title`, `price_cents`
|
|
14
|
-
Optional: `lessons` (JSON array), `thumbnail_url`, `duration_minutes`
|
|
15
|
-
Lesson shape: `{ id, title, content?, video_url?, duration_minutes?, position, free_preview? }`
|
|
16
|
-
Use SAGE for lesson management. LEO stores the product row.
|
|
17
|
-
|
|
18
|
-
### `meeting` — 1:1 Calls
|
|
19
|
-
Required: `title`, `price_cents`, `calendar_link`
|
|
20
|
-
Optional: `scheduling_provider` ('cal.com'|'calendly'|'tidycal'), `meeting_settings` (JSON)
|
|
21
|
-
Use: coaching sessions, consulting hours, office hours
|
|
22
|
-
|
|
23
|
-
### `webinar` — Webinars
|
|
24
|
-
Required: `title`, `price_cents`, `webinar_link`, `webinar_platform`
|
|
25
|
-
Optional: `webinar_schedule` (JSON: date, timezone, duration), `webinar_settings` (JSON)
|
|
26
|
-
Use: live workshops, recorded sessions with access control
|
|
27
|
-
|
|
28
|
-
### `event` — Events
|
|
29
|
-
Required: `title`, `price_cents`
|
|
30
|
-
Optional: `event_settings` (JSON: date, venue, capacity, ticket_types)
|
|
31
|
-
Use: conferences, workshops, meetups, virtual events
|
|
32
|
-
|
|
33
|
-
### `listing` — Platform Listings
|
|
34
|
-
Required: `title`, `price_cents`, `platform_name`
|
|
35
|
-
Optional: `platform_url`, `post_frequency` (e.g. '2x per week')
|
|
36
|
-
Use: newsletter sponsorships, podcast ads, community access
|
|
37
|
-
|
|
38
|
-
### `sponsorship` — Recurring Sponsorships
|
|
39
|
-
Required: `title`, `price_cents`, `billing_interval`
|
|
40
|
-
`billing_interval`: `'month'` | `'year'` | `'once'`
|
|
41
|
-
Optional: `features` (JSON array of what's included)
|
|
42
|
-
Use: recurring sponsor slots, brand partnerships
|
|
43
|
-
|
|
44
|
-
### `service` — Custom Services
|
|
45
|
-
Required: `title`, `price_cents`
|
|
46
|
-
Optional: `description`, `features`, `button_text`, `cta_button`
|
|
47
|
-
Use: design work, writing, strategy, development, audits
|
|
48
|
-
|
|
49
|
-
## Key Rules
|
|
50
|
-
|
|
51
|
-
- `price_cents`: always in smallest currency unit. $29 = `2900`, $9.99 = `999`
|
|
52
|
-
- `currency`: lowercase ISO code. Default `'usd'`
|
|
53
|
-
- `slug`: globally unique across all products (not just per-profile)
|
|
54
|
-
- `published=0`: draft. `published=1`: live. `hidden=1`: archived.
|
|
55
|
-
- `is_active=1`: always set on create. Set `0` only to temp disable without archiving.
|
|
56
|
-
- Seed `product_analytics` row on every create (INSERT OR IGNORE)
|
|
57
|
-
|
|
58
|
-
## Pricing Patterns
|
|
59
|
-
|
|
60
|
-
Free product: `price_cents=0`
|
|
61
|
-
Pay-what-you-want: set `price_cents` to minimum, note in description
|
|
62
|
-
Sale: set both `price_cents` (original) and `sale_price_cents` (discounted)
|
package/tsconfig.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
|
-
"module": "NodeNext",
|
|
5
|
-
"moduleResolution": "NodeNext",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
"resolveJsonModule": true,
|
|
9
|
-
"outDir": "dist"
|
|
10
|
-
},
|
|
11
|
-
"include": ["**/*.ts"],
|
|
12
|
-
"exclude": ["node_modules", "dist"]
|
|
13
|
-
}
|
package/working-style.md
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# Working Style
|
|
2
|
-
|
|
3
|
-
> Fill this in. Agents adapt to how you actually work.
|
|
4
|
-
> Be honest — the more specific, the better the output.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## How I like to work with agents
|
|
9
|
-
|
|
10
|
-
<!--
|
|
11
|
-
Examples:
|
|
12
|
-
- Show me drafts before publishing anything
|
|
13
|
-
- Always give me 3 options, I'll pick one
|
|
14
|
-
- Just do it, don't ask — I'll review at the end
|
|
15
|
-
- Morning is my review time, schedule posts for afternoon
|
|
16
|
-
-->
|
|
17
|
-
|
|
18
|
-
[How you prefer to work with agents]
|
|
19
|
-
|
|
20
|
-
## Approval preferences
|
|
21
|
-
|
|
22
|
-
<!--
|
|
23
|
-
What needs my sign-off? What can agents do automatically?
|
|
24
|
-
Examples:
|
|
25
|
-
- Blog posts: always show me draft first
|
|
26
|
-
- Social posts: auto-publish on LinkedIn, show me Twitter first
|
|
27
|
-
- Emails/newsletters: never send without approval
|
|
28
|
-
- CRM outreach: draft and queue, I'll approve in batches
|
|
29
|
-
-->
|
|
30
|
-
|
|
31
|
-
| Action | Auto | Draft first | Always ask |
|
|
32
|
-
|---|---|---|---|
|
|
33
|
-
| Blog post | | ✓ | |
|
|
34
|
-
| Social post | | ✓ | |
|
|
35
|
-
| Newsletter | | | ✓ |
|
|
36
|
-
| CRM outreach | | ✓ | |
|
|
37
|
-
| Product update | | | ✓ |
|
|
38
|
-
|
|
39
|
-
## Publishing schedule
|
|
40
|
-
|
|
41
|
-
<!--
|
|
42
|
-
When do you publish what? Agents use this for scheduling.
|
|
43
|
-
Examples:
|
|
44
|
-
- Blog: Tuesday and Thursday
|
|
45
|
-
- Newsletter: every Friday 9am
|
|
46
|
-
- Social: daily 8am, 12pm, 6pm
|
|
47
|
-
- YouTube: Sunday
|
|
48
|
-
-->
|
|
49
|
-
|
|
50
|
-
[Your publishing schedule]
|
|
51
|
-
|
|
52
|
-
## Review windows
|
|
53
|
-
|
|
54
|
-
<!--
|
|
55
|
-
When do you actually check and approve things?
|
|
56
|
-
Example: I review drafts every morning 9-10am. Don't schedule outside that.
|
|
57
|
-
-->
|
|
58
|
-
|
|
59
|
-
[When you review and approve]
|
|
60
|
-
|
|
61
|
-
## Things agents should never do without asking
|
|
62
|
-
|
|
63
|
-
<!--
|
|
64
|
-
Hard stops. Examples:
|
|
65
|
-
- Never delete content — archive it instead
|
|
66
|
-
- Never change prices without asking
|
|
67
|
-
- Never publish to LinkedIn on weekends
|
|
68
|
-
- Never send emails to more than 100 people without approval
|
|
69
|
-
-->
|
|
70
|
-
|
|
71
|
-
- Never delete — archive instead
|
|
72
|
-
- [Add your own]
|
|
73
|
-
|
|
74
|
-
## Things agents can always do without asking
|
|
75
|
-
|
|
76
|
-
<!--
|
|
77
|
-
Safe defaults. Examples:
|
|
78
|
-
- Can always save drafts
|
|
79
|
-
- Can always add to agent_notes for later
|
|
80
|
-
- Can always generate options/variants
|
|
81
|
-
- Can always push reports to agent_reports
|
|
82
|
-
-->
|
|
83
|
-
|
|
84
|
-
- Can always save to drafts
|
|
85
|
-
- Can always push to agent_reports
|
|
86
|
-
- Can always add to agent_notes inbox
|
|
87
|
-
- [Add your own]
|