@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,122 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* Template Name: Authority Hub
|
|
4
|
+
* Template for Authority Hub pages in the AKA framework
|
|
5
|
+
*
|
|
6
|
+
* @package AKA_Framework
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
get_header();
|
|
10
|
+
?>
|
|
11
|
+
|
|
12
|
+
<div class="authority-hub">
|
|
13
|
+
<?php
|
|
14
|
+
while ( have_posts() ) :
|
|
15
|
+
the_post();
|
|
16
|
+
?>
|
|
17
|
+
|
|
18
|
+
<div class="hub-header">
|
|
19
|
+
<div class="container">
|
|
20
|
+
<h1 class="hub-title"><?php the_title(); ?></h1>
|
|
21
|
+
|
|
22
|
+
<?php if ( has_excerpt() ) : ?>
|
|
23
|
+
<div class="hub-description">
|
|
24
|
+
<?php the_excerpt(); ?>
|
|
25
|
+
</div>
|
|
26
|
+
<?php endif; ?>
|
|
27
|
+
|
|
28
|
+
<div class="trust-bar">
|
|
29
|
+
<span class="trust-item">⭐⭐⭐⭐⭐ Trusted by Clients</span>
|
|
30
|
+
<span class="trust-item">📞 Free Consultation</span>
|
|
31
|
+
<span class="trust-item">💼 Years of Experience</span>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<div class="container">
|
|
37
|
+
<?php
|
|
38
|
+
// Show Quick Navigation if this page has children
|
|
39
|
+
$children = get_pages( array(
|
|
40
|
+
'child_of' => get_the_ID(),
|
|
41
|
+
'post_status' => 'publish'
|
|
42
|
+
) );
|
|
43
|
+
|
|
44
|
+
if ( ! empty( $children ) ) :
|
|
45
|
+
// Group children by template
|
|
46
|
+
$knowledge_pages = array();
|
|
47
|
+
$answer_pages = array();
|
|
48
|
+
|
|
49
|
+
foreach ( $children as $child ) {
|
|
50
|
+
$template = get_page_template_slug( $child->ID );
|
|
51
|
+
if ( $template === 'page-knowledge.php' ) {
|
|
52
|
+
$knowledge_pages[] = $child;
|
|
53
|
+
} elseif ( $template === 'page-answer.php' ) {
|
|
54
|
+
$answer_pages[] = $child;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
?>
|
|
58
|
+
|
|
59
|
+
<div class="quick-nav">
|
|
60
|
+
<h2>Quick Navigation</h2>
|
|
61
|
+
|
|
62
|
+
<?php if ( ! empty( $knowledge_pages ) ) : ?>
|
|
63
|
+
<h3>Knowledge Base</h3>
|
|
64
|
+
<ul>
|
|
65
|
+
<?php foreach ( $knowledge_pages as $page ) : ?>
|
|
66
|
+
<li>
|
|
67
|
+
<a href="<?php echo get_permalink( $page->ID ); ?>">
|
|
68
|
+
<?php echo esc_html( $page->post_title ); ?>
|
|
69
|
+
</a>
|
|
70
|
+
</li>
|
|
71
|
+
<?php endforeach; ?>
|
|
72
|
+
</ul>
|
|
73
|
+
<?php endif; ?>
|
|
74
|
+
|
|
75
|
+
<?php if ( ! empty( $answer_pages ) ) : ?>
|
|
76
|
+
<h3>Common Questions</h3>
|
|
77
|
+
<ul>
|
|
78
|
+
<?php
|
|
79
|
+
// Show first 10 questions
|
|
80
|
+
$count = 0;
|
|
81
|
+
foreach ( $answer_pages as $page ) :
|
|
82
|
+
if ( $count >= 10 ) break;
|
|
83
|
+
?>
|
|
84
|
+
<li>
|
|
85
|
+
<a href="<?php echo get_permalink( $page->ID ); ?>">
|
|
86
|
+
<?php echo esc_html( $page->post_title ); ?>
|
|
87
|
+
</a>
|
|
88
|
+
</li>
|
|
89
|
+
<?php
|
|
90
|
+
$count++;
|
|
91
|
+
endforeach;
|
|
92
|
+
?>
|
|
93
|
+
</ul>
|
|
94
|
+
<?php endif; ?>
|
|
95
|
+
</div>
|
|
96
|
+
<?php endif; ?>
|
|
97
|
+
|
|
98
|
+
<div class="content-area">
|
|
99
|
+
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
100
|
+
<div class="entry-content">
|
|
101
|
+
<?php the_content(); ?>
|
|
102
|
+
</div>
|
|
103
|
+
</article>
|
|
104
|
+
|
|
105
|
+
<?php
|
|
106
|
+
// Display CTA box at the end
|
|
107
|
+
echo aka_get_cta_box(
|
|
108
|
+
'Ready to Get Started?',
|
|
109
|
+
'Contact us today for a free consultation.',
|
|
110
|
+
'Contact Us Now'
|
|
111
|
+
);
|
|
112
|
+
?>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<?php
|
|
117
|
+
endwhile;
|
|
118
|
+
?>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
<?php
|
|
122
|
+
get_footer();
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* Template Name: Knowledge Page
|
|
4
|
+
* Template for Knowledge pages in the AKA framework
|
|
5
|
+
*
|
|
6
|
+
* @package AKA_Framework
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
get_header();
|
|
10
|
+
?>
|
|
11
|
+
|
|
12
|
+
<div class="knowledge-page">
|
|
13
|
+
<div class="container">
|
|
14
|
+
<?php
|
|
15
|
+
while ( have_posts() ) :
|
|
16
|
+
the_post();
|
|
17
|
+
|
|
18
|
+
// Display breadcrumbs
|
|
19
|
+
echo aka_get_breadcrumbs();
|
|
20
|
+
?>
|
|
21
|
+
|
|
22
|
+
<div class="page-header">
|
|
23
|
+
<h1><?php the_title(); ?></h1>
|
|
24
|
+
<?php if ( has_excerpt() ) : ?>
|
|
25
|
+
<div class="page-excerpt">
|
|
26
|
+
<?php the_excerpt(); ?>
|
|
27
|
+
</div>
|
|
28
|
+
<?php endif; ?>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="content-area">
|
|
32
|
+
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
33
|
+
<div class="entry-content">
|
|
34
|
+
<?php the_content(); ?>
|
|
35
|
+
</div>
|
|
36
|
+
</article>
|
|
37
|
+
|
|
38
|
+
<?php
|
|
39
|
+
// Display related topics (sibling Knowledge pages)
|
|
40
|
+
echo aka_get_related_topics();
|
|
41
|
+
|
|
42
|
+
// Display CTA
|
|
43
|
+
echo aka_get_cta_box(
|
|
44
|
+
'Need Professional Help?',
|
|
45
|
+
'Get in touch with us today for expert guidance.',
|
|
46
|
+
'Contact Us'
|
|
47
|
+
);
|
|
48
|
+
?>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<?php
|
|
52
|
+
endwhile;
|
|
53
|
+
?>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<?php
|
|
58
|
+
get_footer();
|