Commit Graph

6 Commits

Author SHA1 Message Date
Cursor Agent 8fc51c7cba chore: polish repo-wide production readiness
Normalize every SKILL.md description to double-quoted YAML so the corpus,
templates, and examples have one visible convention. Harden frontmatter
parsing against partial fence matches and non-string name/description values,
and extend tests to cover those regressions.

Fix stale or misleading developer-facing docs: remove phantom book-sft plugin
install instructions, document directory-copy installs, add .agents/skills
manual install guidance, fix the digital-brain setup script target, and mark
historical 13-skill analysis as historical. Cut the prepared release metadata
to 2.3.1 across manifests and root SKILL.md.

Tighten production gates by sharing dev dependencies, making orchestrators use
strict repo validation, aligning skill-health required sections with repo
validation, and linting documented plugin install commands against the actual
marketplace manifest.

Co-authored-by: Muratcan Koylan <muratcankoylan@users.noreply.github.com>
2026-06-29 21:50:47 +00:00
Muratcan Koylan 9749e5cbda fix: certify production Agent Skills compatibility across Cursor, Claude Code, and Codex (#96)
* fix: YAML-safe skill frontmatter for cross-platform discovery

Eleven skills used unquoted descriptions containing colons, which strict
YAML parsers reject during skill discovery on Cursor, Claude Code, and
Codex. Normalize all skill frontmatter to valid YAML, add a shared
skill_frontmatter parser with PyYAML validation, fix install docs to use
directory layout, and add .agents/skills symlink plus Open Plugins
skills path declaration.

Co-authored-by: Muratcan Koylan <muratcankoylan@users.noreply.github.com>

* test: add frontmatter parser unit tests and harden examples

Add researcher/scripts/tests/test_skill_frontmatter.py (19 tests) covering
parser edge cases, a strict-YAML regression guard for the unquoted-colon
bug, format/parse round-trips, and corpus + example integration checks.
Wire unit tests into CI ahead of the strict repo gate. Quote the
description fields in the two example skills that had the same
unquoted-colon YAML hazard. Simplify CRLF handling in split_frontmatter
and document CONTRIBUTING test commands.

Co-authored-by: Muratcan Koylan <muratcankoylan@users.noreply.github.com>

* chore: harden production plugin packaging validation

Remove the committed .agents/skills symlink because symlinks are fragile
on Windows checkouts and in plugin packaging. Keep Cursor and Codex
support through Open Plugins discovery and documented directory-copy
manual installs.

Extend validate_repo.py so strict validation checks that the Open
Plugins manifest and Claude marketplace manifest name the same bundled
plugin, and that Open Plugins skills discovery resolves to the same 15
published skills as the repository.

Co-authored-by: Muratcan Koylan <muratcankoylan@users.noreply.github.com>

* ci: certify cross-platform skill compatibility

Add validate_platform_compat.py to check the production surfaces defined by
Agent Skills, Cursor, Claude Code, Codex, and Open Plugins documentation.
The gate validates published skills, manifest discovery parity, and
platform-local directory-copy installs for .cursor/skills, .claude/skills,
.codex/skills, and .agents/skills.

Install skills-ref in CI and require the upstream agentskills reference
validator in the compatibility gate. Tighten manifest path checks so both
Claude marketplace and Open Plugins skill paths must start with './', and
update operator docs to run the new gate before claiming production
readiness.

Co-authored-by: Muratcan Koylan <muratcankoylan@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Muratcan Koylan <muratcankoylan@users.noreply.github.com>
2026-06-29 16:52:07 -04:00
muratcankoylan cbc2c97813 Harden full skill corpus for v2.3.0 release
Apply the auto-research quality standard across every published skill and update the mechanisms, claims, fixtures, benchmarks, and release docs so the corpus improves as a coherent system rather than isolated prose edits.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-19 02:08:06 -04:00
muratcankoylan c847b206ae Rewrite all 13 skills from textbook to hybrid instructional voice
Based on Anthropic's "Lessons from Building Claude Code" article,
this is a comprehensive upgrade of all skills to be actionable
toolboxes rather than conceptual textbooks.

Changes across all 13 skills:
- Rewrite prose from descriptive ("X is Y") to hybrid instructional
  voice ("Do X because Y") — leads with actions, weaves in reasoning
- Add standardized ## Gotchas sections (5-9 per skill) with
  experience-derived, specific, actionable failure modes
- Update scripts for composability: __all__ exports, type hints,
  "Use when:" docstrings, __main__ demo blocks
- Add progressive disclosure triggers to all References sections
  ("Read when: [specific condition]")
- Update template/SKILL.md with canonical Gotchas section

Key metrics:
- Total SKILL.md lines: 3,559 → 3,421 (compressed despite adding content)
- Skills with Gotchas: 4 → 13 (100% coverage, standardized format)
- Scripts with __all__: 0 → 12 (all except bdi-mental-states)
- References with triggers: 0 → 13 (100% coverage)
- All skills remain under 500-line limit (range: 195-402)

Also adds docs/skills-improvement-analysis.md with the full gap
analysis against Anthropic's best practices.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:21:50 -04:00
muratcankoylan 1d449a6d21 Fix README formatting and enhance template with Anthropic Skills best practices
- Fix README.md formatting (text was jumbled/corrupted)
- Add 500-line limit guidance to template
- Add third-person writing guidance for descriptions
- Add token cost justification principle
- Add freedom levels (high/medium/low) for specificity guidance
- Add input/output example pattern
- Add cross-directory reference guidance (use plain text, not links)
- Add internal reference path format (./references/)
- Update version to 1.1.0
2025-12-21 12:00:41 -05:00
muratcankoylan 969441a599 Reorganize: move contents to root level 2025-12-20 21:47:22 -05:00