Skip to content

FrancyJGLisboa/agent-skills-platform / references/examples/weekly-crm-report

weekly-crm-report

Unverified

Cleans a weekly CRM export and produces a regional sales summary. Activates when the user asks to clean a CRM export, deduplicate sales rows, calculate regional totals, or generate a weekly sales report from a CSV.

discovery.json

View on GitHub
{
  "question": "Which sales regions require attention after this week's CRM close?",
  "trigger": ["A weekly CRM export is available"],
  "decision": ["Investigate a regional variance", "Accept the weekly regional totals"],
  "evidence": ["CRM export rows", "Deduplication and regional-total output"],
  "success_measure": "Every reported regional total reconciles to the cleaned CRM export",
  "outcome": "Produce a clean weekly regional sales summary",
  "environment": {
    "documentation_sources": ["CRM export schema supplied by the owner"],
    "data_sources": ["Weekly CRM export"],
    "required_capabilities": ["Read the supplied CRM export"],
    "readiness_checks": ["Required CRM columns exist and the close period is known"]
  },
  "risk": {"tier": "low", "permissions": ["Read the supplied CRM export"], "mutation_boundary": "read-only", "approval_required": []},
  "software_mutation": {"applies": false},
  "data_interfaces": {"applies": true, "interface_types": ["structured-file"], "authoritative_sources": ["Approved CRM export schema"], "entities": ["CRM opportunity", "Sales region"], "identifiers": ["Opportunity ID", "Region code"], "relationships": ["Each opportunity belongs to one sales region"], "field_semantics": ["Opportunity amount is decimal currency in the export currency"], "invariants": ["Each opportunity ID is unique within the export"], "freshness_and_pagination": ["The supplied file is one complete weekly snapshot with no pagination"], "nullability": ["Opportunity ID, region, and amount are required"], "readiness_checks": ["One safe export sample matches the approved CRM schema"]},
  "semantic_contract": {"applies": false},
  "semantic_recon": {
    "sources": [{
      "id": "crm-weekly-export",
      "type": "structured-file",
      "reuse": "recurring",
      "impact": "moderate",
      "contract_id": "crm_export",
      "contract_path": "contracts/data_contract_crm_export"
    }]
  },
  "routing_tests": {
    "should_trigger": ["Prepare this week's CRM report", "Which sales regions missed plan?", "Reconcile the weekly regional totals"],
    "should_not_trigger": ["Update CRM opportunities", "Analyze a public stock", "Merge a pull request"]
  }
}
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall