Skip to content

notque/vexjoy-agent / skills/content/content

content

Unverified

Content operations: editorial calendar, marketing, publishing, social media management.

FileKindSize
SKILL.mdskill md11.5 KB
references/at-protocol-api.mdmarkdown7.6 KB
references/at-protocol-preferred-patterns.mdmarkdown8.5 KB
references/batch-edit-examples.mdmarkdown6.9 KB
references/batch-edit-operation-types.mdmarkdown7.0 KB
references/batch-edit-regex-patterns.mdmarkdown5.4 KB
references/batch-edit-safety-checklist.mdmarkdown6.0 KB
references/batch-edit.mdmarkdown9.9 KB
references/calendar-format.mdmarkdown3.5 KB
references/campaign-planning.mdmarkdown17.5 KB
references/classification-prompt.mdmarkdown5.9 KB
references/content-engine.mdmarkdown8.7 KB
references/content-engine/error-handling.mdmarkdown7.8 KB
references/content-engine/phase-playbook.mdmarkdown8.3 KB
references/content-engine/platform-specs.mdmarkdown10.9 KB
references/content-strategy.mdmarkdown14.5 KB
references/email-sequences.mdmarkdown15.8 KB
references/error-handling.mdmarkdown8.2 KB
references/headlines.mdmarkdown5.9 KB
references/image-audit-alt-text-examples.mdmarkdown6.8 KB
references/image-audit-format-selection.mdmarkdown5.8 KB
references/image-audit-report-templates.mdmarkdown3.8 KB
references/image-audit-size-guidelines.mdmarkdown4.2 KB
references/image-audit.mdmarkdown10.4 KB
references/link-audit-false-positives.mdmarkdown4.1 KB
references/link-audit-fix-strategies.mdmarkdown7.1 KB
references/link-audit-graph-metrics.mdmarkdown5.0 KB
references/link-audit.mdmarkdown7.8 KB
references/llm-marketing-failure-modes.mdmarkdown18.7 KB
references/marketing.mdmarkdown20.4 KB
references/metrics.mdmarkdown7.4 KB
references/news-collection.mdmarkdown5.2 KB
references/operations.mdmarkdown5.8 KB
references/outline-examples.mdmarkdown11.2 KB
references/outline-structure-templates.mdmarkdown6.4 KB
references/outline.mdmarkdown8.9 KB
references/pagespeed-insights.mdmarkdown10.4 KB
references/pipeline-stages.mdmarkdown3.3 KB
references/pre-publish-checklist.mdmarkdown7.4 KB
references/pre-publish-hugo-frontmatter.mdmarkdown5.3 KB
references/pre-publish-seo-guidelines.mdmarkdown4.1 KB
references/pre-publish.mdmarkdown10.8 KB
references/reddit-moderate.mdmarkdown7.9 KB
references/script-commands.mdmarkdown3.7 KB
references/seo-audit.mdmarkdown16.4 KB
references/seo-guidelines.mdmarkdown5.5 KB
references/seo-keyword-placement.mdmarkdown6.0 KB
references/seo-title-patterns.mdmarkdown5.6 KB
references/seo.mdmarkdown8.9 KB
references/series-planner.mdmarkdown11.7 KB
references/series-planner/cadence-guidelines.mdmarkdown6.8 KB
references/series-planner/cross-linking.mdmarkdown7.2 KB
references/series-planner/output-format.mdmarkdown3.8 KB
references/series-planner/series-types.mdmarkdown7.6 KB
references/taxonomy-audit-report-format.mdmarkdown3.2 KB
references/taxonomy-consolidation-rules.mdmarkdown6.7 KB
references/taxonomy-examples.mdmarkdown9.7 KB
references/taxonomy-guidelines.mdmarkdown5.5 KB
references/taxonomy.mdmarkdown9.0 KB
references/topic-brainstormer.mdmarkdown10.1 KB
references/topic-brainstormer/content-filter.mdmarkdown7.1 KB
references/topic-brainstormer/priority-scoring.mdmarkdown8.1 KB
references/topic-brainstormer/topic-sources.mdmarkdown7.6 KB
references/wordpress-upload.mdmarkdown11.2 KB
references/x-api.mdmarkdown7.8 KB
scripts/publish/link_scanner.pyscript21.4 KB
scripts/publish/pagespeed.pyscript15.3 KB
scripts/publish/tests/test_load_env_file.pyscript3.8 KB
scripts/publish/tests/test_wordpress_inline_urls.pyscript4.4 KB
scripts/publish/tests/test_wordpress_media_upload.pyscript1.5 KB
scripts/publish/tests/test_wordpress_scraper.pyscript4.1 KB
scripts/publish/wordpress-edit-post.pyscript21.2 KB
scripts/publish/wordpress-media-upload.pyscript8.7 KB
scripts/publish/wordpress-scraper.pyscript23.4 KB
scripts/publish/wordpress-upload.pyscript44.2 KB
scripts/reddit-moderate/reddit-automod-cron.shscript3.9 KB
scripts/reddit-moderate/reddit-mod.pyscript83.0 KB
scripts/reddit-moderate/tests/test_reddit_mod.pyscript31.3 KB

references/batch-edit-regex-patterns.md

View on GitHub
# Common Regex Patterns for Hugo Content

Tested regex patterns for batch editing Hugo blog posts.

---

## Date Patterns

### ISO Date (YYYY-MM-DD)

```regex
Pattern: \d{4}-\d{2}-\d{2}
Matches: 2024-12-24, 2025-01-15
```

**Convert to US format (MM/DD/YYYY):**
```
Find:    (\d{4})-(\d{2})-(\d{2})
Replace: $2/$3/$1
Result:  12/24/2024
```

**Convert to European format (DD/MM/YYYY):**
```
Find:    (\d{4})-(\d{2})-(\d{2})
Replace: $3/$2/$1
Result:  24/12/2024
```

---

## URL Patterns

### Markdown Links

```regex
# Inline links: [text](url)
Pattern: \[([^\]]+)\]\(([^)]+)\)
Groups:  $1 = text, $2 = url

# Reference links: [text][ref]
Pattern: \[([^\]]+)\]\[([^\]]+)\]
Groups:  $1 = text, $2 = reference

# Reference definitions: [ref]: url
Pattern: ^\[([^\]]+)\]:\s*(.+)$
Groups:  $1 = reference, $2 = url
```

**Convert http to https:**
```
Find:    \[([^\]]+)\]\(http://
Replace: [$1](https://
```

**Add target="_blank" to external links (Hugo shortcode):**
```
Find:    \[([^\]]+)\]\((https?://[^)]+)\)
Replace: {{< external-link text="$1" url="$2" >}}
```

---

## Image Patterns

### Markdown Images

```regex
# Basic: ![alt](path)
Pattern: !\[([^\]]*)\]\(([^)]+)\)
Groups:  $1 = alt text, $2 = path

# With title: ![alt](path "title")
Pattern: !\[([^\]]*)\]\(([^"]+)\s+"([^"]+)"\)
Groups:  $1 = alt, $2 = path, $3 = title
```

**Add missing alt text placeholder:**
```
Find:    !\[\]\(([^)]+)\)
Replace: ![TODO: add alt text]($1)
```

**Convert to Hugo figure shortcode:**
```
Find:    !\[([^\]]*)\]\(([^)]+)\)
Replace: {{< figure src="$2" alt="$1" >}}
```

---

## Heading Patterns

### Match Headings by Level

```regex
# H1 only
Pattern: ^# (.+)$

# H2 only
Pattern: ^## (.+)$

# H3 only
Pattern: ^### (.+)$

# Any heading (H1-H6)
Pattern: ^(#{1,6}) (.+)$
Groups:  $1 = hashes, $2 = title
```

