@lebtiga/sonic-agent 1.0.0
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/LICENSE.txt +223 -0
- package/README.md +61 -0
- package/bin/sonic.js +304 -0
- package/lib/index.js +20 -0
- package/lib/installer.js +156 -0
- package/lib/license.js +48 -0
- package/package.json +46 -0
- package/plugin/.claude-plugin/plugin.json +13 -0
- package/plugin/README.md +100 -0
- package/plugin/agents/sonic.md +80 -0
- package/plugin/commands/sonic-build.md +145 -0
- package/plugin/commands/sonic-help.md +71 -0
- package/plugin/skills/accessibility-qa/SKILL.md +160 -0
- package/plugin/skills/accessibility-qa/templates/accessibility-qa-report-template.md +123 -0
- package/plugin/skills/accessibility-qa/templates/wcag-compliance-statement.md +70 -0
- package/plugin/skills/aka-wireframe-wp/SKILL.md +149 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/README.md +190 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/footer.php +49 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/functions.php +395 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/header.php +58 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/index.php +39 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/page-answer.php +62 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/page-authority-hub.php +122 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/page-knowledge.php +58 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/style.css +633 -0
- package/plugin/skills/aka-wireframe-wp/references/content-generator.md +371 -0
- package/plugin/skills/aka-wireframe-wp/references/internal-linker.md +430 -0
- package/plugin/skills/aka-wireframe-wp/references/orchestrator.md +269 -0
- package/plugin/skills/aka-wireframe-wp/references/prompts-library.md +880 -0
- package/plugin/skills/aka-wireframe-wp/references/seo-optimizer.md +433 -0
- package/plugin/skills/aka-wireframe-wp/references/strategy-planner.md +317 -0
- package/plugin/skills/aka-wireframe-wp/references/wordpress-deployer.md +545 -0
- package/plugin/skills/authority-site-builder/SKILL.md +138 -0
- package/plugin/skills/brand-philosophy/SKILL.md +77 -0
- package/plugin/skills/freepik-spaces/SKILL.md +122 -0
- package/plugin/skills/freepik-spaces/docs/automation-guide.md +233 -0
- package/plugin/skills/freepik-spaces/docs/research-notes.md +264 -0
- package/plugin/skills/freepik-spaces/plans/naseberry-demo-plan.md +320 -0
- package/plugin/skills/freepik-spaces/templates/naseberry-demo.json +302 -0
- package/plugin/skills/freepik-spaces/templates/saas-demo.json +212 -0
- package/plugin/skills/frontend-design/LICENSE.txt +177 -0
- package/plugin/skills/frontend-design/SKILL.md +77 -0
- package/plugin/skills/programmatic-seo/SKILL.md +236 -0
- package/plugin/skills/programmatic-seo/references/playbooks.md +293 -0
- package/plugin/skills/seo-qa/SKILL.md +132 -0
- package/plugin/skills/seo-qa/templates/schema-localbusiness.json +49 -0
- package/plugin/skills/seo-qa/templates/schema-service.json +36 -0
- package/plugin/skills/seo-qa/templates/seo-qa-report-template.md +90 -0
- package/plugin/skills/visual-identity/SKILL.md +109 -0
- package/plugin/skills/visual-identity/templates/style-guide-template.md +108 -0
- package/plugin/skills/website-image-gen/SKILL.md +82 -0
- package/plugin/skills/website-image-gen/templates/blog-featured.md +56 -0
- package/plugin/skills/website-image-gen/templates/hero-service-photo.md +56 -0
- package/plugin/skills/wordpress-pro/SKILL.md +105 -0
- package/plugin/skills/wordpress-pro/references/gutenberg-blocks.md +870 -0
- package/plugin/skills/wordpress-pro/references/hooks-filters.md +845 -0
- package/plugin/skills/wordpress-pro/references/performance-security.md +1012 -0
- package/plugin/skills/wordpress-pro/references/plugin-architecture.md +1041 -0
- package/plugin/skills/wordpress-pro/references/theme-development.md +858 -0
- package/plugin/sops/SOP-Sonic 777/authority-site-sop.html +1100 -0
- package/plugin/sops/SOP-WORDPRESS-330-PAGE-SITES.md +926 -0
- package/scripts/postinstall.js +109 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
# AKA Strategy Planner
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
Generates complete Authority-Knowledge-Answer (AKA) content wireframe by analyzing business requirements and creating comprehensive content architecture.
|
|
5
|
+
|
|
6
|
+
## Model
|
|
7
|
+
claude-opus-4
|
|
8
|
+
|
|
9
|
+
## When to Use
|
|
10
|
+
- After initial setup is complete
|
|
11
|
+
- When business config exists
|
|
12
|
+
- To generate complete content strategy
|
|
13
|
+
- To plan 150-300 page site structure
|
|
14
|
+
- Before content generation begins
|
|
15
|
+
|
|
16
|
+
## Capabilities
|
|
17
|
+
- Industry analysis and pattern recognition
|
|
18
|
+
- Competitor content gap identification
|
|
19
|
+
- Authority Hub topic generation (5-7 hubs)
|
|
20
|
+
- Knowledge page clustering (12-15 per hub)
|
|
21
|
+
- Answer question generation (20-30 per hub)
|
|
22
|
+
- URL structure planning
|
|
23
|
+
- Keyword mapping
|
|
24
|
+
- Implementation priority ranking
|
|
25
|
+
|
|
26
|
+
## Input Required
|
|
27
|
+
|
|
28
|
+
**Primary Input**: `.factory/config/aka-wireframe/business-config.json`
|
|
29
|
+
|
|
30
|
+
Contains all business variables:
|
|
31
|
+
- businessName, industry, location
|
|
32
|
+
- primaryService, secondaryServices
|
|
33
|
+
- targetAudience, painPoints
|
|
34
|
+
- brandVoice, uniqueValue
|
|
35
|
+
- Contact and trust signals
|
|
36
|
+
|
|
37
|
+
## Output Generated
|
|
38
|
+
|
|
39
|
+
**Primary Output**: `.factory/config/aka-wireframe/aka-strategy-output.json`
|
|
40
|
+
|
|
41
|
+
Complete AKA wireframe structure:
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"business": {
|
|
45
|
+
"name": "Cool Air HVAC",
|
|
46
|
+
"industry": "Home Services (HVAC)",
|
|
47
|
+
"location": "Atlanta, GA"
|
|
48
|
+
},
|
|
49
|
+
"summary": {
|
|
50
|
+
"totalPages": 247,
|
|
51
|
+
"authorityHubs": 5,
|
|
52
|
+
"knowledgePages": 75,
|
|
53
|
+
"answerPages": 125,
|
|
54
|
+
"locationPages": 42
|
|
55
|
+
},
|
|
56
|
+
"hubs": [
|
|
57
|
+
{
|
|
58
|
+
"hubId": 1,
|
|
59
|
+
"hubName": "AC Repair Services",
|
|
60
|
+
"slug": "ac-repair-services",
|
|
61
|
+
"url": "/ac-repair-services/",
|
|
62
|
+
"primaryKeyword": "AC repair Atlanta",
|
|
63
|
+
"searchVolume": 2400,
|
|
64
|
+
"description": "Comprehensive guide to AC repair services in Atlanta",
|
|
65
|
+
"wordCount": 4000,
|
|
66
|
+
"knowledgePages": [
|
|
67
|
+
{
|
|
68
|
+
"pageId": "k1-1",
|
|
69
|
+
"title": "AC Not Cooling Troubleshooting",
|
|
70
|
+
"slug": "ac-not-cooling-troubleshooting",
|
|
71
|
+
"url": "/ac-repair-services/ac-not-cooling-troubleshooting/",
|
|
72
|
+
"keyword": "AC not cooling",
|
|
73
|
+
"wordCount": 2000,
|
|
74
|
+
"description": "Diagnose and fix AC not cooling issues"
|
|
75
|
+
},
|
|
76
|
+
// ... 14 more Knowledge pages
|
|
77
|
+
],
|
|
78
|
+
"answerPages": [
|
|
79
|
+
{
|
|
80
|
+
"pageId": "a1-1",
|
|
81
|
+
"question": "How much does AC repair cost in Atlanta?",
|
|
82
|
+
"slug": "how-much-ac-repair-cost-atlanta",
|
|
83
|
+
"url": "/ac-repair-services/how-much-ac-repair-cost-atlanta/",
|
|
84
|
+
"keyword": "AC repair cost Atlanta",
|
|
85
|
+
"wordCount": 1000,
|
|
86
|
+
"questionType": "cost"
|
|
87
|
+
},
|
|
88
|
+
// ... 24 more Answer pages
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
// ... 4 more hubs
|
|
92
|
+
],
|
|
93
|
+
"urlStructure": {
|
|
94
|
+
"pattern": "domain.com/[hub-slug]/[page-slug]/",
|
|
95
|
+
"totalUrls": 247,
|
|
96
|
+
"hierarchy": "Authority → Knowledge/Answer (parent-child)"
|
|
97
|
+
},
|
|
98
|
+
"keywordStrategy": {
|
|
99
|
+
"headKeywords": 5,
|
|
100
|
+
"midTailKeywords": 75,
|
|
101
|
+
"longTailKeywords": 167
|
|
102
|
+
},
|
|
103
|
+
"implementationPriority": [
|
|
104
|
+
{"hub": 1, "reason": "Highest search volume", "order": 1},
|
|
105
|
+
{"hub": 2, "reason": "Secondary service", "order": 2},
|
|
106
|
+
// ...
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
**Secondary Output**: `generated-content/aka-wireframe-roadmap.md`
|
|
112
|
+
|
|
113
|
+
Human-readable roadmap with:
|
|
114
|
+
- Executive summary
|
|
115
|
+
- Hub-by-hub breakdown
|
|
116
|
+
- Implementation timeline
|
|
117
|
+
- Success metrics
|
|
118
|
+
|
|
119
|
+
## Strategy Generation Process
|
|
120
|
+
|
|
121
|
+
### Step 1: Industry Analysis
|
|
122
|
+
Analyze the business industry to understand:
|
|
123
|
+
- Common service types
|
|
124
|
+
- Customer pain points
|
|
125
|
+
- Search behavior patterns
|
|
126
|
+
- Competitor content approaches
|
|
127
|
+
- Topical authority opportunities
|
|
128
|
+
|
|
129
|
+
### Step 2: Authority Hub Identification
|
|
130
|
+
Identify 5-7 Authority Hub topics based on:
|
|
131
|
+
- Primary and secondary services
|
|
132
|
+
- Customer journey stages
|
|
133
|
+
- Problem-based hubs (what customers need to solve)
|
|
134
|
+
- Process-based hubs (how things work)
|
|
135
|
+
- Location-based considerations
|
|
136
|
+
|
|
137
|
+
**Hub Identification Rules**:
|
|
138
|
+
- Each hub should support 12-15 Knowledge pages
|
|
139
|
+
- Each hub should support 20-30 Answer questions
|
|
140
|
+
- Hubs should have search volume and intent
|
|
141
|
+
- Hubs should align with business services
|
|
142
|
+
|
|
143
|
+
### Step 3: Knowledge Page Clustering
|
|
144
|
+
For each Authority Hub, generate 12-15 Knowledge pages:
|
|
145
|
+
|
|
146
|
+
**Categories**:
|
|
147
|
+
- Specific problems (5-7 pages)
|
|
148
|
+
- Service types (3-5 pages)
|
|
149
|
+
- Process details (2-3 pages)
|
|
150
|
+
- Cost/pricing guides (1-2 pages)
|
|
151
|
+
- Comparison topics (1-2 pages)
|
|
152
|
+
|
|
153
|
+
**Example for HVAC AC Repair Hub**:
|
|
154
|
+
1. AC Not Cooling Troubleshooting (problem)
|
|
155
|
+
2. AC Refrigerant Leak Repair (problem)
|
|
156
|
+
3. AC Compressor Replacement (service type)
|
|
157
|
+
4. AC Fan Motor Repair (service type)
|
|
158
|
+
5. Emergency AC Repair Services (service type)
|
|
159
|
+
6. AC Repair Cost Guide Atlanta (pricing)
|
|
160
|
+
7. AC Repair vs Replacement Decision (comparison)
|
|
161
|
+
8. ... [5-8 more]
|
|
162
|
+
|
|
163
|
+
### Step 4: Answer Question Generation
|
|
164
|
+
For each Authority Hub, generate 20-30 questions:
|
|
165
|
+
|
|
166
|
+
**Question Types Distribution**:
|
|
167
|
+
- How questions (5): Process/instructions
|
|
168
|
+
- What questions (5): Definitions/explanations
|
|
169
|
+
- Why questions (4): Reasoning/importance
|
|
170
|
+
- When questions (3): Timing/urgency
|
|
171
|
+
- Cost questions (4): Pricing/value
|
|
172
|
+
- Comparison questions (3): This vs that
|
|
173
|
+
- Emergency/urgent questions (3): Immediate needs
|
|
174
|
+
|
|
175
|
+
**Question Generation Method**:
|
|
176
|
+
- Research "People Also Ask" for hub topic
|
|
177
|
+
- Analyze common customer questions
|
|
178
|
+
- Consider objections and concerns
|
|
179
|
+
- Target featured snippet opportunities
|
|
180
|
+
- Use natural language as people search
|
|
181
|
+
|
|
182
|
+
### Step 5: URL Structure Planning
|
|
183
|
+
Create complete URL hierarchy:
|
|
184
|
+
|
|
185
|
+
**Pattern**: `domain.com/[hub-slug]/[page-slug]/`
|
|
186
|
+
|
|
187
|
+
**WordPress Hierarchy**:
|
|
188
|
+
- Authority Hub = Parent page
|
|
189
|
+
- Knowledge Pages = Children of hub
|
|
190
|
+
- Answer Pages = Children of hub
|
|
191
|
+
|
|
192
|
+
**Example**:
|
|
193
|
+
```
|
|
194
|
+
/ac-repair-services/ (Authority Hub)
|
|
195
|
+
├── /ac-repair-services/ac-not-cooling/ (Knowledge)
|
|
196
|
+
├── /ac-repair-services/refrigerant-leak/ (Knowledge)
|
|
197
|
+
├── /ac-repair-services/how-much-cost/ (Answer)
|
|
198
|
+
└── /ac-repair-services/diy-vs-professional/ (Answer)
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Step 6: Keyword Mapping
|
|
202
|
+
Map keywords to pages:
|
|
203
|
+
|
|
204
|
+
**Authority Pages**: Head keywords (1,000+ searches/month)
|
|
205
|
+
**Knowledge Pages**: Mid-tail keywords (100-1,000 searches/month)
|
|
206
|
+
**Answer Pages**: Long-tail questions (10-100 searches/month)
|
|
207
|
+
|
|
208
|
+
Include:
|
|
209
|
+
- Primary keyword per page
|
|
210
|
+
- Secondary keywords (3-5)
|
|
211
|
+
- LSI keywords (related terms)
|
|
212
|
+
- Local modifiers where applicable
|
|
213
|
+
|
|
214
|
+
### Step 7: Priority Ranking
|
|
215
|
+
Rank implementation order based on:
|
|
216
|
+
- Search volume and opportunity
|
|
217
|
+
- Business priority (main services first)
|
|
218
|
+
- Competitive difficulty
|
|
219
|
+
- Customer journey alignment
|
|
220
|
+
|
|
221
|
+
## Industry-Specific Adaptations
|
|
222
|
+
|
|
223
|
+
### Law Firms
|
|
224
|
+
**Hubs**: Practice areas (car accidents, truck accidents, etc.)
|
|
225
|
+
**Knowledge**: Accident types, injury types, legal processes
|
|
226
|
+
**Answers**: Cost, process, timing, fault questions
|
|
227
|
+
|
|
228
|
+
### Home Services (HVAC, Plumbing, etc.)
|
|
229
|
+
**Hubs**: Service types (repair, installation, maintenance)
|
|
230
|
+
**Knowledge**: Specific problems, equipment types, processes
|
|
231
|
+
**Answers**: Cost, DIY vs pro, emergency, timing
|
|
232
|
+
|
|
233
|
+
### Financial Services
|
|
234
|
+
**Hubs**: Product types, processes, requirements
|
|
235
|
+
**Knowledge**: Specific scenarios, eligibility, regulations
|
|
236
|
+
**Answers**: Cost, qualification, timing, alternatives
|
|
237
|
+
|
|
238
|
+
### Healthcare
|
|
239
|
+
**Hubs**: Conditions treated, services offered
|
|
240
|
+
**Knowledge**: Specific conditions, treatments, processes
|
|
241
|
+
**Answers**: Insurance, cost, preparation, expectations
|
|
242
|
+
|
|
243
|
+
## Validation Rules
|
|
244
|
+
|
|
245
|
+
Before outputting strategy, validate:
|
|
246
|
+
|
|
247
|
+
✅ **Hub Count**: 5-7 hubs (not too few, not too many)
|
|
248
|
+
✅ **Knowledge per Hub**: 12-15 pages (proper depth)
|
|
249
|
+
✅ **Answers per Hub**: 20-30 questions (comprehensive coverage)
|
|
250
|
+
✅ **Total Pages**: 150-300 (reasonable scope)
|
|
251
|
+
✅ **URL Structure**: Proper hierarchy with no duplicates
|
|
252
|
+
✅ **Keywords**: Mapped to every page
|
|
253
|
+
✅ **Searchable Topics**: Every hub has search volume
|
|
254
|
+
✅ **Business Alignment**: Matches business services
|
|
255
|
+
|
|
256
|
+
## Example Strategy for Different Industries
|
|
257
|
+
|
|
258
|
+
### HVAC Company Strategy
|
|
259
|
+
```json
|
|
260
|
+
{
|
|
261
|
+
"hubs": [
|
|
262
|
+
{"hubName": "AC Repair Services", "knowledgeCount": 15, "answerCount": 25},
|
|
263
|
+
{"hubName": "Heating System Repair", "knowledgeCount": 15, "answerCount": 25},
|
|
264
|
+
{"hubName": "HVAC Installation Guide", "knowledgeCount": 12, "answerCount": 20},
|
|
265
|
+
{"hubName": "Preventative Maintenance", "knowledgeCount": 13, "answerCount": 22},
|
|
266
|
+
{"hubName": "Emergency HVAC Services", "knowledgeCount": 12, "answerCount": 23}
|
|
267
|
+
],
|
|
268
|
+
"totalPages": 205
|
|
269
|
+
}
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### Law Firm Strategy
|
|
273
|
+
```json
|
|
274
|
+
{
|
|
275
|
+
"hubs": [
|
|
276
|
+
{"hubName": "Car Accident Lawyer", "knowledgeCount": 15, "answerCount": 25},
|
|
277
|
+
{"hubName": "Truck Accident Attorney", "knowledgeCount": 12, "answerCount": 18},
|
|
278
|
+
{"hubName": "Motorcycle Accident Lawyer", "knowledgeCount": 12, "answerCount": 20},
|
|
279
|
+
{"hubName": "Wrongful Death Attorney", "knowledgeCount": 13, "answerCount": 16},
|
|
280
|
+
{"hubName": "Auto Injury Compensation", "knowledgeCount": 17, "answerCount": 25}
|
|
281
|
+
],
|
|
282
|
+
"totalPages": 227
|
|
283
|
+
}
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
## Output Format
|
|
287
|
+
|
|
288
|
+
**Strategy JSON** (complete machine-readable structure)
|
|
289
|
+
**Roadmap Markdown** (human-readable implementation plan)
|
|
290
|
+
**Progress Tracker** (initialized for first hub)
|
|
291
|
+
|
|
292
|
+
## User Guidance
|
|
293
|
+
|
|
294
|
+
After generation, provide:
|
|
295
|
+
- Summary of strategy created
|
|
296
|
+
- Total page count and breakdown
|
|
297
|
+
- Recommended start point (usually Hub 1)
|
|
298
|
+
- Next command to run
|
|
299
|
+
- Estimated time to complete
|
|
300
|
+
|
|
301
|
+
## Success Criteria
|
|
302
|
+
|
|
303
|
+
✅ Strategy generated in under 2 minutes
|
|
304
|
+
✅ Proper AKA structure (Authority → Knowledge → Answer)
|
|
305
|
+
✅ Realistic page count (150-300)
|
|
306
|
+
✅ Every page has keyword target
|
|
307
|
+
✅ URL structure follows best practices
|
|
308
|
+
✅ Implementation priority clear
|
|
309
|
+
✅ Ready for content generation
|
|
310
|
+
|
|
311
|
+
## Notes
|
|
312
|
+
|
|
313
|
+
- Strategy should be industry-agnostic (works for any vertical)
|
|
314
|
+
- Use business config to inform strategy
|
|
315
|
+
- Consider local SEO for location-based businesses
|
|
316
|
+
- Balance comprehensiveness with feasibility
|
|
317
|
+
- Prioritize actionability over perfection
|