SuperCharge Claude Code v1.0.0 - Complete Customization Package
Features: - 30+ Custom Skills (cognitive, development, UI/UX, autonomous agents) - RalphLoop autonomous agent integration - Multi-AI consultation (Qwen) - Agent management system with sync capabilities - Custom hooks for session management - MCP servers integration - Plugin marketplace setup - Comprehensive installation script Components: - Skills: always-use-superpowers, ralph, brainstorming, ui-ux-pro-max, etc. - Agents: 100+ agents across engineering, marketing, product, etc. - Hooks: session-start-superpowers, qwen-consult, ralph-auto-trigger - Commands: /brainstorm, /write-plan, /execute-plan - MCP Servers: zai-mcp-server, web-search-prime, web-reader, zread - Binaries: ralphloop wrapper Installation: ./supercharge.sh
This commit is contained in:
236
skills/wordpress-ai/summarization.md
Normal file
236
skills/wordpress-ai/summarization.md
Normal file
@@ -0,0 +1,236 @@
|
||||
---
|
||||
name: wordpress-ai-summarization
|
||||
description: "Summarize WordPress content using AI for excerpts, meta descriptions, and quick overviews"
|
||||
---
|
||||
|
||||
# WordPress AI: Content Summarization
|
||||
|
||||
## When to Use
|
||||
|
||||
Use this skill when you need to:
|
||||
- Create post excerpts automatically
|
||||
- Generate meta descriptions
|
||||
- Provide content previews
|
||||
- Summarize long-form articles
|
||||
- Create executive summaries
|
||||
|
||||
## How It Works
|
||||
|
||||
The WordPress AI plugin summarizes content by:
|
||||
1. Analyzing full text structure
|
||||
2. Identifying key points and themes
|
||||
3. Extracting essential information
|
||||
4. Condensing to target length
|
||||
5. Maintaining original meaning and tone
|
||||
|
||||
## Summary Types
|
||||
|
||||
### Excerpt Summaries
|
||||
**Length:** 150-200 characters
|
||||
**Use:** Post previews, archive pages
|
||||
**Style:** Enticing, preview-focused
|
||||
|
||||
### Meta Descriptions
|
||||
**Length:** 150-160 characters
|
||||
**Use:** SEO, search results
|
||||
**Style:** Keyword-rich, descriptive
|
||||
|
||||
### Executive Summaries
|
||||
**Length:** 2-3 sentences
|
||||
**Use:** Business content, reports
|
||||
**Style:** Professional, key takeaways
|
||||
|
||||
### Bullet Summaries
|
||||
**Length:** 3-5 bullets
|
||||
**Use:** Quick scanning, highlights
|
||||
**Style:** Concise points, actionable
|
||||
|
||||
## Summarization Strategy
|
||||
|
||||
### Step 1: Analyze Content
|
||||
Identify:
|
||||
- Main topic/thesis
|
||||
- Key arguments/points
|
||||
- Important details
|
||||
- Call to action (if any)
|
||||
- Target audience
|
||||
|
||||
### Step 2: Extract Core Message
|
||||
Draft summary capturing:
|
||||
- What is this about?
|
||||
- Why does it matter?
|
||||
- What should reader learn/do?
|
||||
|
||||
### Step 3: Condense and Polish
|
||||
- Remove fluff and repetition
|
||||
- Combine related ideas
|
||||
- Ensure clarity and flow
|
||||
- Match desired length
|
||||
|
||||
### Step 4: Optimize for Use Case
|
||||
- **Excerpts:** Add hook/teaser
|
||||
- **Meta:** Include keywords
|
||||
- **Executive:** Maintain professional tone
|
||||
- **Bullets:** Make actionable
|
||||
|
||||
## Examples
|
||||
|
||||
### Long Article → Excerpt
|
||||
|
||||
**Input:** (800-word article on AI web design)
|
||||
|
||||
**Summary (155 chars):**
|
||||
"Discover how AI is revolutionizing web design with one-shot generation. Create production-ready landing pages in 60 seconds using GLM 4.7 and WordPress AI."
|
||||
|
||||
### Technical Post → Meta Description
|
||||
|
||||
**Input:** (Technical guide on REST APIs)
|
||||
|
||||
**Summary (158 chars):**
|
||||
"Learn WordPress REST API development with practical examples. Master endpoints, authentication, and integration techniques for custom plugin and theme development."
|
||||
|
||||
### Case Study → Executive Summary
|
||||
|
||||
**Input:** (2000-word case study)
|
||||
|
||||
**Summary:** "This case study examines how Company X implemented WordPress AI, resulting in 40% faster content creation, 60% improvement in SEO rankings, and 3x increase in social engagement. Key success factors included proper prompt engineering, staff training, and iterative optimization."
|
||||
|
||||
### Tutorial → Bullet Summary
|
||||
|
||||
**Input:** (Step-by-step tutorial)
|
||||
|
||||
**Summary:**
|
||||
- Set up WordPress AI plugin with API provider
|
||||
- Configure title and excerpt generation features
|
||||
- Implement AI-powered content workflow
|
||||
- Monitor results and iterate on prompts
|
||||
- Scale across content team
|
||||
|
||||
## Integration with WordPress
|
||||
|
||||
### Generate Excerpt
|
||||
|
||||
```php
|
||||
// Auto-generate excerpt on publish
|
||||
add_action( 'save_post', function( $post_id ) {
|
||||
if ( defined( 'DOING_AUTOSAVE' ) || DOING_AUTOSAVE ) return;
|
||||
|
||||
$excerpt = ai_summarize_content( array(
|
||||
'content' => get_post_field( 'post_content', $post_id ),
|
||||
'type' => 'excerpt',
|
||||
'length' => 150,
|
||||
) );
|
||||
|
||||
if ( ! is_wp_error( $excerpt ) ) {
|
||||
wp_update_post( array(
|
||||
'ID' => $post_id,
|
||||
'post_excerpt' => $excerpt,
|
||||
) );
|
||||
}
|
||||
} );
|
||||
```
|
||||
|
||||
### Generate Meta Description
|
||||
|
||||
```php
|
||||
// Add AI-generated meta description
|
||||
add_action( 'wp_head', function() {
|
||||
if ( is_singular() ) {
|
||||
$summary = ai_summarize_content( array(
|
||||
'content' => get_the_content(),
|
||||
'type' => 'meta_description',
|
||||
) );
|
||||
|
||||
if ( ! is_wp_error( $summary ) ) {
|
||||
echo '<meta name="description" content="' . esc_attr( $summary ) . '">';
|
||||
}
|
||||
}
|
||||
} );
|
||||
```
|
||||
|
||||
### Bulk Summarize
|
||||
|
||||
```php
|
||||
// Summarize all posts without excerpts
|
||||
$args = array(
|
||||
'post_type' => 'post',
|
||||
'posts_per_page' => -1,
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => '_has_ai_summary',
|
||||
'compare' => 'NOT EXISTS',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
$query = new WP_Query( $args );
|
||||
|
||||
while ( $query->have_posts() ) {
|
||||
$query->the_post();
|
||||
|
||||
$summary = ai_summarize_content( array(
|
||||
'content' => get_the_content(),
|
||||
'type' => 'excerpt',
|
||||
) );
|
||||
|
||||
if ( ! is_wp_error( $summary ) ) {
|
||||
wp_update_post( array(
|
||||
'ID' => get_the_ID(),
|
||||
'post_excerpt' => $summary,
|
||||
) );
|
||||
|
||||
update_post_meta( get_the_ID(), '_has_ai_summary', true );
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Best Practices
|
||||
|
||||
✅ **Do:**
|
||||
- Preserve main message
|
||||
- Maintain original tone
|
||||
- Include key benefits
|
||||
- Add relevant keywords for SEO
|
||||
- Test different lengths
|
||||
- Edit for clarity
|
||||
|
||||
❌ **Don't:**
|
||||
- Lose critical information
|
||||
- Change meaning significantly
|
||||
- Make false claims
|
||||
- Over-repeat keywords
|
||||
- Exceed length limits
|
||||
- Use passive voice excessively
|
||||
|
||||
## Quality Checklist
|
||||
|
||||
Before delivering summary:
|
||||
- [ ] Accurately represents source
|
||||
- [ ] Meets length requirements
|
||||
- [ ] Includes key points
|
||||
- [ ] Maintains appropriate tone
|
||||
- [ ] Grammatically correct
|
||||
- [ ] No factual errors
|
||||
- [ ] Compelling for intended use
|
||||
|
||||
## Advanced Techniques
|
||||
|
||||
### Multi-Length Summaries
|
||||
Generate summaries at multiple lengths:
|
||||
- Ultra-short (50 chars) - Social media
|
||||
- Short (150 chars) - Excerpts
|
||||
- Medium (300 chars) - Descriptions
|
||||
- Long (500 chars) - Abstracts
|
||||
|
||||
### Style Adaptation
|
||||
Adjust summary style to content type:
|
||||
- **News:** Factual, who/what/when/where
|
||||
- **Tutorial:** Steps, outcomes, benefits
|
||||
- **Opinion:** Main argument, supporting points
|
||||
- **How-to:** Process overview, key tips
|
||||
|
||||
### SEO Optimization
|
||||
- Include primary keyword naturally
|
||||
- Add related long-tail keywords
|
||||
- Match search intent
|
||||
- Include benefit/CTA when appropriate
|
||||
Reference in New Issue
Block a user