**Demote all headings (# -> ##):**
```
Find:    ^(#{1,5}) (.+)$
Replace: #$1 $2
```

**Promote all headings (## -> #):**
```
Find:    ^##(#{0,4}) (.+)$
Replace: #$1 $2
```

---

## Code Patterns

### Inline Code

```regex
# Single backticks
Pattern: `([^`]+)`
Groups:  $1 = code content

# Triple backticks with language
Pattern: ^```(\w+)?\n([\s\S]*?)```$
Groups:  $1 = language, $2 = code
```

**Wrap specific terms in backticks:**
```
Find:    \b(kubectl|docker|npm|yarn|git)\b
Replace: `$1`
Note:    Only matches outside existing backticks
```

---

## Whitespace Patterns

### Trailing Whitespace

```regex
Pattern: [ \t]+$
Replace: (empty)
Note:    Matches spaces/tabs at end of line
```

### Multiple Blank Lines

```regex
Pattern: \n{3,}
Replace: \n\n
Note:    Normalizes 3+ newlines to 2
```

### Leading Whitespace

```regex
Pattern: ^[ \t]+
Note:    Matches spaces/tabs at start of line
```

---

## Quote Patterns

### Smart Quotes to Straight

```regex
# Left double quotes
Find:    \u201C
Replace: "

# Right double quotes
Find:    \u201D
Replace: "

# Left single quotes / apostrophe
Find:    \u2018
Replace: '

# Right single quotes / apostrophe
Find:    \u2019
Replace: '

# Combined pattern
Find:    [\u201C\u201D]
Replace: "
```

### Straight to Smart (context-aware)

```regex
# Opening quote (after space or start)
Find:    (^|[ \n])"
Replace: $1\u201C

# Closing quote (before space, punctuation, or end)
Find:    "($|[ \n.,!?])
Replace: \u201D$1
```

---

## Frontmatter Patterns

### YAML Frontmatter Block

```regex
Pattern: ^---\n([\s\S]*?)\n---
Groups:  $1 = frontmatter content
```

### Specific Field

```regex
# Author field
Pattern: ^author:\s*["']?(.+?)["']?$

# Date field
Pattern: ^date:\s*(.+)$

# Tags array
Pattern: ^tags:\s*\[(.*)\]$

# Draft boolean
Pattern: ^draft:\s*(true|false)$
```

**Change field value:**
```
Find:    ^(author:\s*)["']?.*["']?$
Replace: $1"New Author"
```

---

## Hugo Shortcode Patterns

### Any Shortcode

```regex
# Paired shortcode
Pattern: {{<\s*(\w+)\s*([^>]*)>}}([\s\S]*?){{<\s*/\1\s*>}}
Groups:  $1 = name, $2 = params, $3 = content

# Self-closing shortcode
Pattern: {{<\s*(\w+)\s*([^>]*)/?\\s*>}}
Groups:  $1 = name, $2 = params
```

### Specific Shortcodes

```regex
# Figure shortcode
Pattern: {{<\s*figure\s+src="([^"]+)"([^>]*)>}}

# Highlight shortcode
Pattern: {{<\s*highlight\s+(\w+)\s*>}}([\s\S]*?){{<\s*/highlight\s*>}}

# Ref/relref shortcode
Pattern: {{<\s*(rel)?ref\s+"([^"]+)"\s*>}}
```

---

## Common Cleanup Patterns

### TODO/FIXME Comments

```regex
# HTML comments with TODO
Pattern: <!--\s*TODO:?\s*(.+?)\s*-->

# Markdown TODO
Pattern: ^\s*[-*]\s*\[ \]\s*TODO:?\s*(.+)$

# Inline TODO
Pattern: TODO:?\s*(.+)$
```

**Find and list all TODOs:**
```
Find:    (TODO|FIXME|XXX):?\s*(.+)
```

### Placeholder Text

```regex
# Square bracket placeholders
Pattern: \[(?:insert|add|TBD|TODO|XXX)[^\]]*\]

# Lorem ipsum
Pattern: Lorem ipsum.*?(?:\.|$)

# Placeholder markers
Pattern: (?:PLACEHOLDER|INSERT_HERE|XXX)
```

---

## Safe Patterns (Non-Greedy)

Always use non-greedy quantifiers to avoid over-matching:

```regex
# Greedy (dangerous - matches too much)
Pattern: \[.*\]

# Non-greedy (safe - matches minimum)
Pattern: \[.*?\]

# Greedy (matches entire file between ---)
Pattern: ---(.*)---

# Non-greedy (matches just frontmatter)
Pattern: ---(.*?)---
```

---

## Testing Patterns

Before batch applying, test patterns with grep:

```bash
# Test pattern matches
grep -rn -E "pattern" content/posts/

# Count matches
grep -rc -E "pattern" content/posts/

# Show context
grep -rn -E -B2 -A2 "pattern" content/posts/

# Test on single file first
grep -n -E "pattern" content/posts/first-post.md
```
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 197kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall