Skip to content

Dev - #581

Merged
alirezarezvani merged 22 commits into
mainfrom
dev
Apr 28, 2026
Merged

Dev#581
alirezarezvani merged 22 commits into
mainfrom
dev

Conversation

@alirezarezvani

Copy link
Copy Markdown
Owner

Summary

Checklist

  • Target branch is dev (not main — PRs to main will be auto-closed)
  • Skill has SKILL.md with valid YAML frontmatter (name, description, license)
  • Scripts (if any) run with --help without errors
  • No hardcoded API keys, tokens, or secrets
  • No vendor-locked dependencies without open-source fallback
  • Follows existing directory structure (domain/skill-name/SKILL.md)

Type of Change

  • New skill
  • Improvement to existing skill
  • Bug fix
  • Documentation
  • Infrastructure / CI

Testing

zerone0x and others added 22 commits April 12, 2026 04:39
…er-metadata

fix(agile-product-owner): add boundaries and triggers
The agile-product-owner skill was available as part of the product-team
domain bundle but lacked its own .claude-plugin/plugin.json for standalone
installation via `/plugin install agile-product-owner@claude-code-skills`.

Adds:
- product-team/agile-product-owner/.claude-plugin/plugin.json (v2.3.0)
- .claude-plugin/marketplace.json entry (36th plugin, category: product)

Cross-tool availability verified:
- Codex CLI: present in skills-index.json (product category, 16 skills)
- Gemini CLI: present in skills-index.json
- Hermes Agent: discoverable via sync-hermes-skills.py
- Top-level agent: agents/product/cs-agile-product-owner.md exists

Security audit: PASS (0 critical, 0 high)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…lugin

fix(agile-product-owner): add standalone plugin.json + marketplace entry
Phase 1 of the marketing skills improvement plan. Inspired by patterns
from claude-seo (4.7k stars) and claude-ads (2.4k stars) — the highest-
traction Claude Code plugins in the SEO/ads space. Adopts their best
patterns without replacing our existing skills.

seo-audit additions:
- scripts/seo_health_scorer.py — weighted 0-100 health score across 7
  categories (Technical 22%, Content 23%, On-Page 20%, Schema 10%,
  Performance 10%, AI Readiness 10%, Images 5%). Industry profiles
  (SaaS/ecommerce/local/publisher) adjust weights. Severity-weighted
  scoring with Critical/High/Medium/Low priority levels and Quick Wins
  extraction. Demo mode included.
- references/cwv-thresholds.md — Core Web Vitals 2026 thresholds (LCP,
  CLS, INP) with good/needs-improvement/poor ranges and common fixes
- references/eeat-framework.md — E-E-A-T audit checklist per Google's
  Sept 2025 Quality Rater Guidelines, YMYL topic handling
- references/schema-types.md — active/deprecated JSON-LD types with
  validation checklist and common mistakes

paid-ads additions:
- scripts/ad_health_scorer.py — multi-platform ad account scoring with
  severity multipliers (Critical=5x, High=3x, Medium=1.5x, Low=0.5x).
  Platform-specific category weights for Google (6 categories, 74 checks),
  Meta (4 categories), LinkedIn (4), TikTok (4). Cross-platform aggregation
  weighted by budget share. Quick Wins prioritization. Demo mode with
  Google + Meta sample data.
- references/scoring-system.md — full scoring algorithm, severity
  multipliers, platform weights, grade bands, quality gates (hard rules
  like "never Broad Match + Manual CPC")
- references/copy-frameworks.md — 6 ad copy frameworks (PAS, BAB, AIDA,
  FAB, 4P, Star-Story-Solution) with selection matrix by product type,
  platform-specific character limits, and brand DNA extraction (7 voice
  axes as JSON schema)

Key patterns adopted from claude-seo/ads:
- Weighted numeric scores replace binary pass/fail
- Severity multipliers make critical issues dominate the score
- Industry/platform auto-detection adjusts weights
- Quick Wins = high severity + partially working (warn not fail)
- Reference files are lazy-loaded, not inline
- Demo mode with realistic sample data

All scripts stdlib-only, --json + --help verified.

Also saved: documentation/implementation/marketing-skills-improvement-plan.md
covering all 3 phases (Phase 2: content scoring, Phase 3: AI detection).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…-phase1

feat(marketing): add weighted scoring systems to seo-audit + paid-ads
Phases 2+3 of the marketing skills improvement plan. Inspired by patterns
from claude-blog (466 stars) — dual-optimization for Google + AI citation
platforms, quality gates as hard stops, and AI content detection.

content-production additions:
- scripts/content_quality_gates.py — 8 non-negotiable publishing gates:
  heading hierarchy, paragraph length (≤150 words), image alt text,
  source citations for statistics, title length (50-60 chars), meta
  description length (150-160), self-promotion limit (≤1 mention),
  freshness signals. Verdicts: PUBLISH / TARGET / BLOCK. Demo included.
- references/ai-citation-readiness.md — how to optimize for AI citation
  platforms (Perplexity, ChatGPT, AI Overviews): answer-first paragraphs,
  passage-level citability (120-180 word chunks), entity clarity, Q&A
  formatting, freshness signals
- references/content-templates.md — 12 content templates (how-to, listicle,
  case study, comparison, pillar page, product review, thought leadership,
  roundup, tutorial, news analysis, data research, FAQ) with auto-selection
  logic based on user intent and target word counts

copy-editing additions:
- scripts/ai_content_detector.py — 3-method AI detection: burstiness
  analysis (sentence length CV — human=0.5+, AI=0.2-0.35), vocabulary
  diversity (sliding-window TTR — human=0.6+, AI=0.35-0.45), 30 known
  AI phrases with density scoring. Composite 0-100: ≤20 LIKELY_HUMAN,
  21-50 MIXED, 51+ LIKELY_AI. Includes humanization recommendations.
- references/ai-detection-patterns.md — full explanation of all 3 methods,
  threshold tables, the 10 most common AI phrases with replacements,
  scoring formula, caveats for technical writing

All scripts stdlib-only, --json + --help + --demo verified.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…-phase2

feat(marketing): add content quality gates + AI content detector
…LL.md to skills/ and updating skills path in plugin.json

The plugin.json configured 'skills': './' which scans the plugin root for SKILL.md files. This found the root SKILL.md (name: 'self-improving-agent') and stopped, preventing Claude Code from discovering the subskills (review, promote, extract, status, remember) in the skills/ subdirectories.

Fix: Move root SKILL.md to skills/self-improving-agent/SKILL.md and update plugin.json to 'skills': './skills/' so Claude Code recursively scans the skills/ directory and discovers all 5 subskills.

This enables the intended /si:review, /si:promote, /si:extract, /si:status, /si:remember slash command routing.
Updated the skill description to emphasize proactive usage and clarified triggers for cost optimization. Enhanced the context and steps for cost auditing, optimization, and architecture design.
A comprehensive skill that helps users choose the right Claude Code
commands, agents, and skills for different scenarios.

Features:
- Quick decision flowchart for command selection
- Slash commands reference (compact, loop, plan, tdd, etc.)
- Agents selection matrix (planner, code-reviewer, etc.)
- Skills selection guide (tdd-workflow, verification-loop, etc.)
- Parallel vs sequential execution strategy
- Context management timing guide
- Command cheat sheet for daily use

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Convert Augment integration from flat .augment/rules/*.md to directory-based .augment/skills/<name>/SKILL.md structure
- Align Augment format with Windsurf and OpenCode skill bundle pattern
- Copy supporting folders (scripts/, references/, templates/) to each Augment skill directory
- Update frontmatter from 'type: auto' to standard 'name' + 'description' fields
- Update README documentation for new directory-based installation path

This change is possible because Augment Code now supports skills in beta, allowing us to move from the flat rules format to full skill bundles. This gives Augment users access to the complete skill ecosystem including Python automation tools and reference documentation, not just the markdown content.
Zero-dependency Node.js skill that captures full-page screenshots of web
pages via Chrome DevTools Protocol. Supports SPA scroll container
expansion, lazy-load triggering, DOM stability detection, and tiled
capture for very tall pages. Requires only Node.js 22+ and Chrome with
remote debugging enabled.
feat(engineering): add full-page-screenshot skill
feat(integrations): change Augment from flat rules to skill bundles
feat: Add command-guide skill for Claude Code command/agent/skill selection
Revise LLM Cost Optimizer skill details
fix(self-improving-agent): correct skill discovery path configuration
@alirezarezvani
alirezarezvani merged commit 03118a2 into main Apr 28, 2026
5 of 6 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🛡️ VirusTotal Security Scan

File Analysis
engineering-full-page-screenshot.zip Report

Scanned with 70+ antivirus engines

Automated by ghaction-virustotal

@claude

claude Bot commented Apr 28, 2026

Copy link
Copy Markdown

PR Review — Dev merge (#581)

Note: This PR is already merged. This review is for tracking and future reference.


Summary

This PR adds two new POWERFUL-tier engineering skills (command-guide, full-page-screenshot), a significant enhancement to llm-cost-optimizer, four new marketing skill reference files and Python scripts, restructures self-improving-agent, and adds a marketing improvement plan doc.


Issues Found

🔴 Bug: Truncated description in skills-index.json

.codex/skills-index.json has a malformed description for command-guide:

{
  "name": "command-guide",
  "description": ">"
}

This is clearly a truncated/placeholder value. It should contain the actual skill description from SKILL.md. This breaks skill discoverability via Codex.

🔴 macOS-only fallback in full-page-screenshot.mjs

In captureViaProxy() (tile stitching path), the script calls sips to read tile dimensions:

const sipsOut = execSync(`sips -g pixelWidth -g pixelHeight "${tiles[0].path}"`, ...)

sips is a macOS-only utility. This will silently fail on Linux/Windows with a cryptic error. Since the SKILL.md says the tool has "zero external dependencies beyond Node.js 22+ and Chrome", this is a broken promise on non-macOS platforms. Consider using Python + PIL (already used for stitching) to read dimensions, or use a minimal pure-JS PNG header parser.

🟡 Undocumented CDP proxy dependency

The script references a hardcoded proxy at http://localhost:3456 (the PROXY_URL constant and isProxyRunning() helper), but:

  • This proxy server is not included in the skill
  • There's no documentation on how to set it up, what it is, or when it's needed
  • Users who hit the "browser WebSocket held by proxy" path will get Cannot connect to Chrome and no proxy running. with no guidance

This fallback path either needs documentation or should be removed if the proxy is a separate, undocumented internal tool.

🟡 self-improving-agent removed from skills index without explanation

The PR deletes the self-improving-agent entry from .codex/skills-index.json while simultaneously restructuring the plugin (skills path changed to ./skills/). The skill still exists in the repo, but removing it from the index breaks Codex discoverability. The engineering skill count was decremented from 36→35 accordingly, which may not be the intent.

If this was intentional (the plugin restructure means the skill should be registered differently), that should be noted in the PR description.

🟡 command-guide SKILL.md references non-existent skills

The skill references many agents and skills that don't appear to exist in this library:

  • tdd-guide, build-error-resolver, e2e-runner, refactor-cleaner, doc-updater
  • verification-loop, tdd-workflow, strategic-compact, frontend-patterns, backend-patterns
  • /skill-create, /learn, /build-fix

This may confuse users who try to invoke them. If these are intended as "example/aspirational" agents, they should be clearly labeled as such. If they're real, they need to be added to the library or the references removed.

🟡 SKILL_DIR unexplained in full-page-screenshot SKILL.md

The SKILL.md uses ${SKILL_DIR} in all script invocation examples:

node "${SKILL_DIR}/scripts/full-page-screenshot.mjs" --check

There's no explanation of how this variable is set. Users will need to substitute the actual path manually.

🟡 PR checklist not completed

None of the PR template checklist items were checked, including "Scripts run with --help without errors". The new Python scripts (content_quality_gates.py, ai_content_detector.py, ad_health_scorer.py) and the Node.js script should have been verified.


What Looks Good

llm-cost-optimizer rewrite is substantially improved — cleaner structure with a 3-mode classifier upfront, proactive flags table, failure modes section, and handoff triggers. The removal of the "Before Starting" Q&A and replacing it with a pre-classified mode selection is a meaningful UX improvement.

Python scripts (content_quality_gates.py, ai_content_detector.py, ad_health_scorer.py) are well-structured, follow the stdlib-only convention, include --demo flags, support --json output, and have good inline documentation. The burstiness/TTR approach in ai_content_detector.py is a solid deterministic heuristic.

Reference files (ai-citation-readiness.md, content-templates.md, copy-frameworks.md, scoring-system.md) are high-quality knowledge bases — specific, actionable, and well-organized.

full-page-screenshot.mjs core CDP logic is solid — the scroll container expansion, DOM stability detection, lazy-load triggering, and tile stitching approach are all technically sound for the happy path (macOS + direct CDP).


Suggested Follow-up

  1. Fix the command-guide description in skills-index.json
  2. Replace the sips call in full-page-screenshot.mjs with a cross-platform alternative
  3. Document or remove the CDP proxy fallback path
  4. Clarify the self-improving-agent indexing intent
  5. Add a note in command-guide SKILL.md that agent references are examples, not installed skills

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants