saas-to-skill

Convert SaaS platform modules into Agent Skills and synchronize them with code changes.

10|3|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/Cynthia1070711/PHYCOOL_Tools --skill saas-to-skill-cynthia1070711
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: saas-to-skill
Source: https://github.com/Cynthia1070711/PHYCOOL_Tools/tree/main/config-templates/claude/skills/saas-to-skill
Command: npx skills add https://github.com/Cynthia1070711/PHYCOOL_Tools --skill saas-to-skill-cynthia1070711

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? SaaS module knowledge captured in Agent Skills goes stale as code evolves, causing AI agents to apply outdated business rules, schemas, and routes. This Skill provides a governed methodology to create new Skills from SaaS modules and keep existing Skills synchronized with the codebase. ## Core Features & Use Cases - Mode A (Create): Four-phase pipeline covering module inventory, dual-track spec definition, six-section SKILL.md generation, and deployment with quality gates. - Mode B (Lifecycle Sync): Detects six change types (decisions, schema, UIUX, business rules, routes, dependencies), produces Skill Impact Reports, and enforces an eight-dimension verification including FORBIDDEN loophole closure. - Mode C (Epic Audit): Batch freshness audits comparing last_synced_epic across all module Skills, plus a description trigger audit script measuring precision and recall of Skill descriptions. - Use Case: After a migration changes a payment Entity, run the sync gate to reverse-search affected Skills, update rules with file:line evidence, and bump versions in the same story. ## Quick Start Ask the agent to convert the payment module into a new Skill or to audit all existing Skills for staleness against the current Epic.

Frequently Asked Questions about saas-to-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a SaaS module into an Agent Skill?

Use Mode A: inventory the module's specs and code, map constraints to the C1-C10 matrix, define dual-track specs, then generate a six-section SKILL.md with frontmatter, constraints with code examples, and references. Quality gates enforce line limits and trigger keyword counts.

How to detect when an Agent Skill is out of date?

Staleness is detected via watches glob patterns matched against changed file lists, plus semantic detection of six change types: decisions, schema migrations, UIUX flows, business rules, routes, and dependency upgrades. Mode C audits compare last_synced_epic across all Skills.

What is the Skill Sync Gate in a dev-story workflow?

It is a mandatory checkpoint after development where changed files are reverse-searched against all Skills to produce an Impact Report. Affected Skills must be updated within the same story; deferring updates is forbidden, and code review flags unsynced Skills as must-fix issues.

Does the description audit script modify SKILL.md files?

No, audit_descriptions.py is strictly read-only. It measures precision and recall of each Skill description as a trigger classifier using keyword overlap and TF-IDF cosine similarity, then outputs reports with rewrite suggestions for manual application.

When should I not use this Skill for Skill creation?

Do not use it for non-SaaS workflow or utility Skills, which belong to a separate builder. It also does not handle document synchronization or runtime business-rule enforcement, which are covered by other dedicated mechanisms.