claude-code-arcane 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +100 -0
- package/LICENSE +26 -0
- package/README.md +372 -0
- package/agents/ai/ai-architect.md +80 -0
- package/agents/ai/data-engineer.md +66 -0
- package/agents/ai/data-scientist.md +58 -0
- package/agents/ai/ml-engineer.md +61 -0
- package/agents/business/business-ops-lead.md +64 -0
- package/agents/business/financial-analyst.md +62 -0
- package/agents/business/sales-engineer.md +74 -0
- package/agents/clevel/ceo-advisor.md +64 -0
- package/agents/clevel/cfo-advisor.md +63 -0
- package/agents/clevel/chief-of-staff.md +60 -0
- package/agents/clevel/cmo-advisor.md +67 -0
- package/agents/clevel/coo-advisor.md +79 -0
- package/agents/clevel/cto-advisor.md +72 -0
- package/agents/devops/cloud-architect.md +52 -0
- package/agents/devops/platform-lead.md +72 -0
- package/agents/devops/sre-lead.md +100 -0
- package/agents/engineering/android-engineer.md +78 -0
- package/agents/engineering/backend-architect.md +127 -0
- package/agents/engineering/database-architect.md +138 -0
- package/agents/engineering/flutter-engineer.md +75 -0
- package/agents/engineering/frontend-architect.md +138 -0
- package/agents/engineering/go-engineer.md +102 -0
- package/agents/engineering/ios-engineer.md +76 -0
- package/agents/engineering/node-engineer.md +107 -0
- package/agents/engineering/react-engineer.md +109 -0
- package/agents/engineering/react-native-engineer.md +112 -0
- package/agents/engineering/sql-specialist.md +106 -0
- package/agents/game/accessibility-specialist.md +150 -0
- package/agents/game/ai-programmer.md +95 -0
- package/agents/game/analytics-engineer.md +101 -0
- package/agents/game/art-director.md +64 -0
- package/agents/game/economy-designer.md +143 -0
- package/agents/game/game-designer.md +70 -0
- package/agents/game/gameplay-programmer.md +133 -0
- package/agents/game/lead-programmer.md +62 -0
- package/agents/game/level-designer.md +115 -0
- package/agents/game/live-ops-designer.md +184 -0
- package/agents/game/narrative-director.md +60 -0
- package/agents/game/network-programmer.md +98 -0
- package/agents/game/performance-analyst.md +112 -0
- package/agents/game/qa-lead.md +65 -0
- package/agents/game/qa-tester-gamedev.md +230 -0
- package/agents/game/release-manager.md +65 -0
- package/agents/game/sound-designer.md +85 -0
- package/agents/game/systems-designer.md +157 -0
- package/agents/game/technical-artist.md +108 -0
- package/agents/game/technical-director.md +74 -0
- package/agents/game/ue-replication-specialist.md +143 -0
- package/agents/game/unity-shader-specialist.md +178 -0
- package/agents/game/unity-specialist.md +184 -0
- package/agents/game/unreal-specialist.md +172 -0
- package/agents/game/ux-designer.md +112 -0
- package/agents/game/world-builder.md +111 -0
- package/agents/game/writer.md +104 -0
- package/agents/integrations/api-tools-specialist.md +209 -0
- package/agents/integrations/comms-tools-specialist.md +159 -0
- package/agents/integrations/design-tools-specialist.md +129 -0
- package/agents/integrations/docs-tools-specialist.md +116 -0
- package/agents/integrations/integrations-architect.md +144 -0
- package/agents/integrations/project-tools-specialist.md +129 -0
- package/agents/management/delivery-manager.md +105 -0
- package/agents/management/program-director.md +55 -0
- package/agents/management/project-manager.md +126 -0
- package/agents/management/scrum-master.md +96 -0
- package/agents/marketing/content-lead.md +74 -0
- package/agents/marketing/growth-lead.md +72 -0
- package/agents/marketing/marketing-analyst.md +89 -0
- package/agents/marketing/marketing-director.md +75 -0
- package/agents/marketing/seo-lead.md +80 -0
- package/agents/product/chief-product-officer.md +79 -0
- package/agents/product/design-system-lead.md +76 -0
- package/agents/product/product-manager.md +132 -0
- package/agents/product/ui-lead.md +73 -0
- package/agents/product/ux-lead.md +103 -0
- package/agents/quality/qa-director.md +121 -0
- package/agents/quality/qa-engineer.md +92 -0
- package/agents/quality/security-architect.md +144 -0
- package/agents/regulatory/compliance-officer.md +88 -0
- package/agents/regulatory/quality-manager.md +90 -0
- package/agents/regulatory/regulatory-director.md +92 -0
- package/agents/visualnovel/vn-comfyui-artist.md +91 -0
- package/agents/visualnovel/vn-narrative-director.md +86 -0
- package/agents/visualnovel/vn-producer.md +108 -0
- package/agents/visualnovel/vn-renpy-developer.md +118 -0
- package/agents/visualnovel/vn-scene-director.md +98 -0
- package/agents/visualnovel/vn-ui-designer.md +97 -0
- package/dist/cli.js +2352 -0
- package/docs/SKILLS-CATALOG.md +457 -0
- package/docs/USER-GUIDE.md +543 -0
- package/docs/agent-hierarchy.md +133 -0
- package/docs/coding-standards.md +135 -0
- package/docs/collaborative-design.md +439 -0
- package/docs/context-management.md +200 -0
- package/docs/coordination-rules.md +164 -0
- package/docs/directory-structure.md +156 -0
- package/docs/division-structure.md +135 -0
- package/docs/gamedev/coding-standards.md +184 -0
- package/docs/gates/README.md +169 -0
- package/docs/gates/gamedev-gates.md +509 -0
- package/docs/gates/software-gates.md +449 -0
- package/docs/software/coding-standards.md +165 -0
- package/docs/technical-preferences.md +61 -0
- package/docs/templates/accessibility-requirements.md +331 -0
- package/docs/templates/architecture-decision-record.md +177 -0
- package/docs/templates/architecture-doc-from-code.md +266 -0
- package/docs/templates/architecture-traceability.md +101 -0
- package/docs/templates/changelog-template.md +62 -0
- package/docs/templates/collaborative-protocols/design-agent-protocol.md +157 -0
- package/docs/templates/collaborative-protocols/implementation-agent-protocol.md +160 -0
- package/docs/templates/collaborative-protocols/leadership-agent-protocol.md +181 -0
- package/docs/templates/design-doc-from-implementation.md +204 -0
- package/docs/templates/incident-response.md +135 -0
- package/docs/templates/interaction-pattern-library.md +1089 -0
- package/docs/templates/milestone-definition.md +79 -0
- package/docs/templates/post-mortem.md +69 -0
- package/docs/templates/prd.md +222 -0
- package/docs/templates/project-stage-report.md +218 -0
- package/docs/templates/release-checklist-template.md +125 -0
- package/docs/templates/release-notes.md +103 -0
- package/docs/templates/rfc.md +256 -0
- package/docs/templates/risk-register-entry.md +58 -0
- package/docs/templates/skill-test-spec.md +96 -0
- package/docs/templates/sprint-plan.md +75 -0
- package/docs/templates/technical-design-document.md +98 -0
- package/docs/templates/test-evidence.md +86 -0
- package/docs/templates/test-plan.md +151 -0
- package/docs/templates/ux-spec.md +544 -0
- package/hooks/check-update.sh +82 -0
- package/hooks/detect-division.sh +28 -0
- package/hooks/detect-gaps.sh +230 -0
- package/hooks/log-agent-stop.sh +7 -0
- package/hooks/log-agent.sh +7 -0
- package/hooks/notify.sh +7 -0
- package/hooks/post-compact.sh +7 -0
- package/hooks/pre-compact.sh +7 -0
- package/hooks/session-start.sh +78 -0
- package/hooks/session-stop.sh +7 -0
- package/hooks/statusline.sh +98 -0
- package/hooks/validate-assets.sh +10 -0
- package/hooks/validate-commit.sh +24 -0
- package/hooks/validate-push.sh +21 -0
- package/hooks/validate-secrets.sh +23 -0
- package/hooks/validate-skill-change.sh +19 -0
- package/package.json +63 -0
- package/profiles/agile.yaml +60 -0
- package/profiles/ai.yaml +27 -0
- package/profiles/android-native.yaml +36 -0
- package/profiles/backend-go.yaml +56 -0
- package/profiles/backend-ts.yaml +59 -0
- package/profiles/business.yaml +24 -0
- package/profiles/clevel.yaml +48 -0
- package/profiles/clickup.yaml +21 -0
- package/profiles/core.yaml +83 -0
- package/profiles/database.yaml +28 -0
- package/profiles/design.yaml +30 -0
- package/profiles/docs.yaml +31 -0
- package/profiles/finance.yaml +23 -0
- package/profiles/flutter.yaml +37 -0
- package/profiles/frontend.yaml +39 -0
- package/profiles/infra.yaml +47 -0
- package/profiles/integrations.yaml +23 -0
- package/profiles/ios-native.yaml +37 -0
- package/profiles/jira.yaml +21 -0
- package/profiles/marketing.yaml +64 -0
- package/profiles/mobile.yaml +39 -0
- package/profiles/regulatory.yaml +33 -0
- package/profiles/security.yaml +30 -0
- package/profiles/self-improving.yaml +22 -0
- package/profiles/statusline.yaml +21 -0
- package/profiles/testing.yaml +32 -0
- package/profiles/unity-design.yaml +37 -0
- package/profiles/unity-dev.yaml +44 -0
- package/profiles/visual-novel.yaml +54 -0
- package/rules/ai-code.md +60 -0
- package/rules/api-code.md +41 -0
- package/rules/backend-code.md +35 -0
- package/rules/data-files.md +58 -0
- package/rules/frontend-code.md +35 -0
- package/rules/gamedev/ai-code.md +15 -0
- package/rules/gamedev/design-docs.md +18 -0
- package/rules/gamedev/engine-code.md +41 -0
- package/rules/gamedev/gameplay-code.md +31 -0
- package/rules/gamedev/narrative.md +15 -0
- package/rules/gamedev/network-code.md +15 -0
- package/rules/gamedev/shader-code.md +43 -0
- package/rules/gamedev/ui-code.md +15 -0
- package/rules/gamedev/vn-code.md +37 -0
- package/rules/implementation-workflow.md +48 -0
- package/rules/infra-code.md +47 -0
- package/rules/migration-code.md +41 -0
- package/rules/prototype-code.md +40 -0
- package/rules/test-standards.md +55 -0
- package/skills/ab-test-setup/SKILL.md +99 -0
- package/skills/ab-test-setup/references/sample-size-guide.md +252 -0
- package/skills/ab-test-setup/references/test-templates.md +268 -0
- package/skills/ab-test-setup/scripts/sample_size_calculator.py +337 -0
- package/skills/accessibility/SKILL.md +32 -0
- package/skills/accessibility/references/anti-patterns.md +9 -0
- package/skills/accessibility/references/component-requirements.md +15 -0
- package/skills/accessibility/references/focus-forms-testing.md +31 -0
- package/skills/accessibility/references/wcag-criteria.md +17 -0
- package/skills/ad-creative/SKILL.md +85 -0
- package/skills/ad-creative/references/creative-frameworks.md +253 -0
- package/skills/ad-creative/references/platform-specs.md +170 -0
- package/skills/ad-creative/scripts/ad_copy_validator.py +490 -0
- package/skills/agent-designer/README.md +430 -0
- package/skills/agent-designer/SKILL.md +64 -0
- package/skills/agent-designer/agent_evaluator.py +1223 -0
- package/skills/agent-designer/agent_planner.py +911 -0
- package/skills/agent-designer/assets/sample_execution_logs.json +543 -0
- package/skills/agent-designer/assets/sample_system_requirements.json +57 -0
- package/skills/agent-designer/assets/sample_tool_descriptions.json +545 -0
- package/skills/agent-designer/expected_outputs/sample_agent_architecture.json +488 -0
- package/skills/agent-designer/expected_outputs/sample_evaluation_report.json +570 -0
- package/skills/agent-designer/expected_outputs/sample_tool_schemas.json +416 -0
- package/skills/agent-designer/references/agent_architecture_patterns.md +445 -0
- package/skills/agent-designer/references/evaluation_methodology.md +749 -0
- package/skills/agent-designer/references/tool_design_best_practices.md +470 -0
- package/skills/agent-designer/tool_schema_generator.py +978 -0
- package/skills/agent-protocol/SKILL.md +102 -0
- package/skills/agent-protocol/references/communication-standard.md +115 -0
- package/skills/agent-protocol/references/invocation-patterns.md +247 -0
- package/skills/agent-protocol/references/quality-loop.md +123 -0
- package/skills/agent-workflow-designer/SKILL.md +59 -0
- package/skills/agent-workflow-designer/references/workflow-patterns.md +82 -0
- package/skills/agent-workflow-designer/scripts/workflow_scaffolder.py +113 -0
- package/skills/ai-security/SKILL.md +113 -0
- package/skills/ai-security/references/atlas-coverage.md +150 -0
- package/skills/ai-security/scripts/ai_threat_scanner.py +564 -0
- package/skills/ai-seo/SKILL.md +172 -0
- package/skills/ai-seo/references/ai-search-landscape.md +191 -0
- package/skills/ai-seo/references/content-patterns.md +276 -0
- package/skills/ai-seo/references/monitoring-guide.md +208 -0
- package/skills/ai-seo/references/optimization-playbook.md +58 -0
- package/skills/analytics-tracking/SKILL.md +105 -0
- package/skills/analytics-tracking/references/debugging-playbook.md +224 -0
- package/skills/analytics-tracking/references/event-taxonomy-guide.md +203 -0
- package/skills/analytics-tracking/references/gtm-patterns.md +298 -0
- package/skills/analytics-tracking/scripts/tracking_plan_generator.py +386 -0
- package/skills/android-native-dev/SKILL.md +878 -0
- package/skills/android-native-dev/references/accessibility.md +209 -0
- package/skills/android-native-dev/references/adaptive-screens.md +231 -0
- package/skills/android-native-dev/references/design-style-guide.md +365 -0
- package/skills/android-native-dev/references/functional-requirements.md +229 -0
- package/skills/android-native-dev/references/motion-system.md +203 -0
- package/skills/android-native-dev/references/performance-stability.md +223 -0
- package/skills/android-native-dev/references/privacy-security.md +244 -0
- package/skills/android-native-dev/references/testing.md +554 -0
- package/skills/android-native-dev/references/visual-design.md +246 -0
- package/skills/api-design/SKILL.md +88 -0
- package/skills/api-design/references/anti-patterns.md +14 -0
- package/skills/api-design/references/versioning-deprecation.md +23 -0
- package/skills/api-docs/SKILL.md +101 -0
- package/skills/api-versioning/SKILL.md +51 -0
- package/skills/api-versioning/references/anti-patterns-and-checklist.md +27 -0
- package/skills/api-versioning/references/implementation-by-framework.md +31 -0
- package/skills/app-store-optimization/HOW_TO_USE.md +281 -0
- package/skills/app-store-optimization/SKILL.md +150 -0
- package/skills/app-store-optimization/assets/aso-audit-template.md +268 -0
- package/skills/app-store-optimization/expected_output.json +170 -0
- package/skills/app-store-optimization/references/ab-testing-guide.md +72 -0
- package/skills/app-store-optimization/references/aso-best-practices.md +403 -0
- package/skills/app-store-optimization/references/before-after-examples.md +73 -0
- package/skills/app-store-optimization/references/keyword-research-guide.md +419 -0
- package/skills/app-store-optimization/references/metadata-optimization.md +65 -0
- package/skills/app-store-optimization/references/platform-requirements.md +324 -0
- package/skills/app-store-optimization/sample_input.json +30 -0
- package/skills/app-store-optimization/scripts/ab_test_planner.py +662 -0
- package/skills/app-store-optimization/scripts/aso_scorer.py +482 -0
- package/skills/app-store-optimization/scripts/competitor_analyzer.py +577 -0
- package/skills/app-store-optimization/scripts/keyword_analyzer.py +406 -0
- package/skills/app-store-optimization/scripts/launch_checklist.py +739 -0
- package/skills/app-store-optimization/scripts/localization_helper.py +588 -0
- package/skills/app-store-optimization/scripts/metadata_optimizer.py +581 -0
- package/skills/app-store-optimization/scripts/review_analyzer.py +714 -0
- package/skills/arcane-add/SKILL.md +47 -0
- package/skills/arcane-clean/SKILL.md +45 -0
- package/skills/arcane-list/SKILL.md +46 -0
- package/skills/arcane-remove/SKILL.md +68 -0
- package/skills/arcane-status/SKILL.md +42 -0
- package/skills/architecture-decision/SKILL.md +75 -0
- package/skills/architecture-decision/templates/adr.md +101 -0
- package/skills/architecture-review/SKILL.md +90 -0
- package/skills/art-bible/SKILL.md +88 -0
- package/skills/art-bible/references/anti-patterns.md +8 -0
- package/skills/art-bible/references/checklist.md +17 -0
- package/skills/asset-audit/SKILL.md +95 -0
- package/skills/asset-spec/SKILL.md +72 -0
- package/skills/asset-spec/references/anti-patterns-checklist.md +19 -0
- package/skills/asset-spec/references/spec-output-format.md +34 -0
- package/skills/async-ops/SKILL.md +59 -0
- package/skills/async-ops/references/anti-patterns.md +16 -0
- package/skills/async-ops/references/checklist.md +10 -0
- package/skills/async-ops/references/job-scheduling.md +37 -0
- package/skills/async-ops/references/outbound-webhooks.md +19 -0
- package/skills/atlassian-admin/SKILL.md +121 -0
- package/skills/atlassian-admin/assets/permission_scheme_template.json +173 -0
- package/skills/atlassian-admin/references/security-hardening-guide.md +214 -0
- package/skills/atlassian-admin/references/user-provisioning-checklist.md +177 -0
- package/skills/atlassian-admin/scripts/permission_audit_tool.py +469 -0
- package/skills/atlassian-templates/SKILL.md +128 -0
- package/skills/atlassian-templates/references/governance-framework.md +234 -0
- package/skills/atlassian-templates/references/template-design-patterns.md +252 -0
- package/skills/atlassian-templates/scripts/template_scaffolder.py +418 -0
- package/skills/audit-dev/SKILL.md +43 -0
- package/skills/audit-game/SKILL.md +54 -0
- package/skills/audit-game/references/cross-reference-criteria.md +42 -0
- package/skills/audit-game/references/output-template.md +48 -0
- package/skills/audit-log/SKILL.md +75 -0
- package/skills/auth-strategy/SKILL.md +120 -0
- package/skills/auth-strategy/references/anti-patterns.md +21 -0
- package/skills/aws-solution-architect/SKILL.md +125 -0
- package/skills/aws-solution-architect/assets/expected_output.json +55 -0
- package/skills/aws-solution-architect/assets/sample_input.json +18 -0
- package/skills/aws-solution-architect/references/architecture_patterns.md +535 -0
- package/skills/aws-solution-architect/references/best_practices.md +631 -0
- package/skills/aws-solution-architect/references/service_selection.md +484 -0
- package/skills/aws-solution-architect/scripts/architecture_designer.py +808 -0
- package/skills/aws-solution-architect/scripts/cost_optimizer.py +346 -0
- package/skills/aws-solution-architect/scripts/serverless_stack.py +663 -0
- package/skills/azure-cloud-architect/SKILL.md +128 -0
- package/skills/azure-cloud-architect/references/architecture_patterns.md +413 -0
- package/skills/azure-cloud-architect/references/best_practices.md +337 -0
- package/skills/azure-cloud-architect/references/service_selection.md +250 -0
- package/skills/azure-cloud-architect/scripts/architecture_designer.py +592 -0
- package/skills/azure-cloud-architect/scripts/bicep_generator.py +775 -0
- package/skills/azure-cloud-architect/scripts/cost_optimizer.py +492 -0
- package/skills/backup-strategy/SKILL.md +101 -0
- package/skills/balance-check/SKILL.md +119 -0
- package/skills/board-deck-builder/SKILL.md +64 -0
- package/skills/board-deck-builder/references/deck-frameworks.md +184 -0
- package/skills/board-deck-builder/templates/board-deck-template.md +210 -0
- package/skills/board-meeting/SKILL.md +58 -0
- package/skills/board-meeting/references/meeting-facilitation.md +167 -0
- package/skills/board-meeting/templates/meeting-agenda.md +81 -0
- package/skills/board-meeting/templates/meeting-minutes.md +91 -0
- package/skills/brainstorm/SKILL.md +94 -0
- package/skills/brainstorm/references/next-steps-pipeline.md +13 -0
- package/skills/brainstorm/references/review-mode-gates.md +13 -0
- package/skills/brand-guidelines/SKILL.md +91 -0
- package/skills/brand-guidelines/references/brand-identity-and-framework.md +262 -0
- package/skills/bug-report/SKILL.md +53 -0
- package/skills/bug-triage/SKILL.md +74 -0
- package/skills/business-investment-advisor/SKILL.md +83 -0
- package/skills/business-investment-advisor/references/analysis-frameworks.md +113 -0
- package/skills/caching-strategy/SKILL.md +81 -0
- package/skills/caching-strategy/references/http-headers.md +9 -0
- package/skills/caching-strategy/references/patterns-and-invalidation.md +25 -0
- package/skills/caching-strategy/references/redis-and-client.md +13 -0
- package/skills/caching-strategy/references/ttl-defaults.md +11 -0
- package/skills/campaign-analytics/SKILL.md +93 -0
- package/skills/campaign-analytics/assets/ab_test_template.md +130 -0
- package/skills/campaign-analytics/assets/campaign_report_template.md +141 -0
- package/skills/campaign-analytics/assets/channel_comparison_template.md +158 -0
- package/skills/campaign-analytics/assets/expected_output.json +110 -0
- package/skills/campaign-analytics/assets/sample_campaign_data.json +151 -0
- package/skills/campaign-analytics/references/attribution-models-guide.md +285 -0
- package/skills/campaign-analytics/references/campaign-metrics-benchmarks.md +259 -0
- package/skills/campaign-analytics/references/funnel-optimization-framework.md +302 -0
- package/skills/campaign-analytics/scripts/attribution_analyzer.py +347 -0
- package/skills/campaign-analytics/scripts/campaign_roi_calculator.py +459 -0
- package/skills/campaign-analytics/scripts/funnel_analyzer.py +305 -0
- package/skills/capa-officer/SKILL.md +125 -0
- package/skills/capa-officer/references/effectiveness-verification-guide.md +462 -0
- package/skills/capa-officer/references/rca-methodologies.md +455 -0
- package/skills/capa-officer/scripts/capa_tracker.py +638 -0
- package/skills/capa-officer/scripts/root_cause_analyzer.py +486 -0
- package/skills/cdn-setup/SKILL.md +33 -0
- package/skills/cdn-setup/references/cache-strategy-and-invalidation.md +30 -0
- package/skills/cdn-setup/references/security-and-anti-patterns.md +26 -0
- package/skills/ceo-advisor/SKILL.md +110 -0
- package/skills/ceo-advisor/references/board_governance_investor_relations.md +599 -0
- package/skills/ceo-advisor/references/executive_decision_framework.md +475 -0
- package/skills/ceo-advisor/references/leadership_organizational_culture.md +682 -0
- package/skills/ceo-advisor/scripts/financial_scenario_analyzer.py +451 -0
- package/skills/ceo-advisor/scripts/strategy_analyzer.py +609 -0
- package/skills/cfo-advisor/SKILL.md +81 -0
- package/skills/cfo-advisor/references/cash_management.md +374 -0
- package/skills/cfo-advisor/references/financial_planning.md +500 -0
- package/skills/cfo-advisor/references/fundraising_playbook.md +419 -0
- package/skills/cfo-advisor/scripts/burn_rate_calculator.py +402 -0
- package/skills/cfo-advisor/scripts/fundraising_model.py +490 -0
- package/skills/cfo-advisor/scripts/unit_economics_analyzer.py +529 -0
- package/skills/change-management/SKILL.md +53 -0
- package/skills/change-management/references/adkar-details.md +110 -0
- package/skills/change-management/references/change-playbook.md +308 -0
- package/skills/changelog/SKILL.md +111 -0
- package/skills/check/SKILL.md +22 -0
- package/skills/chief-of-staff/SKILL.md +70 -0
- package/skills/chief-of-staff/references/routing-matrix.md +212 -0
- package/skills/chief-of-staff/references/synthesis-framework.md +201 -0
- package/skills/chro-advisor/SKILL.md +86 -0
- package/skills/chro-advisor/references/comp_frameworks.md +320 -0
- package/skills/chro-advisor/references/org_design.md +333 -0
- package/skills/chro-advisor/references/people_strategy.md +320 -0
- package/skills/chro-advisor/scripts/comp_benchmarker.py +613 -0
- package/skills/chro-advisor/scripts/hiring_plan_modeler.py +572 -0
- package/skills/churn-prevention/SKILL.md +200 -0
- package/skills/churn-prevention/references/cancel-flow-playbook.md +254 -0
- package/skills/churn-prevention/references/dunning-guide.md +276 -0
- package/skills/churn-prevention/references/exit-survey-and-save-offers.md +42 -0
- package/skills/churn-prevention/scripts/churn_impact_calculator.py +199 -0
- package/skills/ci-cd-setup/SKILL.md +66 -0
- package/skills/ci-cd-setup/references/anti-patterns.md +10 -0
- package/skills/ci-cd-setup/references/checklist.md +14 -0
- package/skills/ci-cd-setup/references/secret-and-deploy.md +30 -0
- package/skills/ciso-advisor/SKILL.md +86 -0
- package/skills/ciso-advisor/references/compliance_roadmap.md +370 -0
- package/skills/ciso-advisor/references/incident_response.md +350 -0
- package/skills/ciso-advisor/references/security_strategy.md +321 -0
- package/skills/ciso-advisor/scripts/compliance_tracker.py +781 -0
- package/skills/ciso-advisor/scripts/risk_quantifier.py +690 -0
- package/skills/clickup/SKILL.md +134 -0
- package/skills/cloud-security/SKILL.md +107 -0
- package/skills/cloud-security/references/cspm-checks.md +109 -0
- package/skills/cloud-security/scripts/cloud_posture_check.py +1180 -0
- package/skills/cmo-advisor/SKILL.md +82 -0
- package/skills/cmo-advisor/references/brand_positioning.md +374 -0
- package/skills/cmo-advisor/references/growth_frameworks.md +456 -0
- package/skills/cmo-advisor/references/marketing_org.md +281 -0
- package/skills/cmo-advisor/scripts/growth_model_simulator.py +416 -0
- package/skills/cmo-advisor/scripts/marketing_budget_modeler.py +440 -0
- package/skills/code-review/SKILL.md +66 -0
- package/skills/cold-email/SKILL.md +178 -0
- package/skills/cold-email/references/deliverability-guide.md +225 -0
- package/skills/cold-email/references/follow-up-playbook.md +225 -0
- package/skills/cold-email/references/frameworks.md +217 -0
- package/skills/cold-email/references/voice-and-subject-lines.md +41 -0
- package/skills/cold-email/scripts/email_sequence_analyzer.py +517 -0
- package/skills/commit/SKILL.md +25 -0
- package/skills/company-os/SKILL.md +66 -0
- package/skills/company-os/references/implementation-guide.md +249 -0
- package/skills/company-os/references/os-comparison.md +242 -0
- package/skills/company-os/references/six-components.md +129 -0
- package/skills/competitive-intel/SKILL.md +62 -0
- package/skills/competitive-intel/references/ci-playbook.md +237 -0
- package/skills/competitive-intel/templates/battlecard-template.md +99 -0
- package/skills/competitive-teardown/SKILL.md +169 -0
- package/skills/competitive-teardown/references/analysis-templates.md +203 -0
- package/skills/competitive-teardown/references/competitive-analysis-frameworks.md +107 -0
- package/skills/competitive-teardown/references/data-collection-guide.md +104 -0
- package/skills/competitive-teardown/references/scoring-rubric.md +116 -0
- package/skills/competitive-teardown/scripts/competitive_matrix_builder.py +299 -0
- package/skills/competitor-alternatives/SKILL.md +92 -0
- package/skills/competitor-alternatives/references/content-architecture.md +263 -0
- package/skills/competitor-alternatives/references/templates.md +212 -0
- package/skills/competitor-alternatives/scripts/comparison_matrix_builder.py +365 -0
- package/skills/confluence-expert/SKILL.md +129 -0
- package/skills/confluence-expert/references/macro-cheat-sheet.md +144 -0
- package/skills/confluence-expert/references/space-architecture-patterns.md +246 -0
- package/skills/confluence-expert/references/templates.md +725 -0
- package/skills/confluence-expert/scripts/content_audit_analyzer.py +457 -0
- package/skills/confluence-expert/scripts/space_structure_generator.py +517 -0
- package/skills/consistency-check/SKILL.md +68 -0
- package/skills/content-creator/SKILL.md +52 -0
- package/skills/content-creator/assets/content_calendar_template.md +99 -0
- package/skills/content-creator/examples/brand_voice_analysis_example.md +180 -0
- package/skills/content-creator/examples/seo_optimization_example.md +259 -0
- package/skills/content-creator/references/analytics_guide.md +352 -0
- package/skills/content-creator/references/brand_guidelines.md +219 -0
- package/skills/content-creator/references/content_frameworks.md +551 -0
- package/skills/content-creator/references/social_media_optimization.md +342 -0
- package/skills/content-humanizer/SKILL.md +193 -0
- package/skills/content-humanizer/references/ai-tells-checklist.md +157 -0
- package/skills/content-humanizer/references/voice-techniques.md +168 -0
- package/skills/content-humanizer/scripts/humanizer_scorer.py +504 -0
- package/skills/content-production/SKILL.md +192 -0
- package/skills/content-production/references/content-brief-guide.md +146 -0
- package/skills/content-production/references/optimization-checklist.md +139 -0
- package/skills/content-production/scripts/brand_voice_analyzer.py +197 -0
- package/skills/content-production/scripts/content_scorer.py +464 -0
- package/skills/content-production/scripts/seo_optimizer.py +433 -0
- package/skills/content-production/templates/content-brief-template.md +126 -0
- package/skills/content-strategy/SKILL.md +125 -0
- package/skills/content-strategy/references/content-strategy-reference.md +278 -0
- package/skills/content-strategy/scripts/topic_cluster_mapper.py +243 -0
- package/skills/context-engine/SKILL.md +50 -0
- package/skills/context-engine/references/anonymization-protocol.md +173 -0
- package/skills/context-prime/SKILL.md +25 -0
- package/skills/contract-and-proposal-writer/SKILL.md +126 -0
- package/skills/contract-and-proposal-writer/references/contract-templates.md +276 -0
- package/skills/contract-testing/SKILL.md +42 -0
- package/skills/contract-testing/references/anti-patterns-and-checklist.md +28 -0
- package/skills/contract-testing/references/implementation-details.md +29 -0
- package/skills/coo-advisor/SKILL.md +92 -0
- package/skills/coo-advisor/references/ops_cadence.md +606 -0
- package/skills/coo-advisor/references/process_frameworks.md +459 -0
- package/skills/coo-advisor/references/scaling_playbook.md +465 -0
- package/skills/coo-advisor/scripts/okr_tracker.py +1100 -0
- package/skills/coo-advisor/scripts/ops_efficiency_analyzer.py +1071 -0
- package/skills/copy-editing/SKILL.md +124 -0
- package/skills/copy-editing/references/copy-editing-checklist.md +134 -0
- package/skills/copy-editing/references/plain-english-alternatives.md +376 -0
- package/skills/copy-editing/references/seven-sweeps-framework.md +228 -0
- package/skills/copy-editing/scripts/readability_scorer.py +285 -0
- package/skills/copywriting/SKILL.md +192 -0
- package/skills/copywriting/references/copy-frameworks.md +338 -0
- package/skills/copywriting/references/natural-transitions.md +252 -0
- package/skills/copywriting/references/writing-style-rules.md +63 -0
- package/skills/copywriting/scripts/headline_scorer.py +256 -0
- package/skills/cpo-advisor/SKILL.md +102 -0
- package/skills/cpo-advisor/references/pmf_playbook.md +307 -0
- package/skills/cpo-advisor/references/product_org_design.md +407 -0
- package/skills/cpo-advisor/references/product_strategy.md +454 -0
- package/skills/cpo-advisor/scripts/pmf_scorer.py +600 -0
- package/skills/cpo-advisor/scripts/portfolio_analyzer.py +547 -0
- package/skills/create-epics/SKILL.md +65 -0
- package/skills/create-pr/SKILL.md +26 -0
- package/skills/create-stories/SKILL.md +85 -0
- package/skills/create-test-user/SKILL.md +37 -0
- package/skills/create-ticket/SKILL.md +50 -0
- package/skills/cro-advisor/SKILL.md +86 -0
- package/skills/cro-advisor/references/nrr_playbook.md +380 -0
- package/skills/cro-advisor/references/pricing_strategy.md +417 -0
- package/skills/cro-advisor/references/sales_playbook.md +461 -0
- package/skills/cro-advisor/scripts/churn_analyzer.py +742 -0
- package/skills/cro-advisor/scripts/revenue_forecast_model.py +571 -0
- package/skills/cs-onboard/SKILL.md +60 -0
- package/skills/cs-onboard/references/interview-guide.md +173 -0
- package/skills/cs-onboard/templates/company-context-template.md +144 -0
- package/skills/csp-headers/SKILL.md +53 -0
- package/skills/csp-headers/references/anti-patterns-checklist.md +26 -0
- package/skills/csp-headers/references/implementation.md +18 -0
- package/skills/cto-advisor/SKILL.md +95 -0
- package/skills/cto-advisor/references/architecture_decision_records.md +294 -0
- package/skills/cto-advisor/references/engineering_metrics.md +393 -0
- package/skills/cto-advisor/references/technology_evaluation_framework.md +370 -0
- package/skills/cto-advisor/references/workflows.md +84 -0
- package/skills/cto-advisor/scripts/team_scaling_calculator.py +562 -0
- package/skills/cto-advisor/scripts/tech_debt_analyzer.py +450 -0
- package/skills/culture-architect/SKILL.md +66 -0
- package/skills/culture-architect/references/culture-playbook.md +243 -0
- package/skills/culture-architect/templates/culture-code-template.md +137 -0
- package/skills/customer-success-manager/SKILL.md +97 -0
- package/skills/customer-success-manager/assets/executive_business_review_template.md +209 -0
- package/skills/customer-success-manager/assets/expected_output.json +170 -0
- package/skills/customer-success-manager/assets/onboarding_checklist_template.md +215 -0
- package/skills/customer-success-manager/assets/qbr_template.md +163 -0
- package/skills/customer-success-manager/assets/sample_customer_data.json +314 -0
- package/skills/customer-success-manager/assets/success_plan_template.md +167 -0
- package/skills/customer-success-manager/references/cs-metrics-benchmarks.md +259 -0
- package/skills/customer-success-manager/references/cs-playbooks.md +290 -0
- package/skills/customer-success-manager/references/health-scoring-framework.md +184 -0
- package/skills/customer-success-manager/scripts/churn_risk_analyzer.py +487 -0
- package/skills/customer-success-manager/scripts/expansion_opportunity_scorer.py +414 -0
- package/skills/customer-success-manager/scripts/health_score_calculator.py +438 -0
- package/skills/data-migrations/SKILL.md +113 -0
- package/skills/data-migrations/references/anti-patterns.md +14 -0
- package/skills/data-migrations/references/batching.md +9 -0
- package/skills/data-migrations/references/checklist.md +14 -0
- package/skills/data-migrations/references/expand-contract.md +19 -0
- package/skills/data-operations/SKILL.md +59 -0
- package/skills/data-operations/references/anti-patterns.md +17 -0
- package/skills/data-operations/references/query-optimization.md +37 -0
- package/skills/data-operations/references/seeding.md +38 -0
- package/skills/data-seeding/SKILL.md +96 -0
- package/skills/database/SKILL.md +74 -0
- package/skills/database/references/anti-patterns.md +20 -0
- package/skills/database/references/query-patterns.md +32 -0
- package/skills/database-indexing/SKILL.md +85 -0
- package/skills/database-indexing/references/anti-patterns.md +14 -0
- package/skills/database-indexing/references/checklists.md +23 -0
- package/skills/database-indexing/references/index-types.md +18 -0
- package/skills/database-setup/SKILL.md +109 -0
- package/skills/database-setup/references/indexing-guide.md +126 -0
- package/skills/db-diagram/SKILL.md +87 -0
- package/skills/decision-logger/SKILL.md +59 -0
- package/skills/decision-logger/references/entry-format.md +55 -0
- package/skills/decision-logger/scripts/decision_tracker.py +620 -0
- package/skills/decision-logger/templates/decision-entry.md +63 -0
- package/skills/deploy-check/SKILL.md +87 -0
- package/skills/deploy-staging/SKILL.md +44 -0
- package/skills/deps-audit/SKILL.md +92 -0
- package/skills/design-handoff/SKILL.md +49 -0
- package/skills/design-system/SKILL.md +56 -0
- package/skills/design-system/references/post-design-validation.md +8 -0
- package/skills/design-system/references/section-guidance.md +29 -0
- package/skills/distributed-tracing/SKILL.md +86 -0
- package/skills/doc-gdd/SKILL.md +56 -0
- package/skills/doc-pas/SKILL.md +41 -0
- package/skills/doc-pas/references/examples-and-usage.md +27 -0
- package/skills/doc-pas/references/output-format-template.md +63 -0
- package/skills/doc-rfc/SKILL.md +55 -0
- package/skills/doc-rfc/templates/decision.md +38 -0
- package/skills/doc-rfc/templates/epica.md +68 -0
- package/skills/doc-rfc/templates/hu.md +52 -0
- package/skills/doc-rfc/templates/tarea.md +37 -0
- package/skills/docker-setup/SKILL.md +78 -0
- package/skills/docker-setup/references/anti-patterns.md +10 -0
- package/skills/docker-setup/references/checklists.md +34 -0
- package/skills/docker-setup/references/size-optimization.md +7 -0
- package/skills/docx-generator/SKILL.md +249 -0
- package/skills/docx-generator/assets/styles/academic_styles.xml +250 -0
- package/skills/docx-generator/assets/styles/corporate_styles.xml +284 -0
- package/skills/docx-generator/assets/styles/default_styles.xml +449 -0
- package/skills/docx-generator/assets/xsd/aesthetic-rules.xsd +470 -0
- package/skills/docx-generator/assets/xsd/business-rules.xsd +130 -0
- package/skills/docx-generator/assets/xsd/common-types.xsd +159 -0
- package/skills/docx-generator/assets/xsd/wml-subset.xsd +589 -0
- package/skills/docx-generator/references/cjk_typography.md +357 -0
- package/skills/docx-generator/references/cjk_university_template_guide.md +184 -0
- package/skills/docx-generator/references/comments_guide.md +191 -0
- package/skills/docx-generator/references/design_good_bad_examples.md +829 -0
- package/skills/docx-generator/references/design_principles.md +819 -0
- package/skills/docx-generator/references/openxml_element_order.md +308 -0
- package/skills/docx-generator/references/openxml_encyclopedia_part1.md +4061 -0
- package/skills/docx-generator/references/openxml_encyclopedia_part2.md +2820 -0
- package/skills/docx-generator/references/openxml_encyclopedia_part3.md +3381 -0
- package/skills/docx-generator/references/openxml_namespaces.md +82 -0
- package/skills/docx-generator/references/openxml_units.md +72 -0
- package/skills/docx-generator/references/scenario_a_create.md +284 -0
- package/skills/docx-generator/references/scenario_b_edit_content.md +295 -0
- package/skills/docx-generator/references/scenario_c_apply_template.md +456 -0
- package/skills/docx-generator/references/track_changes_guide.md +200 -0
- package/skills/docx-generator/references/troubleshooting.md +506 -0
- package/skills/docx-generator/references/typography_guide.md +294 -0
- package/skills/docx-generator/references/xsd_validation_guide.md +158 -0
- package/skills/docx-generator/scripts/doc_to_docx.sh +40 -0
- package/skills/docx-generator/scripts/docx_preview.sh +37 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Cli/Program.cs +18 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Commands/AnalyzeCommand.cs +147 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ApplyTemplateCommand.cs +322 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Commands/CreateCommand.cs +324 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Commands/DiffCommand.cs +155 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Commands/EditContentCommand.cs +487 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Commands/FixOrderCommand.cs +108 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Commands/MergeRunsCommand.cs +122 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ValidateCommand.cs +107 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/CommentSynchronizer.cs +169 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/ElementOrder.cs +80 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/NamespaceConstants.cs +42 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/RunMerger.cs +81 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/StyleAnalyzer.cs +81 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/TrackChangesHelper.cs +99 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/UnitConverter.cs +23 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples.cs +1832 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch1.cs +910 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch2.cs +999 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch3.cs +1048 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch4.cs +1038 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/CharacterFormattingSamples.cs +1020 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/DocumentCreationSamples.cs +1121 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FieldAndTocSamples.cs +624 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FootnoteAndCommentSamples.cs +675 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/HeaderFooterSamples.cs +838 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ImageSamples.cs +917 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ListAndNumberingSamples.cs +826 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ParagraphFormattingSamples.cs +1199 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/StyleSystemSamples.cs +1487 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TableSamples.cs +1163 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TrackChangesSamples.cs +595 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Typography/CjkHelper.cs +39 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Typography/FontDefaults.cs +24 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Typography/PageSizes.cs +20 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Validation/BusinessRuleValidator.cs +224 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Validation/GateCheckValidator.cs +148 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Validation/ValidationResult.cs +23 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.Core/Validation/XsdValidator.cs +69 -0
- package/skills/docx-generator/scripts/dotnet/MiniMaxAIDocx.slnx +4 -0
- package/skills/docx-generator/scripts/env_check.sh +196 -0
- package/skills/docx-generator/scripts/setup.ps1 +274 -0
- package/skills/docx-generator/scripts/setup.sh +504 -0
- package/skills/email-sequence/SKILL.md +119 -0
- package/skills/email-sequence/references/email-sequence-playbook.md +209 -0
- package/skills/email-sequence/scripts/sequence_analyzer.py +354 -0
- package/skills/email-template-builder/SKILL.md +93 -0
- package/skills/email-template-builder/references/react-email-templates.md +323 -0
- package/skills/env-sync/SKILL.md +102 -0
- package/skills/error-tracking/SKILL.md +25 -0
- package/skills/error-tracking/references/anti-patterns-and-checklist.md +23 -0
- package/skills/error-tracking/references/operational-details.md +38 -0
- package/skills/error-tracking/references/setup-per-stack.md +24 -0
- package/skills/estimate/SKILL.md +51 -0
- package/skills/estimate/references/complexity-factors.md +30 -0
- package/skills/estimate/references/estimate-template.md +60 -0
- package/skills/executive-mentor/.claude-plugin/plugin.json +13 -0
- package/skills/executive-mentor/SKILL.md +90 -0
- package/skills/executive-mentor/agents/devils-advocate.md +139 -0
- package/skills/executive-mentor/references/board_dynamics.md +263 -0
- package/skills/executive-mentor/references/crisis_playbook.md +173 -0
- package/skills/executive-mentor/references/hard_things.md +256 -0
- package/skills/executive-mentor/scripts/decision_matrix_scorer.py +491 -0
- package/skills/executive-mentor/scripts/stakeholder_mapper.py +547 -0
- package/skills/executive-mentor/skills/board-prep/SKILL.md +76 -0
- package/skills/executive-mentor/skills/challenge/SKILL.md +80 -0
- package/skills/executive-mentor/skills/hard-call/SKILL.md +64 -0
- package/skills/executive-mentor/skills/postmortem/SKILL.md +78 -0
- package/skills/executive-mentor/skills/stress-test/SKILL.md +74 -0
- package/skills/executive-mentor/skills/stress-test/references/patterns-by-type.md +73 -0
- package/skills/experiment-designer/SKILL.md +108 -0
- package/skills/experiment-designer/references/experiment-playbook.md +70 -0
- package/skills/experiment-designer/references/statistics-reference.md +56 -0
- package/skills/experiment-designer/scripts/sample_size_calculator.py +100 -0
- package/skills/fda-consultant-specialist/SKILL.md +102 -0
- package/skills/fda-consultant-specialist/references/device_cybersecurity_guidance.md +695 -0
- package/skills/fda-consultant-specialist/references/fda_capa_requirements.md +718 -0
- package/skills/fda-consultant-specialist/references/fda_submission_guide.md +400 -0
- package/skills/fda-consultant-specialist/references/hipaa_compliance_framework.md +721 -0
- package/skills/fda-consultant-specialist/references/qsr_compliance_requirements.md +753 -0
- package/skills/fda-consultant-specialist/scripts/fda_submission_tracker.py +493 -0
- package/skills/fda-consultant-specialist/scripts/hipaa_risk_assessment.py +626 -0
- package/skills/fda-consultant-specialist/scripts/qsr_compliance_checker.py +618 -0
- package/skills/feature-flags/SKILL.md +98 -0
- package/skills/figma/SKILL.md +124 -0
- package/skills/figma-to-code/SKILL.md +80 -0
- package/skills/figma-to-code/references/checklist-and-output.md +32 -0
- package/skills/figma-to-code/references/stack-detection.md +34 -0
- package/skills/figma-tokens/SKILL.md +55 -0
- package/skills/file-uploads/SKILL.md +95 -0
- package/skills/financial-analyst/SKILL.md +152 -0
- package/skills/financial-analyst/assets/dcf_analysis_template.md +184 -0
- package/skills/financial-analyst/assets/expected_output.json +161 -0
- package/skills/financial-analyst/assets/forecast_report_template.md +177 -0
- package/skills/financial-analyst/assets/sample_financial_data.json +219 -0
- package/skills/financial-analyst/assets/variance_report_template.md +122 -0
- package/skills/financial-analyst/references/financial-ratios-guide.md +376 -0
- package/skills/financial-analyst/references/forecasting-best-practices.md +279 -0
- package/skills/financial-analyst/references/industry-adaptations.md +103 -0
- package/skills/financial-analyst/references/valuation-methodology.md +246 -0
- package/skills/financial-analyst/scripts/budget_variance_analyzer.py +406 -0
- package/skills/financial-analyst/scripts/dcf_valuation.py +449 -0
- package/skills/financial-analyst/scripts/forecast_builder.py +494 -0
- package/skills/financial-analyst/scripts/ratio_calculator.py +432 -0
- package/skills/fix-issue/SKILL.md +19 -0
- package/skills/flutter-dev/SKILL.md +122 -0
- package/skills/flutter-dev/references/animations.md +497 -0
- package/skills/flutter-dev/references/bloc-state.md +281 -0
- package/skills/flutter-dev/references/forms.md +656 -0
- package/skills/flutter-dev/references/gorouter-navigation.md +257 -0
- package/skills/flutter-dev/references/localization.md +510 -0
- package/skills/flutter-dev/references/networking.md +566 -0
- package/skills/flutter-dev/references/performance.md +306 -0
- package/skills/flutter-dev/references/platform-specific.md +417 -0
- package/skills/flutter-dev/references/project-structure.md +274 -0
- package/skills/flutter-dev/references/riverpod-state.md +232 -0
- package/skills/flutter-dev/references/testing.md +364 -0
- package/skills/flutter-dev/references/widget-patterns.md +233 -0
- package/skills/form-cro/SKILL.md +128 -0
- package/skills/form-cro/references/experiments.md +77 -0
- package/skills/form-cro/references/form-cro-playbook.md +271 -0
- package/skills/form-cro/scripts/form_field_analyzer.py +291 -0
- package/skills/form-validation/SKILL.md +75 -0
- package/skills/founder-coach/SKILL.md +57 -0
- package/skills/founder-coach/references/delegation-energy.md +124 -0
- package/skills/founder-coach/references/founder-toolkit.md +296 -0
- package/skills/founder-coach/references/leadership-evolution.md +112 -0
- package/skills/founder-coach/references/leadership-growth.md +178 -0
- package/skills/free-tool-strategy/SKILL.md +167 -0
- package/skills/free-tool-strategy/references/design-and-lead-capture.md +58 -0
- package/skills/free-tool-strategy/references/launch-playbook.md +182 -0
- package/skills/free-tool-strategy/references/tool-types-guide.md +253 -0
- package/skills/free-tool-strategy/scripts/tool_roi_estimator.py +401 -0
- package/skills/frontend-dev/SKILL.md +555 -0
- package/skills/frontend-dev/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/DMMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/skills/frontend-dev/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Gloock-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Italiana-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-Light.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/references/asset-prompt-guide.md +43 -0
- package/skills/frontend-dev/references/env-setup.md +33 -0
- package/skills/frontend-dev/references/minimax-cli-reference.md +133 -0
- package/skills/frontend-dev/references/minimax-image-guide.md +65 -0
- package/skills/frontend-dev/references/minimax-music-guide.md +216 -0
- package/skills/frontend-dev/references/minimax-tts-guide.md +78 -0
- package/skills/frontend-dev/references/minimax-video-guide.md +82 -0
- package/skills/frontend-dev/references/minimax-voice-catalog.md +686 -0
- package/skills/frontend-dev/references/motion-recipes.md +407 -0
- package/skills/frontend-dev/references/troubleshooting.md +85 -0
- package/skills/frontend-dev/scripts/minimax_image.py +137 -0
- package/skills/frontend-dev/scripts/minimax_music.py +157 -0
- package/skills/frontend-dev/scripts/minimax_tts.py +127 -0
- package/skills/frontend-dev/scripts/minimax_video.py +187 -0
- package/skills/frontend-dev/templates/generator_template.js +223 -0
- package/skills/frontend-dev/templates/viewer.html +599 -0
- package/skills/game-analysis/SKILL.md +51 -0
- package/skills/game-analysis/references/anti-patterns-checklist.md +25 -0
- package/skills/game-analysis/references/balance-report-format.md +21 -0
- package/skills/game-analysis/references/playtest-template.md +28 -0
- package/skills/game-audit/SKILL.md +66 -0
- package/skills/game-docs/SKILL.md +58 -0
- package/skills/game-docs/references/gdd-structure.md +24 -0
- package/skills/game-docs/references/pas-format.md +49 -0
- package/skills/game-docs/references/writing-rules.md +17 -0
- package/skills/gate-check/SKILL.md +93 -0
- package/skills/gcp-cloud-architect/SKILL.md +127 -0
- package/skills/gcp-cloud-architect/references/architecture_patterns.md +512 -0
- package/skills/gcp-cloud-architect/references/best_practices.md +467 -0
- package/skills/gcp-cloud-architect/references/service_selection.md +547 -0
- package/skills/gcp-cloud-architect/scripts/architecture_designer.py +805 -0
- package/skills/gcp-cloud-architect/scripts/cost_optimizer.py +465 -0
- package/skills/gcp-cloud-architect/scripts/deployment_manager.py +835 -0
- package/skills/gdocs/SKILL.md +128 -0
- package/skills/gdpr-dsgvo-expert/SKILL.md +97 -0
- package/skills/gdpr-dsgvo-expert/references/dpia_methodology.md +412 -0
- package/skills/gdpr-dsgvo-expert/references/gdpr_compliance_guide.md +336 -0
- package/skills/gdpr-dsgvo-expert/references/german_bdsg_requirements.md +327 -0
- package/skills/gdpr-dsgvo-expert/scripts/data_subject_rights_tracker.py +541 -0
- package/skills/gdpr-dsgvo-expert/scripts/dpia_generator.py +670 -0
- package/skills/gdpr-dsgvo-expert/scripts/gdpr_compliance_checker.py +443 -0
- package/skills/gdrive/SKILL.md +46 -0
- package/skills/gh-projects/SKILL.md +103 -0
- package/skills/gh-projects/references/graphql-queries.md +207 -0
- package/skills/git-worktree-manager/SKILL.md +86 -0
- package/skills/git-worktree-manager/references/docker-compose-patterns.md +62 -0
- package/skills/git-worktree-manager/references/port-allocation-strategy.md +46 -0
- package/skills/git-worktree-manager/scripts/worktree_cleanup.py +196 -0
- package/skills/git-worktree-manager/scripts/worktree_manager.py +240 -0
- package/skills/go-clean-architecture/SKILL.md +95 -0
- package/skills/go-clean-architecture/references/anti-patterns.md +7 -0
- package/skills/go-clean-architecture/references/checklist.md +13 -0
- package/skills/gsheets/SKILL.md +46 -0
- package/skills/helm-chart-builder/.claude-plugin/plugin.json +13 -0
- package/skills/helm-chart-builder/SKILL.md +122 -0
- package/skills/helm-chart-builder/references/chart-patterns.md +435 -0
- package/skills/helm-chart-builder/references/values-design.md +462 -0
- package/skills/helm-chart-builder/scripts/chart_analyzer.py +542 -0
- package/skills/helm-chart-builder/scripts/values_validator.py +442 -0
- package/skills/help/SKILL.md +75 -0
- package/skills/hotfix/SKILL.md +63 -0
- package/skills/i18n-setup/SKILL.md +79 -0
- package/skills/incident/SKILL.md +107 -0
- package/skills/incident-commander/SKILL.md +133 -0
- package/skills/incident-commander/assets/incident_report_template.md +171 -0
- package/skills/incident-commander/assets/runbook_template.md +289 -0
- package/skills/incident-commander/assets/sample_incident_classification.json +14 -0
- package/skills/incident-commander/assets/sample_incident_data.json +276 -0
- package/skills/incident-commander/assets/sample_incident_pir_data.json +74 -0
- package/skills/incident-commander/assets/sample_timeline_events.json +263 -0
- package/skills/incident-commander/assets/simple_incident.json +6 -0
- package/skills/incident-commander/assets/simple_timeline_events.json +30 -0
- package/skills/incident-commander/expected_outputs/incident_classification_text_output.txt +44 -0
- package/skills/incident-commander/expected_outputs/pir_markdown_output.md +88 -0
- package/skills/incident-commander/expected_outputs/simple_incident_classification.txt +44 -0
- package/skills/incident-commander/expected_outputs/timeline_reconstruction_text_output.txt +110 -0
- package/skills/incident-commander/references/communication_templates.md +591 -0
- package/skills/incident-commander/references/incident-response-framework.md +372 -0
- package/skills/incident-commander/references/incident_severity_matrix.md +292 -0
- package/skills/incident-commander/references/rca_frameworks_guide.md +562 -0
- package/skills/incident-commander/references/reference-information.md +201 -0
- package/skills/incident-commander/references/sla-management-guide.md +566 -0
- package/skills/incident-commander/scripts/incident_classifier.py +914 -0
- package/skills/incident-commander/scripts/incident_timeline_builder.py +742 -0
- package/skills/incident-commander/scripts/pir_generator.py +1638 -0
- package/skills/incident-commander/scripts/postmortem_generator.py +804 -0
- package/skills/incident-commander/scripts/severity_classifier.py +1228 -0
- package/skills/incident-commander/scripts/timeline_reconstructor.py +1007 -0
- package/skills/incident-response/SKILL.md +103 -0
- package/skills/incident-response/references/regulatory-deadlines.md +125 -0
- package/skills/incident-response/scripts/incident_triage.py +768 -0
- package/skills/information-security-manager-iso27001/SKILL.md +120 -0
- package/skills/information-security-manager-iso27001/references/incident-response.md +420 -0
- package/skills/information-security-manager-iso27001/references/iso27001-controls.md +381 -0
- package/skills/information-security-manager-iso27001/references/risk-assessment-guide.md +262 -0
- package/skills/information-security-manager-iso27001/scripts/compliance_checker.py +398 -0
- package/skills/information-security-manager-iso27001/scripts/risk_assessment.py +403 -0
- package/skills/internal-narrative/SKILL.md +68 -0
- package/skills/internal-narrative/references/narrative-frameworks.md +211 -0
- package/skills/internal-narrative/templates/all-hands-template.md +103 -0
- package/skills/intl-expansion/SKILL.md +72 -0
- package/skills/intl-expansion/references/market-entry-playbook.md +138 -0
- package/skills/intl-expansion/references/regional-guide.md +144 -0
- package/skills/ios-application-dev/SKILL.md +172 -0
- package/skills/ios-application-dev/references/accessibility.md +259 -0
- package/skills/ios-application-dev/references/graphics-animation.md +350 -0
- package/skills/ios-application-dev/references/layout-system.md +199 -0
- package/skills/ios-application-dev/references/metal-shader.md +178 -0
- package/skills/ios-application-dev/references/navigation-patterns.md +175 -0
- package/skills/ios-application-dev/references/swift-coding-standards.md +757 -0
- package/skills/ios-application-dev/references/swiftui-design-guidelines.md +1167 -0
- package/skills/ios-application-dev/references/system-integration.md +401 -0
- package/skills/ios-application-dev/references/uikit-components.md +297 -0
- package/skills/isms-audit-expert/SKILL.md +108 -0
- package/skills/isms-audit-expert/references/cloud-security-audit.md +226 -0
- package/skills/isms-audit-expert/references/iso27001-audit-methodology.md +260 -0
- package/skills/isms-audit-expert/references/security-control-testing.md +276 -0
- package/skills/isms-audit-expert/scripts/isms_audit_scheduler.py +279 -0
- package/skills/jira-tickets/SKILL.md +52 -0
- package/skills/jira-tickets/references/states-epics-sprints.md +43 -0
- package/skills/jira-tickets/references/team-data.md +51 -0
- package/skills/job-scheduling/SKILL.md +107 -0
- package/skills/jwt-strategy/SKILL.md +74 -0
- package/skills/jwt-strategy/references/anti-patterns.md +16 -0
- package/skills/jwt-strategy/references/checklist.md +13 -0
- package/skills/jwt-strategy/references/implementation.md +21 -0
- package/skills/kickoff/SKILL.md +180 -0
- package/skills/launch-strategy/SKILL.md +72 -0
- package/skills/launch-strategy/references/launch-frameworks-and-checklists.md +317 -0
- package/skills/launch-strategy/scripts/launch_readiness_scorer.py +301 -0
- package/skills/llm-cost-optimizer/SKILL.md +194 -0
- package/skills/local-database-setup/SKILL.md +48 -0
- package/skills/logging-setup/SKILL.md +79 -0
- package/skills/logging-setup/references/anti-patterns.md +7 -0
- package/skills/logging-setup/references/checklist.md +14 -0
- package/skills/logging-setup/references/pii-audit-access.md +25 -0
- package/skills/ma-playbook/SKILL.md +72 -0
- package/skills/ma-playbook/references/due-diligence-checklist.md +148 -0
- package/skills/ma-playbook/references/integration-playbook.md +145 -0
- package/skills/map-systems/SKILL.md +82 -0
- package/skills/map-systems/references/dependency-layers-priorities.md +36 -0
- package/skills/map-systems/references/implicit-systems.md +13 -0
- package/skills/marketing-context/SKILL.md +167 -0
- package/skills/marketing-context/references/context-template.md +64 -0
- package/skills/marketing-context/scripts/context_validator.py +219 -0
- package/skills/marketing-context/templates/marketing-context-template.md +133 -0
- package/skills/marketing-demand-acquisition/SKILL.md +124 -0
- package/skills/marketing-demand-acquisition/references/attribution-guide.md +217 -0
- package/skills/marketing-demand-acquisition/references/campaign-templates.md +221 -0
- package/skills/marketing-demand-acquisition/references/hubspot-workflows.md +168 -0
- package/skills/marketing-demand-acquisition/references/international-playbooks.md +200 -0
- package/skills/marketing-demand-acquisition/scripts/calculate_cac.py +101 -0
- package/skills/marketing-ideas/SKILL.md +83 -0
- package/skills/marketing-ideas/references/ideas-by-category.md +347 -0
- package/skills/marketing-ops/SKILL.md +188 -0
- package/skills/marketing-ops/references/routing-matrix.md +37 -0
- package/skills/marketing-ops/scripts/campaign_tracker.py +156 -0
- package/skills/marketing-psychology/SKILL.md +121 -0
- package/skills/marketing-psychology/references/mental-models-catalog.md +397 -0
- package/skills/marketing-strategy-pmm/SKILL.md +130 -0
- package/skills/marketing-strategy-pmm/references/international-gtm.md +401 -0
- package/skills/marketing-strategy-pmm/references/launch-checklists.md +333 -0
- package/skills/marketing-strategy-pmm/references/messaging-templates.md +446 -0
- package/skills/marketing-strategy-pmm/references/positioning-frameworks.md +279 -0
- package/skills/mcp-server-builder/SKILL.md +109 -0
- package/skills/mcp-server-builder/references/openapi-extraction-guide.md +34 -0
- package/skills/mcp-server-builder/references/python-server-template.md +22 -0
- package/skills/mcp-server-builder/references/typescript-server-template.md +19 -0
- package/skills/mcp-server-builder/references/validation-checklist.md +30 -0
- package/skills/mcp-server-builder/scripts/mcp_validator.py +186 -0
- package/skills/mcp-server-builder/scripts/openapi_to_mcp.py +284 -0
- package/skills/mdr-745-specialist/SKILL.md +110 -0
- package/skills/mdr-745-specialist/references/clinical-evidence-requirements.md +303 -0
- package/skills/mdr-745-specialist/references/mdr-classification-guide.md +289 -0
- package/skills/mdr-745-specialist/references/technical-documentation-templates.md +355 -0
- package/skills/mdr-745-specialist/scripts/mdr_gap_analyzer.py +511 -0
- package/skills/meeting-analyzer/SKILL.md +99 -0
- package/skills/meeting-analyzer/references/analysis-modules.md +92 -0
- package/skills/meeting-to-tasks/SKILL.md +63 -0
- package/skills/mfa-setup/SKILL.md +111 -0
- package/skills/mfa-setup/references/anti-patterns.md +15 -0
- package/skills/mfa-setup/references/checklist.md +17 -0
- package/skills/mfa-setup/references/rate-limiting.md +10 -0
- package/skills/mfa-setup/references/role-rules.md +9 -0
- package/skills/mfa-setup/references/schema-db.md +5 -0
- package/skills/milestone-review/SKILL.md +46 -0
- package/skills/monorepo-setup/SKILL.md +66 -0
- package/skills/monorepo-setup/references/anti-patterns-and-checklist.md +27 -0
- package/skills/ms365-tenant-manager/SKILL.md +104 -0
- package/skills/ms365-tenant-manager/expected_output.json +86 -0
- package/skills/ms365-tenant-manager/references/powershell-templates.md +704 -0
- package/skills/ms365-tenant-manager/references/security-policies.md +357 -0
- package/skills/ms365-tenant-manager/references/troubleshooting.md +411 -0
- package/skills/ms365-tenant-manager/references/workflow-scripts.md +145 -0
- package/skills/ms365-tenant-manager/sample_input.json +21 -0
- package/skills/ms365-tenant-manager/scripts/powershell_generator.py +430 -0
- package/skills/ms365-tenant-manager/scripts/tenant_setup.py +447 -0
- package/skills/ms365-tenant-manager/scripts/user_management.py +447 -0
- package/skills/oauth-setup/SKILL.md +92 -0
- package/skills/observability/SKILL.md +88 -0
- package/skills/observability-ops/SKILL.md +42 -0
- package/skills/observability-ops/references/anti-patterns.md +14 -0
- package/skills/observability-ops/references/slo-sli-framework.md +44 -0
- package/skills/observability-ops/references/tracing-setup.md +35 -0
- package/skills/observability-setup/SKILL.md +43 -0
- package/skills/observability-setup/references/conventions-and-anti-patterns.md +32 -0
- package/skills/observability-setup/references/stack-setup-details.md +23 -0
- package/skills/onboard/SKILL.md +123 -0
- package/skills/onboarding-cro/SKILL.md +149 -0
- package/skills/onboarding-cro/references/experiments.md +89 -0
- package/skills/onboarding-cro/scripts/activation_funnel_analyzer.py +217 -0
- package/skills/optimize/SKILL.md +27 -0
- package/skills/org-health-diagnostic/SKILL.md +79 -0
- package/skills/org-health-diagnostic/references/health-benchmarks.md +217 -0
- package/skills/org-health-diagnostic/scripts/health_scorer.py +585 -0
- package/skills/owasp-top10-check/SKILL.md +110 -0
- package/skills/owasp-top10-check/references/anti-patterns.md +19 -0
- package/skills/owasp-top10-check/references/educabot-specifics.md +6 -0
- package/skills/owasp-top10-check/references/tools.md +9 -0
- package/skills/page-cro/SKILL.md +160 -0
- package/skills/page-cro/references/experiments.md +71 -0
- package/skills/page-cro/scripts/conversion_audit.py +427 -0
- package/skills/paid-ads/SKILL.md +162 -0
- package/skills/paid-ads/references/ad-copy-templates.md +200 -0
- package/skills/paid-ads/references/audience-targeting.md +234 -0
- package/skills/paid-ads/references/campaign-structure.md +103 -0
- package/skills/paid-ads/references/platform-setup-checklists.md +269 -0
- package/skills/paid-ads/scripts/roas_calculator.py +304 -0
- package/skills/patch-notes/SKILL.md +51 -0
- package/skills/paywall-upgrade-cro/SKILL.md +189 -0
- package/skills/paywall-upgrade-cro/references/experiments.md +78 -0
- package/skills/pdf-generator/SKILL.md +181 -0
- package/skills/pdf-generator/design/design.md +381 -0
- package/skills/pdf-generator/scripts/cover.py +1579 -0
- package/skills/pdf-generator/scripts/fill_inspect.py +200 -0
- package/skills/pdf-generator/scripts/fill_write.py +242 -0
- package/skills/pdf-generator/scripts/make.sh +491 -0
- package/skills/pdf-generator/scripts/merge.py +112 -0
- package/skills/pdf-generator/scripts/palette.py +521 -0
- package/skills/pdf-generator/scripts/reformat_parse.py +374 -0
- package/skills/pdf-generator/scripts/render_body.py +1052 -0
- package/skills/pdf-generator/scripts/render_cover.js +111 -0
- package/skills/perf-profile/SKILL.md +82 -0
- package/skills/performance/SKILL.md +37 -0
- package/skills/performance/references/anti-patterns.md +25 -0
- package/skills/performance/references/cache-strategy.md +48 -0
- package/skills/performance/references/rate-limit-config.md +48 -0
- package/skills/performance-test/SKILL.md +87 -0
- package/skills/playtest-report/SKILL.md +45 -0
- package/skills/playwright-pro/.mcp.json +27 -0
- package/skills/playwright-pro/CLAUDE.md +84 -0
- package/skills/playwright-pro/LICENSE +21 -0
- package/skills/playwright-pro/SKILL.md +91 -0
- package/skills/playwright-pro/agents/migration-planner.md +121 -0
- package/skills/playwright-pro/agents/test-architect.md +105 -0
- package/skills/playwright-pro/agents/test-debugger.md +117 -0
- package/skills/playwright-pro/hooks/detect-playwright.sh +23 -0
- package/skills/playwright-pro/hooks/hooks.json +25 -0
- package/skills/playwright-pro/hooks/validate-test.sh +58 -0
- package/skills/playwright-pro/references/assertions.md +89 -0
- package/skills/playwright-pro/references/common-pitfalls.md +137 -0
- package/skills/playwright-pro/references/fixtures.md +121 -0
- package/skills/playwright-pro/references/flaky-tests.md +56 -0
- package/skills/playwright-pro/references/golden-rules.md +12 -0
- package/skills/playwright-pro/references/locators.md +77 -0
- package/skills/playwright-pro/settings.json +8 -0
- package/skills/playwright-pro/skills/browserstack/SKILL.md +169 -0
- package/skills/playwright-pro/skills/fix/SKILL.md +114 -0
- package/skills/playwright-pro/skills/fix/flaky-taxonomy.md +134 -0
- package/skills/playwright-pro/skills/generate/SKILL.md +145 -0
- package/skills/playwright-pro/skills/generate/patterns.md +163 -0
- package/skills/playwright-pro/skills/init/SKILL.md +168 -0
- package/skills/playwright-pro/skills/migrate/SKILL.md +136 -0
- package/skills/playwright-pro/skills/migrate/cypress-mapping.md +79 -0
- package/skills/playwright-pro/skills/migrate/selenium-mapping.md +94 -0
- package/skills/playwright-pro/skills/report/SKILL.md +127 -0
- package/skills/playwright-pro/skills/review/SKILL.md +103 -0
- package/skills/playwright-pro/skills/review/anti-patterns.md +182 -0
- package/skills/playwright-pro/skills/testrail/SKILL.md +130 -0
- package/skills/playwright-pro/templates/README.md +123 -0
- package/skills/playwright-pro/templates/accessibility/color-contrast.md +162 -0
- package/skills/playwright-pro/templates/accessibility/keyboard-navigation.md +149 -0
- package/skills/playwright-pro/templates/accessibility/screen-reader.md +159 -0
- package/skills/playwright-pro/templates/api/auth-headers.md +148 -0
- package/skills/playwright-pro/templates/api/error-responses.md +157 -0
- package/skills/playwright-pro/templates/api/graphql.md +174 -0
- package/skills/playwright-pro/templates/api/rate-limiting.md +152 -0
- package/skills/playwright-pro/templates/api/rest-crud.md +152 -0
- package/skills/playwright-pro/templates/auth/login.md +119 -0
- package/skills/playwright-pro/templates/auth/logout.md +112 -0
- package/skills/playwright-pro/templates/auth/mfa.md +125 -0
- package/skills/playwright-pro/templates/auth/password-reset.md +129 -0
- package/skills/playwright-pro/templates/auth/rbac.md +132 -0
- package/skills/playwright-pro/templates/auth/remember-me.md +127 -0
- package/skills/playwright-pro/templates/auth/session-timeout.md +113 -0
- package/skills/playwright-pro/templates/auth/sso.md +115 -0
- package/skills/playwright-pro/templates/checkout/add-to-cart.md +112 -0
- package/skills/playwright-pro/templates/checkout/apply-coupon.md +123 -0
- package/skills/playwright-pro/templates/checkout/order-confirm.md +108 -0
- package/skills/playwright-pro/templates/checkout/order-history.md +119 -0
- package/skills/playwright-pro/templates/checkout/payment.md +148 -0
- package/skills/playwright-pro/templates/checkout/update-quantity.md +125 -0
- package/skills/playwright-pro/templates/crud/bulk-operations.md +129 -0
- package/skills/playwright-pro/templates/crud/create.md +118 -0
- package/skills/playwright-pro/templates/crud/delete.md +116 -0
- package/skills/playwright-pro/templates/crud/read.md +117 -0
- package/skills/playwright-pro/templates/crud/soft-delete.md +113 -0
- package/skills/playwright-pro/templates/crud/update.md +129 -0
- package/skills/playwright-pro/templates/dashboard/chart-rendering.md +131 -0
- package/skills/playwright-pro/templates/dashboard/data-loading.md +128 -0
- package/skills/playwright-pro/templates/dashboard/date-range-filter.md +136 -0
- package/skills/playwright-pro/templates/dashboard/export.md +146 -0
- package/skills/playwright-pro/templates/dashboard/realtime-updates.md +143 -0
- package/skills/playwright-pro/templates/forms/autosave.md +135 -0
- package/skills/playwright-pro/templates/forms/conditional-fields.md +120 -0
- package/skills/playwright-pro/templates/forms/file-upload.md +136 -0
- package/skills/playwright-pro/templates/forms/multi-step.md +137 -0
- package/skills/playwright-pro/templates/forms/single-step.md +124 -0
- package/skills/playwright-pro/templates/forms/validation.md +141 -0
- package/skills/playwright-pro/templates/notifications/in-app.md +125 -0
- package/skills/playwright-pro/templates/notifications/notification-center.md +128 -0
- package/skills/playwright-pro/templates/notifications/toast-messages.md +139 -0
- package/skills/playwright-pro/templates/onboarding/email-verification.md +118 -0
- package/skills/playwright-pro/templates/onboarding/first-time-setup.md +130 -0
- package/skills/playwright-pro/templates/onboarding/registration.md +131 -0
- package/skills/playwright-pro/templates/onboarding/welcome-tour.md +128 -0
- package/skills/playwright-pro/templates/search/basic-search.md +118 -0
- package/skills/playwright-pro/templates/search/empty-state.md +109 -0
- package/skills/playwright-pro/templates/search/filters.md +128 -0
- package/skills/playwright-pro/templates/search/pagination.md +123 -0
- package/skills/playwright-pro/templates/search/sorting.md +131 -0
- package/skills/playwright-pro/templates/settings/account-delete.md +136 -0
- package/skills/playwright-pro/templates/settings/notification-prefs.md +139 -0
- package/skills/playwright-pro/templates/settings/password-change.md +143 -0
- package/skills/playwright-pro/templates/settings/profile-update.md +130 -0
- package/skills/popup-cro/SKILL.md +142 -0
- package/skills/popup-cro/references/experiments.md +88 -0
- package/skills/popup-cro/references/popup-cro-playbook.md +261 -0
- package/skills/postman/SKILL.md +79 -0
- package/skills/pptx-generator/SKILL.md +246 -0
- package/skills/pptx-generator/references/design-system.md +392 -0
- package/skills/pptx-generator/references/editing.md +162 -0
- package/skills/pptx-generator/references/pitfalls.md +112 -0
- package/skills/pptx-generator/references/pptxgenjs.md +420 -0
- package/skills/pptx-generator/references/slide-types.md +413 -0
- package/skills/pricing-strategy/SKILL.md +101 -0
- package/skills/pricing-strategy/references/pricing-models.md +194 -0
- package/skills/pricing-strategy/references/pricing-page-playbook.md +221 -0
- package/skills/pricing-strategy/scripts/pricing_modeler.py +283 -0
- package/skills/product-analytics/SKILL.md +151 -0
- package/skills/product-analytics/references/dashboard-templates.md +66 -0
- package/skills/product-analytics/references/metrics-frameworks.md +84 -0
- package/skills/product-analytics/scripts/metrics_calculator.py +195 -0
- package/skills/product-discovery/SKILL.md +118 -0
- package/skills/product-discovery/references/discovery-frameworks.md +72 -0
- package/skills/product-discovery/scripts/assumption_mapper.py +123 -0
- package/skills/product-manager-toolkit/SKILL.md +121 -0
- package/skills/product-manager-toolkit/assets/prd_template.md +132 -0
- package/skills/product-manager-toolkit/assets/rice_input_template.csv +4 -0
- package/skills/product-manager-toolkit/references/frameworks.md +559 -0
- package/skills/product-manager-toolkit/references/input-output-examples.md +156 -0
- package/skills/product-manager-toolkit/references/prd_templates.md +317 -0
- package/skills/product-manager-toolkit/scripts/customer_interview_analyzer.py +452 -0
- package/skills/product-manager-toolkit/scripts/rice_prioritizer.py +296 -0
- package/skills/product-spec/SKILL.md +65 -0
- package/skills/product-strategist/SKILL.md +122 -0
- package/skills/product-strategist/assets/okr_template.md +106 -0
- package/skills/product-strategist/references/examples/sample_growth_okrs.json +366 -0
- package/skills/product-strategist/references/okr_framework.md +328 -0
- package/skills/product-strategist/references/strategy_types.md +320 -0
- package/skills/product-strategist/scripts/okr_cascade_generator.py +592 -0
- package/skills/programmatic-seo/SKILL.md +156 -0
- package/skills/programmatic-seo/references/playbooks.md +72 -0
- package/skills/programmatic-seo/scripts/url_pattern_generator.py +194 -0
- package/skills/prompt-engineer-toolkit/README.md +51 -0
- package/skills/prompt-engineer-toolkit/SKILL.md +136 -0
- package/skills/prompt-engineer-toolkit/references/evaluation-rubric.md +14 -0
- package/skills/prompt-engineer-toolkit/references/prompt-templates.md +105 -0
- package/skills/prompt-engineer-toolkit/references/technique-guide.md +25 -0
- package/skills/prompt-engineer-toolkit/scripts/prompt_tester.py +239 -0
- package/skills/prompt-engineer-toolkit/scripts/prompt_versioner.py +235 -0
- package/skills/prototype/SKILL.md +54 -0
- package/skills/qa-plan/SKILL.md +77 -0
- package/skills/qms-audit-expert/SKILL.md +116 -0
- package/skills/qms-audit-expert/references/iso13485-audit-guide.md +388 -0
- package/skills/qms-audit-expert/references/nonconformity-classification.md +221 -0
- package/skills/qms-audit-expert/scripts/audit_schedule_optimizer.py +420 -0
- package/skills/quality-documentation-manager/SKILL.md +140 -0
- package/skills/quality-documentation-manager/references/21cfr11-compliance-guide.md +398 -0
- package/skills/quality-documentation-manager/references/document-control-procedures.md +340 -0
- package/skills/quality-documentation-manager/scripts/document_validator.py +646 -0
- package/skills/quality-documentation-manager/scripts/document_version_control.py +466 -0
- package/skills/quality-manager-qmr/SKILL.md +129 -0
- package/skills/quality-manager-qmr/references/management-review-guide.md +378 -0
- package/skills/quality-manager-qmr/references/quality-kpi-framework.md +296 -0
- package/skills/quality-manager-qmr/scripts/management_review_tracker.py +580 -0
- package/skills/quality-manager-qmr/scripts/quality_effectiveness_monitor.py +481 -0
- package/skills/quality-manager-qms-iso13485/SKILL.md +129 -0
- package/skills/quality-manager-qms-iso13485/references/iso13485-clause-requirements.md +726 -0
- package/skills/quality-manager-qms-iso13485/references/qms-process-templates.md +876 -0
- package/skills/quality-manager-qms-iso13485/scripts/qms_audit_checklist.py +886 -0
- package/skills/query-optimization/SKILL.md +107 -0
- package/skills/quick-design/SKILL.md +47 -0
- package/skills/rag-architect/SKILL.md +117 -0
- package/skills/rag-architect/references/chunking_strategies_comparison.md +287 -0
- package/skills/rag-architect/references/embedding_model_benchmark.md +338 -0
- package/skills/rag-architect/references/rag_evaluation_framework.md +431 -0
- package/skills/rag-architect/scripts/chunking_optimizer.py +787 -0
- package/skills/rag-architect/scripts/rag_pipeline_designer.py +680 -0
- package/skills/rag-architect/scripts/retrieval_evaluator.py +578 -0
- package/skills/rate-limiting/SKILL.md +114 -0
- package/skills/rbac-abac/SKILL.md +70 -0
- package/skills/rbac-abac/references/anti-patterns.md +14 -0
- package/skills/rbac-abac/references/checklist.md +13 -0
- package/skills/rbac-abac/references/schema-jwt-cache.md +27 -0
- package/skills/react-native-dev/SKILL.md +139 -0
- package/skills/react-native-dev/references/animations.md +254 -0
- package/skills/react-native-dev/references/components.md +124 -0
- package/skills/react-native-dev/references/engineering.md +527 -0
- package/skills/react-native-dev/references/forms.md +300 -0
- package/skills/react-native-dev/references/native-capabilities.md +163 -0
- package/skills/react-native-dev/references/navigation.md +271 -0
- package/skills/react-native-dev/references/networking.md +346 -0
- package/skills/react-native-dev/references/performance.md +215 -0
- package/skills/react-native-dev/references/state-management.md +230 -0
- package/skills/react-native-dev/references/styling.md +117 -0
- package/skills/react-native-dev/references/testing.md +342 -0
- package/skills/read-replicas/SKILL.md +46 -0
- package/skills/read-replicas/references/anti-patterns-checklist.md +26 -0
- package/skills/read-replicas/references/consistency-connection.md +24 -0
- package/skills/read-replicas/references/ha-dr.md +18 -0
- package/skills/red-team/SKILL.md +120 -0
- package/skills/red-team/references/attack-path-methodology.md +135 -0
- package/skills/red-team/scripts/engagement_planner.py +420 -0
- package/skills/referral-program/SKILL.md +189 -0
- package/skills/referral-program/references/loop-and-incentives.md +81 -0
- package/skills/referral-program/references/measurement-framework.md +199 -0
- package/skills/referral-program/references/program-mechanics.md +212 -0
- package/skills/referral-program/scripts/referral_roi_calculator.py +420 -0
- package/skills/regression-suite/SKILL.md +89 -0
- package/skills/regulatory-affairs-head/SKILL.md +117 -0
- package/skills/regulatory-affairs-head/references/eu-mdr-submission-guide.md +95 -0
- package/skills/regulatory-affairs-head/references/fda-submission-guide.md +127 -0
- package/skills/regulatory-affairs-head/references/global-regulatory-pathways.md +283 -0
- package/skills/regulatory-affairs-head/references/iso-regulatory-requirements.md +363 -0
- package/skills/regulatory-affairs-head/scripts/regulatory_pathway_analyzer.py +557 -0
- package/skills/regulatory-affairs-head/scripts/regulatory_tracker.py +199 -0
- package/skills/release/SKILL.md +89 -0
- package/skills/release-announce/SKILL.md +64 -0
- package/skills/release-checklist/SKILL.md +63 -0
- package/skills/research-summarizer/SKILL.md +94 -0
- package/skills/research-summarizer/references/citation-formats.md +105 -0
- package/skills/research-summarizer/references/summary-templates.md +120 -0
- package/skills/research-summarizer/scripts/extract_citations.py +309 -0
- package/skills/research-summarizer/scripts/format_summary.py +244 -0
- package/skills/retrospective/SKILL.md +72 -0
- package/skills/revenue-operations/SKILL.md +101 -0
- package/skills/revenue-operations/assets/expected_output.json +117 -0
- package/skills/revenue-operations/assets/forecast_report_template.md +149 -0
- package/skills/revenue-operations/assets/gtm_dashboard_template.md +215 -0
- package/skills/revenue-operations/assets/pipeline_review_template.md +138 -0
- package/skills/revenue-operations/assets/sample_forecast_data.json +23 -0
- package/skills/revenue-operations/assets/sample_gtm_data.json +24 -0
- package/skills/revenue-operations/assets/sample_pipeline_data.json +160 -0
- package/skills/revenue-operations/references/gtm-efficiency-benchmarks.md +257 -0
- package/skills/revenue-operations/references/pipeline-management-framework.md +292 -0
- package/skills/revenue-operations/references/revops-metrics-guide.md +304 -0
- package/skills/revenue-operations/scripts/forecast_accuracy_tracker.py +531 -0
- package/skills/revenue-operations/scripts/gtm_efficiency_calculator.py +658 -0
- package/skills/revenue-operations/scripts/pipeline_analyzer.py +496 -0
- package/skills/reverse-document/SKILL.md +70 -0
- package/skills/risk-management-specialist/SKILL.md +125 -0
- package/skills/risk-management-specialist/references/iso14971-implementation-guide.md +468 -0
- package/skills/risk-management-specialist/references/risk-analysis-methods.md +415 -0
- package/skills/risk-management-specialist/references/risk-assessment-templates.md +77 -0
- package/skills/risk-management-specialist/scripts/fmea_analyzer.py +442 -0
- package/skills/risk-management-specialist/scripts/risk_matrix_calculator.py +419 -0
- package/skills/roadmap-communicator/SKILL.md +96 -0
- package/skills/roadmap-communicator/references/communication-templates.md +63 -0
- package/skills/roadmap-communicator/references/roadmap-templates.md +44 -0
- package/skills/roadmap-communicator/scripts/changelog_generator.py +151 -0
- package/skills/rollback-strategy/SKILL.md +80 -0
- package/skills/rollback-strategy/references/anti-patterns.md +14 -0
- package/skills/rollback-strategy/references/canary-auto-rollback.md +17 -0
- package/skills/rollback-strategy/references/communication-protocol.md +6 -0
- package/skills/rollback-strategy/references/mobile-rollback.md +10 -0
- package/skills/rollback-strategy/references/pre-deploy-checklist.md +15 -0
- package/skills/rollback-strategy/references/runbook-commands.md +147 -0
- package/skills/run-migrations/SKILL.md +67 -0
- package/skills/runbooks/SKILL.md +57 -0
- package/skills/runbooks/references/anti-patterns.md +6 -0
- package/skills/runbooks/references/checklist.md +13 -0
- package/skills/runbooks/references/lifecycle.md +14 -0
- package/skills/runbooks/references/writing-principles.md +9 -0
- package/skills/runbooks/templates/runbook.md +80 -0
- package/skills/saas-metrics-coach/SKILL.md +156 -0
- package/skills/saas-metrics-coach/assets/input-template.md +29 -0
- package/skills/saas-metrics-coach/references/benchmarks.md +101 -0
- package/skills/saas-metrics-coach/references/formulas.md +103 -0
- package/skills/saas-metrics-coach/scripts/metrics_calculator.py +217 -0
- package/skills/saas-metrics-coach/scripts/quick_ratio_calculator.py +173 -0
- package/skills/saas-metrics-coach/scripts/unit_economics_simulator.py +205 -0
- package/skills/sales-engineer/SKILL.md +104 -0
- package/skills/sales-engineer/assets/demo_script_template.md +232 -0
- package/skills/sales-engineer/assets/expected_output.json +474 -0
- package/skills/sales-engineer/assets/poc_scorecard_template.md +213 -0
- package/skills/sales-engineer/assets/sample_rfp_data.json +219 -0
- package/skills/sales-engineer/assets/technical_proposal_template.md +231 -0
- package/skills/sales-engineer/references/competitive-positioning-framework.md +226 -0
- package/skills/sales-engineer/references/poc-best-practices.md +277 -0
- package/skills/sales-engineer/references/rfp-response-guide.md +189 -0
- package/skills/sales-engineer/scripts/competitive_matrix_builder.py +525 -0
- package/skills/sales-engineer/scripts/poc_planner.py +765 -0
- package/skills/sales-engineer/scripts/rfp_response_analyzer.py +557 -0
- package/skills/scaffold-fastify-ts/SKILL.md +77 -0
- package/skills/scaffold-fastify-ts/references/anti-patterns.md +10 -0
- package/skills/scaffold-fastify-ts/references/key-decisions.md +27 -0
- package/skills/scaffold-go/SKILL.md +77 -0
- package/skills/scaffold-go/references/patterns.md +22 -0
- package/skills/scaffold-go/references/project-structure.md +15 -0
- package/skills/scaffold-react-native/SKILL.md +69 -0
- package/skills/scaffold-react-native/references/conventions.md +26 -0
- package/skills/scaffold-react-native/references/workflow-and-navigation.md +22 -0
- package/skills/scaffold-react-vite/SKILL.md +76 -0
- package/skills/scaffold-react-vite/references/anti-patterns.md +9 -0
- package/skills/scaffold-react-vite/references/dependency-baseline.md +22 -0
- package/skills/scaffold-unity/SKILL.md +52 -0
- package/skills/scaffold-unity/references/folder-structure-and-files.md +43 -0
- package/skills/scaffold-unity/references/naming-conventions.md +11 -0
- package/skills/scenario-war-room/SKILL.md +81 -0
- package/skills/scenario-war-room/references/cascade-model.md +103 -0
- package/skills/scenario-war-room/references/scenario-planning.md +212 -0
- package/skills/scenario-war-room/scripts/scenario_modeler.py +486 -0
- package/skills/schema-markup/SKILL.md +184 -0
- package/skills/schema-markup/references/implementation-patterns.md +437 -0
- package/skills/schema-markup/references/schema-types-guide.md +285 -0
- package/skills/schema-markup/references/testing-and-mistakes.md +43 -0
- package/skills/schema-markup/scripts/schema_validator.py +442 -0
- package/skills/scope-check/SKILL.md +67 -0
- package/skills/scope-check/references/report-template.md +56 -0
- package/skills/scrum-master/SKILL.md +128 -0
- package/skills/scrum-master/assets/expected_output.json +131 -0
- package/skills/scrum-master/assets/expected_velocity_output.json +85 -0
- package/skills/scrum-master/assets/sample_sprint_data.json +821 -0
- package/skills/scrum-master/assets/sprint_report_template.md +214 -0
- package/skills/scrum-master/assets/team_health_check_template.md +380 -0
- package/skills/scrum-master/references/retro-formats.md +336 -0
- package/skills/scrum-master/references/team-dynamics-framework.md +561 -0
- package/skills/scrum-master/references/velocity-forecasting-guide.md +386 -0
- package/skills/scrum-master/scripts/retrospective_analyzer.py +914 -0
- package/skills/scrum-master/scripts/sprint_health_scorer.py +744 -0
- package/skills/scrum-master/scripts/velocity_analyzer.py +580 -0
- package/skills/search-setup/SKILL.md +49 -0
- package/skills/search-setup/references/anti-patterns-checklist.md +24 -0
- package/skills/search-setup/references/engine-details.md +15 -0
- package/skills/search-setup/references/indexing-pipeline.md +11 -0
- package/skills/search-setup/references/observability.md +6 -0
- package/skills/secret-management/SKILL.md +49 -0
- package/skills/secret-management/references/anti-patterns.md +7 -0
- package/skills/secret-management/references/checklist.md +13 -0
- package/skills/secret-management/references/implementation-details.md +37 -0
- package/skills/security-audit/SKILL.md +86 -0
- package/skills/security-pen-testing/SKILL.md +114 -0
- package/skills/security-pen-testing/references/attack_patterns.md +629 -0
- package/skills/security-pen-testing/references/owasp_top_10_checklist.md +440 -0
- package/skills/security-pen-testing/references/responsible_disclosure.md +317 -0
- package/skills/security-pen-testing/scripts/dependency_auditor.py +455 -0
- package/skills/security-pen-testing/scripts/pentest_report_generator.py +462 -0
- package/skills/security-pen-testing/scripts/vulnerability_scanner.py +545 -0
- package/skills/self-improving-agent/.claude-plugin/plugin.json +13 -0
- package/skills/self-improving-agent/CLAUDE.md +79 -0
- package/skills/self-improving-agent/LICENSE +21 -0
- package/skills/self-improving-agent/SKILL.md +112 -0
- package/skills/self-improving-agent/agents/memory-analyst.md +74 -0
- package/skills/self-improving-agent/agents/skill-extractor.md +110 -0
- package/skills/self-improving-agent/hooks/error-capture.sh +110 -0
- package/skills/self-improving-agent/hooks/hooks.json +15 -0
- package/skills/self-improving-agent/reference/memory-architecture.md +131 -0
- package/skills/self-improving-agent/reference/promotion-rules.md +83 -0
- package/skills/self-improving-agent/reference/rules-directory-patterns.md +137 -0
- package/skills/self-improving-agent/settings.json +28 -0
- package/skills/self-improving-agent/skills/extract/SKILL.md +182 -0
- package/skills/self-improving-agent/skills/promote/SKILL.md +148 -0
- package/skills/self-improving-agent/skills/remember/SKILL.md +102 -0
- package/skills/self-improving-agent/skills/review/SKILL.md +130 -0
- package/skills/self-improving-agent/skills/status/SKILL.md +107 -0
- package/skills/self-improving-agent/templates/rule-template.md +17 -0
- package/skills/self-improving-agent/templates/skill-template.md +53 -0
- package/skills/senior-computer-vision/SKILL.md +125 -0
- package/skills/senior-computer-vision/references/computer_vision_architectures.md +683 -0
- package/skills/senior-computer-vision/references/object_detection_optimization.md +885 -0
- package/skills/senior-computer-vision/references/production_vision_systems.md +1226 -0
- package/skills/senior-computer-vision/references/reference-docs-and-commands.md +96 -0
- package/skills/senior-computer-vision/scripts/dataset_pipeline_builder.py +1699 -0
- package/skills/senior-computer-vision/scripts/inference_optimizer.py +557 -0
- package/skills/senior-computer-vision/scripts/vision_model_trainer.py +576 -0
- package/skills/senior-data-engineer/SKILL.md +198 -0
- package/skills/senior-data-engineer/references/data_modeling_patterns.md +1058 -0
- package/skills/senior-data-engineer/references/data_pipeline_architecture.md +1100 -0
- package/skills/senior-data-engineer/references/dataops_best_practices.md +1502 -0
- package/skills/senior-data-engineer/references/troubleshooting.md +183 -0
- package/skills/senior-data-engineer/references/workflows.md +624 -0
- package/skills/senior-data-engineer/scripts/data_quality_validator.py +1636 -0
- package/skills/senior-data-engineer/scripts/etl_performance_optimizer.py +1685 -0
- package/skills/senior-data-engineer/scripts/pipeline_orchestrator.py +883 -0
- package/skills/senior-data-scientist/SKILL.md +117 -0
- package/skills/senior-data-scientist/references/experiment_design_frameworks.md +80 -0
- package/skills/senior-data-scientist/references/feature_engineering_patterns.md +80 -0
- package/skills/senior-data-scientist/references/statistical_methods_advanced.md +80 -0
- package/skills/senior-data-scientist/scripts/experiment_designer.py +100 -0
- package/skills/senior-data-scientist/scripts/feature_engineering_pipeline.py +100 -0
- package/skills/senior-data-scientist/scripts/model_evaluation_suite.py +100 -0
- package/skills/senior-ml-engineer/SKILL.md +121 -0
- package/skills/senior-ml-engineer/references/llm_integration_guide.md +317 -0
- package/skills/senior-ml-engineer/references/mlops_production_patterns.md +265 -0
- package/skills/senior-ml-engineer/references/rag_system_architecture.md +371 -0
- package/skills/senior-ml-engineer/scripts/ml_monitoring_suite.py +100 -0
- package/skills/senior-ml-engineer/scripts/model_deployment_pipeline.py +100 -0
- package/skills/senior-ml-engineer/scripts/rag_system_builder.py +100 -0
- package/skills/senior-pm/SKILL.md +109 -0
- package/skills/senior-pm/assets/executive_report_template.md +267 -0
- package/skills/senior-pm/assets/expected_output.json +150 -0
- package/skills/senior-pm/assets/project_charter_template.md +274 -0
- package/skills/senior-pm/assets/raci_matrix_template.md +265 -0
- package/skills/senior-pm/assets/sample_project_data.json +458 -0
- package/skills/senior-pm/references/portfolio-kpis.md +32 -0
- package/skills/senior-pm/references/portfolio-prioritization-models.md +645 -0
- package/skills/senior-pm/references/risk-management-framework.md +485 -0
- package/skills/senior-pm/scripts/project_health_dashboard.py +814 -0
- package/skills/senior-pm/scripts/resource_capacity_planner.py +846 -0
- package/skills/senior-pm/scripts/risk_matrix_analyzer.py +698 -0
- package/skills/senior-prompt-engineer/SKILL.md +108 -0
- package/skills/senior-prompt-engineer/references/agentic_system_design.md +646 -0
- package/skills/senior-prompt-engineer/references/llm_evaluation_frameworks.md +524 -0
- package/skills/senior-prompt-engineer/references/prompt_engineering_patterns.md +572 -0
- package/skills/senior-prompt-engineer/scripts/agent_orchestrator.py +560 -0
- package/skills/senior-prompt-engineer/scripts/prompt_optimizer.py +519 -0
- package/skills/senior-prompt-engineer/scripts/rag_evaluator.py +574 -0
- package/skills/seo-audit/SKILL.md +150 -0
- package/skills/seo-audit/references/aeo-geo-patterns.md +110 -0
- package/skills/seo-audit/references/ai-writing-detection.md +63 -0
- package/skills/seo-audit/references/seo-audit-reference.md +289 -0
- package/skills/seo-audit/scripts/seo_checker.py +361 -0
- package/skills/shader-dev/SKILL.md +299 -0
- package/skills/shader-dev/reference/ambient-occlusion.md +382 -0
- package/skills/shader-dev/reference/analytic-ray-tracing.md +651 -0
- package/skills/shader-dev/reference/anti-aliasing.md +71 -0
- package/skills/shader-dev/reference/atmospheric-scattering.md +571 -0
- package/skills/shader-dev/reference/camera-effects.md +80 -0
- package/skills/shader-dev/reference/cellular-automata.md +635 -0
- package/skills/shader-dev/reference/color-palette.md +481 -0
- package/skills/shader-dev/reference/csg-boolean-operations.md +466 -0
- package/skills/shader-dev/reference/domain-repetition.md +436 -0
- package/skills/shader-dev/reference/domain-warping.md +419 -0
- package/skills/shader-dev/reference/fluid-simulation.md +425 -0
- package/skills/shader-dev/reference/fractal-rendering.md +525 -0
- package/skills/shader-dev/reference/lighting-model.md +639 -0
- package/skills/shader-dev/reference/matrix-transform.md +535 -0
- package/skills/shader-dev/reference/multipass-buffer.md +571 -0
- package/skills/shader-dev/reference/normal-estimation.md +418 -0
- package/skills/shader-dev/reference/particle-system.md +589 -0
- package/skills/shader-dev/reference/path-tracing-gi.md +602 -0
- package/skills/shader-dev/reference/polar-uv-manipulation.md +521 -0
- package/skills/shader-dev/reference/post-processing.md +375 -0
- package/skills/shader-dev/reference/procedural-2d-pattern.md +439 -0
- package/skills/shader-dev/reference/procedural-noise.md +551 -0
- package/skills/shader-dev/reference/ray-marching.md +396 -0
- package/skills/shader-dev/reference/sdf-2d.md +724 -0
- package/skills/shader-dev/reference/sdf-3d.md +805 -0
- package/skills/shader-dev/reference/sdf-tricks.md +63 -0
- package/skills/shader-dev/reference/shadow-techniques.md +476 -0
- package/skills/shader-dev/reference/simulation-physics.md +644 -0
- package/skills/shader-dev/reference/sound-synthesis.md +578 -0
- package/skills/shader-dev/reference/terrain-rendering.md +839 -0
- package/skills/shader-dev/reference/texture-mapping-advanced.md +87 -0
- package/skills/shader-dev/reference/texture-sampling.md +553 -0
- package/skills/shader-dev/reference/volumetric-rendering.md +608 -0
- package/skills/shader-dev/reference/voronoi-cellular-noise.md +486 -0
- package/skills/shader-dev/reference/voxel-rendering.md +701 -0
- package/skills/shader-dev/reference/water-ocean.md +445 -0
- package/skills/shader-dev/reference/webgl-pitfalls.md +41 -0
- package/skills/shader-dev/techniques/ambient-occlusion.md +364 -0
- package/skills/shader-dev/techniques/analytic-ray-tracing.md +542 -0
- package/skills/shader-dev/techniques/anti-aliasing.md +124 -0
- package/skills/shader-dev/techniques/atmospheric-scattering.md +522 -0
- package/skills/shader-dev/techniques/camera-effects.md +115 -0
- package/skills/shader-dev/techniques/cellular-automata.md +531 -0
- package/skills/shader-dev/techniques/color-palette.md +380 -0
- package/skills/shader-dev/techniques/csg-boolean-operations.md +491 -0
- package/skills/shader-dev/techniques/domain-repetition.md +333 -0
- package/skills/shader-dev/techniques/domain-warping.md +414 -0
- package/skills/shader-dev/techniques/fluid-simulation.md +1175 -0
- package/skills/shader-dev/techniques/fractal-rendering.md +436 -0
- package/skills/shader-dev/techniques/lighting-model.md +527 -0
- package/skills/shader-dev/techniques/matrix-transform.md +455 -0
- package/skills/shader-dev/techniques/multipass-buffer.md +922 -0
- package/skills/shader-dev/techniques/normal-estimation.md +318 -0
- package/skills/shader-dev/techniques/particle-system.md +1203 -0
- package/skills/shader-dev/techniques/path-tracing-gi.md +623 -0
- package/skills/shader-dev/techniques/polar-uv-manipulation.md +373 -0
- package/skills/shader-dev/techniques/post-processing.md +788 -0
- package/skills/shader-dev/techniques/procedural-2d-pattern.md +346 -0
- package/skills/shader-dev/techniques/procedural-noise.md +554 -0
- package/skills/shader-dev/techniques/ray-marching.md +467 -0
- package/skills/shader-dev/techniques/sdf-2d.md +631 -0
- package/skills/shader-dev/techniques/sdf-3d.md +589 -0
- package/skills/shader-dev/techniques/sdf-tricks.md +100 -0
- package/skills/shader-dev/techniques/shadow-techniques.md +776 -0
- package/skills/shader-dev/techniques/simulation-physics.md +1542 -0
- package/skills/shader-dev/techniques/sound-synthesis.md +490 -0
- package/skills/shader-dev/techniques/terrain-rendering.md +408 -0
- package/skills/shader-dev/techniques/texture-mapping-advanced.md +121 -0
- package/skills/shader-dev/techniques/texture-sampling.md +382 -0
- package/skills/shader-dev/techniques/volumetric-rendering.md +375 -0
- package/skills/shader-dev/techniques/voronoi-cellular-noise.md +458 -0
- package/skills/shader-dev/techniques/voxel-rendering.md +985 -0
- package/skills/shader-dev/techniques/water-ocean.md +490 -0
- package/skills/shader-dev/techniques/webgl-pitfalls.md +170 -0
- package/skills/signup-flow-cro/SKILL.md +150 -0
- package/skills/signup-flow-cro/references/experiments.md +76 -0
- package/skills/signup-flow-cro/references/signup-cro-playbook.md +180 -0
- package/skills/signup-flow-cro/scripts/funnel_drop_analyzer.py +320 -0
- package/skills/site-architecture/SKILL.md +167 -0
- package/skills/site-architecture/references/internal-linking-playbook.md +216 -0
- package/skills/site-architecture/references/navigation-design.md +32 -0
- package/skills/site-architecture/references/silo-and-linking-guide.md +80 -0
- package/skills/site-architecture/references/url-design-guide.md +220 -0
- package/skills/site-architecture/scripts/sitemap_analyzer.py +375 -0
- package/skills/skill-auditor/SKILL.md +159 -0
- package/skills/skill-auditor/references/frontmatter-spec.md +113 -0
- package/skills/skill-auditor/references/lazy-loading-guide.md +98 -0
- package/skills/skill-improve/SKILL.md +59 -0
- package/skills/skill-test/SKILL.md +45 -0
- package/skills/skill-test/references/audit-mode-procedure.md +7 -0
- package/skills/skill-test/references/category-mode-procedure.md +7 -0
- package/skills/skill-test/references/next-steps-guide.md +9 -0
- package/skills/skill-test/references/spec-mode-procedure.md +8 -0
- package/skills/skill-test/references/static-checks.md +13 -0
- package/skills/slack/SKILL.md +45 -0
- package/skills/slo-sli/SKILL.md +92 -0
- package/skills/slo-sli/references/alerting-burn-rate.md +22 -0
- package/skills/slo-sli/references/anti-patterns.md +12 -0
- package/skills/slo-sli/references/checklist.md +14 -0
- package/skills/smoke-check/SKILL.md +77 -0
- package/skills/snowflake-development/SKILL.md +119 -0
- package/skills/snowflake-development/references/cortex_ai_and_agents.md +280 -0
- package/skills/snowflake-development/references/snowflake_sql_and_pipelines.md +281 -0
- package/skills/snowflake-development/references/troubleshooting.md +155 -0
- package/skills/snowflake-development/scripts/snowflake_query_helper.py +233 -0
- package/skills/soc2-compliance/SKILL.md +132 -0
- package/skills/soc2-compliance/references/evidence_collection_guide.md +227 -0
- package/skills/soc2-compliance/references/trust_service_criteria.md +273 -0
- package/skills/soc2-compliance/references/type1_vs_type2.md +273 -0
- package/skills/soc2-compliance/scripts/control_matrix_builder.py +679 -0
- package/skills/soc2-compliance/scripts/evidence_tracker.py +240 -0
- package/skills/soc2-compliance/scripts/gap_analyzer.py +479 -0
- package/skills/social-content/SKILL.md +155 -0
- package/skills/social-content/references/hooks-and-repurposing.md +74 -0
- package/skills/social-content/references/platforms.md +163 -0
- package/skills/social-content/references/post-templates.md +171 -0
- package/skills/social-content/references/reverse-engineering.md +190 -0
- package/skills/social-media-analyzer/HOW_TO_USE.md +39 -0
- package/skills/social-media-analyzer/SKILL.md +190 -0
- package/skills/social-media-analyzer/assets/expected_output.json +61 -0
- package/skills/social-media-analyzer/assets/sample_input.json +42 -0
- package/skills/social-media-analyzer/references/platform-benchmarks.md +226 -0
- package/skills/social-media-analyzer/scripts/analyze_performance.py +180 -0
- package/skills/social-media-analyzer/scripts/calculate_metrics.py +147 -0
- package/skills/social-media-manager/SKILL.md +195 -0
- package/skills/social-media-manager/scripts/social_calendar_generator.py +399 -0
- package/skills/sprint-ceremony/SKILL.md +75 -0
- package/skills/sprint-plan/SKILL.md +47 -0
- package/skills/sprint-report/SKILL.md +124 -0
- package/skills/standup-report/SKILL.md +51 -0
- package/skills/start/SKILL.md +67 -0
- package/skills/start-service/SKILL.md +45 -0
- package/skills/state-management/SKILL.md +75 -0
- package/skills/story-done/SKILL.md +69 -0
- package/skills/story-done/references/review-gates.md +9 -0
- package/skills/story-done/references/test-evidence-traceability.md +17 -0
- package/skills/story-readiness/SKILL.md +57 -0
- package/skills/story-readiness/references/context-loading.md +9 -0
- package/skills/story-readiness/references/output-format.md +7 -0
- package/skills/story-readiness/references/readiness-checklist.md +33 -0
- package/skills/strategic-alignment/SKILL.md +79 -0
- package/skills/strategic-alignment/references/alignment-playbook.md +205 -0
- package/skills/strategic-alignment/scripts/alignment_checker.py +455 -0
- package/skills/stripe-integration-expert/SKILL.md +65 -0
- package/skills/stripe-integration-expert/references/stripe-code-examples.md +372 -0
- package/skills/tdd-guide/HOW_TO_USE.md +313 -0
- package/skills/tdd-guide/SKILL.md +114 -0
- package/skills/tdd-guide/assets/expected_output.json +77 -0
- package/skills/tdd-guide/assets/sample_coverage_report.lcov +56 -0
- package/skills/tdd-guide/assets/sample_input_python.json +39 -0
- package/skills/tdd-guide/assets/sample_input_typescript.json +36 -0
- package/skills/tdd-guide/references/ci-integration.md +195 -0
- package/skills/tdd-guide/references/framework-guide.md +206 -0
- package/skills/tdd-guide/references/tdd-best-practices.md +128 -0
- package/skills/tdd-guide/references/tdd-code-examples.md +229 -0
- package/skills/tdd-guide/scripts/coverage_analyzer.py +434 -0
- package/skills/tdd-guide/scripts/fixture_generator.py +440 -0
- package/skills/tdd-guide/scripts/format_detector.py +384 -0
- package/skills/tdd-guide/scripts/framework_adapter.py +428 -0
- package/skills/tdd-guide/scripts/metrics_calculator.py +456 -0
- package/skills/tdd-guide/scripts/output_formatter.py +354 -0
- package/skills/tdd-guide/scripts/tdd_workflow.py +474 -0
- package/skills/tdd-guide/scripts/test_generator.py +438 -0
- package/skills/team-communications/SKILL.md +69 -0
- package/skills/team-communications/references/3p-updates.md +47 -0
- package/skills/team-communications/references/company-newsletter.md +65 -0
- package/skills/team-communications/references/faq-answers.md +30 -0
- package/skills/team-communications/references/general-comms.md +16 -0
- package/skills/team-vn/SKILL.md +187 -0
- package/skills/tech-debt/SKILL.md +91 -0
- package/skills/tech-debt/references/register-format.md +20 -0
- package/skills/tech-debt/references/scan-indicators.md +22 -0
- package/skills/tech-stack-evaluator/SKILL.md +111 -0
- package/skills/tech-stack-evaluator/assets/expected_output_comparison.json +82 -0
- package/skills/tech-stack-evaluator/assets/sample_input_structured.json +39 -0
- package/skills/tech-stack-evaluator/assets/sample_input_tco.json +42 -0
- package/skills/tech-stack-evaluator/assets/sample_input_text.json +4 -0
- package/skills/tech-stack-evaluator/references/examples.md +383 -0
- package/skills/tech-stack-evaluator/references/metrics.md +242 -0
- package/skills/tech-stack-evaluator/references/workflows.md +362 -0
- package/skills/tech-stack-evaluator/scripts/ecosystem_analyzer.py +501 -0
- package/skills/tech-stack-evaluator/scripts/format_detector.py +430 -0
- package/skills/tech-stack-evaluator/scripts/migration_analyzer.py +587 -0
- package/skills/tech-stack-evaluator/scripts/report_generator.py +460 -0
- package/skills/tech-stack-evaluator/scripts/security_assessor.py +518 -0
- package/skills/tech-stack-evaluator/scripts/stack_comparator.py +389 -0
- package/skills/tech-stack-evaluator/scripts/tco_calculator.py +458 -0
- package/skills/terraform-init/SKILL.md +80 -0
- package/skills/terraform-init/references/anti-patterns.md +11 -0
- package/skills/terraform-init/references/security-checklist.md +10 -0
- package/skills/test-flakiness/SKILL.md +90 -0
- package/skills/test-helpers/SKILL.md +50 -0
- package/skills/test-setup/SKILL.md +58 -0
- package/skills/testing/SKILL.md +32 -0
- package/skills/testing/references/anti-patterns.md +11 -0
- package/skills/testing/references/coverage-strategy.md +11 -0
- package/skills/testing/references/framework-setup.md +25 -0
- package/skills/testing/references/helper-patterns.md +9 -0
- package/skills/threat-detection/SKILL.md +114 -0
- package/skills/threat-detection/references/hunt-playbooks.md +131 -0
- package/skills/threat-detection/scripts/threat_signal_analyzer.py +571 -0
- package/skills/unity-game-architecture/SKILL.md +45 -0
- package/skills/unity-game-architecture/references/anti-patterns.md +15 -0
- package/skills/unity-game-architecture/references/checklist.md +16 -0
- package/skills/unity-game-architecture/references/performance-and-systems.md +29 -0
- package/skills/user-persona/SKILL.md +65 -0
- package/skills/user-persona/references/persona-template.md +27 -0
- package/skills/ux-design/SKILL.md +60 -0
- package/skills/ux-design/references/cross-reference-and-routing.md +19 -0
- package/skills/ux-design/references/spec-sections.md +19 -0
- package/skills/ux-review/SKILL.md +70 -0
- package/skills/video-content-strategist/SKILL.md +181 -0
- package/skills/video-content-strategist/references/scripts-and-anti-patterns.md +48 -0
- package/skills/visual-regression/SKILL.md +86 -0
- package/skills/vn-asset-pipeline/SKILL.md +166 -0
- package/skills/vn-character-design/SKILL.md +220 -0
- package/skills/vn-comfyui-gen/SKILL.md +235 -0
- package/skills/vn-comfyui-gen/references/comfyui-vn-workflows.md +197 -0
- package/skills/vn-dialogue-tree/SKILL.md +126 -0
- package/skills/vn-gdd/SKILL.md +133 -0
- package/skills/vn-narrative-design/SKILL.md +185 -0
- package/skills/vn-renpy-setup/SKILL.md +136 -0
- package/skills/vn-scene-compose/SKILL.md +234 -0
- package/skills/vn-script/SKILL.md +140 -0
- package/skills/vn-script/references/renpy-cheatsheet.md +169 -0
- package/skills/vn-testing/SKILL.md +178 -0
- package/skills/vn-ui-design/SKILL.md +220 -0
- package/skills/web-security/SKILL.md +92 -0
- package/skills/web-security/references/csp-and-frontend.md +36 -0
- package/skills/webhooks/SKILL.md +102 -0
- package/skills/websocket-realtime-rooms/SKILL.md +46 -0
- package/skills/websocket-realtime-rooms/references/anti-patterns-checklist.md +27 -0
- package/skills/websocket-realtime-rooms/references/auth-security.md +9 -0
- package/skills/websocket-realtime-rooms/references/client-implementation.md +15 -0
- package/skills/websocket-realtime-rooms/references/heartbeat-reconnect-backpressure.md +17 -0
- package/skills/weekly-digest/SKILL.md +51 -0
- package/skills/worktree-isolation/README.md +193 -0
- package/skills/worktree-isolation/SKILL.md +87 -0
- package/skills/worktree-isolation/scripts/apply.py +178 -0
- package/skills/worktree-isolation/scripts/lib.py +371 -0
- package/skills/worktree-isolation-setup/README.md +137 -0
- package/skills/worktree-isolation-setup/SKILL.md +192 -0
- package/skills/worktree-isolation-setup/scripts/apply.py +178 -0
- package/skills/worktree-isolation-setup/scripts/install_hook.py +118 -0
- package/skills/worktree-isolation-setup/scripts/lib.py +371 -0
- package/skills/x-twitter-growth/SKILL.md +91 -0
- package/skills/x-twitter-growth/references/algorithm-signals.md +70 -0
- package/skills/x-twitter-growth/scripts/competitor_analyzer.py +235 -0
- package/skills/x-twitter-growth/scripts/content_planner.py +210 -0
- package/skills/x-twitter-growth/scripts/growth_tracker.py +259 -0
- package/skills/x-twitter-growth/scripts/profile_auditor.py +294 -0
- package/skills/x-twitter-growth/scripts/tweet_composer.py +290 -0
- package/skills/xlsx-generator/SKILL.md +135 -0
- package/skills/xlsx-generator/references/create.md +691 -0
- package/skills/xlsx-generator/references/edit.md +684 -0
- package/skills/xlsx-generator/references/fix.md +37 -0
- package/skills/xlsx-generator/references/format.md +768 -0
- package/skills/xlsx-generator/references/ooxml-cheatsheet.md +231 -0
- package/skills/xlsx-generator/references/read-analyze.md +97 -0
- package/skills/xlsx-generator/references/validate.md +772 -0
- package/skills/xlsx-generator/scripts/formula_check.py +422 -0
- package/skills/xlsx-generator/scripts/libreoffice_recalc.py +248 -0
- package/skills/xlsx-generator/scripts/shared_strings_builder.py +163 -0
- package/skills/xlsx-generator/scripts/style_audit.py +575 -0
- package/skills/xlsx-generator/scripts/xlsx_add_column.py +395 -0
- package/skills/xlsx-generator/scripts/xlsx_insert_row.py +274 -0
- package/skills/xlsx-generator/scripts/xlsx_pack.py +87 -0
- package/skills/xlsx-generator/scripts/xlsx_reader.py +362 -0
- package/skills/xlsx-generator/scripts/xlsx_shift_rows.py +396 -0
- package/skills/xlsx-generator/scripts/xlsx_unpack.py +130 -0
- package/skills/xlsx-generator/templates/minimal_xlsx/[Content_Types].xml +9 -0
- package/skills/xlsx-generator/templates/minimal_xlsx/_rels/.rels +6 -0
- package/skills/xlsx-generator/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +19 -0
- package/skills/xlsx-generator/templates/minimal_xlsx/xl/sharedStrings.xml +33 -0
- package/skills/xlsx-generator/templates/minimal_xlsx/xl/styles.xml +160 -0
- package/skills/xlsx-generator/templates/minimal_xlsx/xl/workbook.xml +30 -0
- package/skills/xlsx-generator/templates/minimal_xlsx/xl/worksheets/sheet1.xml +70 -0
- package/templates/gamedev/architecture-decision-record.md +176 -0
- package/templates/gamedev/art-bible.md +80 -0
- package/templates/gamedev/concept-doc-from-prototype.md +304 -0
- package/templates/gamedev/difficulty-curve.md +330 -0
- package/templates/gamedev/economy-model.md +130 -0
- package/templates/gamedev/faction-design.md +166 -0
- package/templates/gamedev/game-concept.md +316 -0
- package/templates/gamedev/game-design-document.md +219 -0
- package/templates/gamedev/game-pillars.md +313 -0
- package/templates/gamedev/hud-design.md +505 -0
- package/templates/gamedev/level-design-document.md +111 -0
- package/templates/gamedev/narrative-character-sheet.md +111 -0
- package/templates/gamedev/pitch-document.md +140 -0
- package/templates/gamedev/player-journey.md +357 -0
- package/templates/gamedev/project-stage-report.md +199 -0
- package/templates/gamedev/sound-bible.md +130 -0
- package/templates/gamedev/systems-index.md +146 -0
- package/templates/gamedev/technical-design-document.md +96 -0
- package/templates/gamedev/test-evidence.md +86 -0
- package/templates/gamedev/test-plan.md +144 -0
|
@@ -0,0 +1,804 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Postmortem Generator - Generate structured postmortem reports with 5-Whys analysis.
|
|
4
|
+
|
|
5
|
+
Produces comprehensive incident postmortem documents from structured JSON input,
|
|
6
|
+
including root cause analysis, contributing factor classification, action item
|
|
7
|
+
validation, MTTD/MTTR metrics, and customer impact summaries.
|
|
8
|
+
|
|
9
|
+
Usage:
|
|
10
|
+
python postmortem_generator.py incident_data.json
|
|
11
|
+
python postmortem_generator.py incident_data.json --format markdown
|
|
12
|
+
python postmortem_generator.py incident_data.json --format json
|
|
13
|
+
cat incident_data.json | python postmortem_generator.py
|
|
14
|
+
|
|
15
|
+
Input:
|
|
16
|
+
JSON object with keys: incident, timeline, resolution, action_items, participants.
|
|
17
|
+
See SKILL.md for the full input schema.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import argparse
|
|
21
|
+
import json
|
|
22
|
+
import sys
|
|
23
|
+
from datetime import datetime, timezone
|
|
24
|
+
from typing import Any, Dict, List, Optional, Tuple
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# ---------- Constants and Configuration ----------
|
|
28
|
+
|
|
29
|
+
VERSION = "1.0.0"
|
|
30
|
+
SEVERITY_ORDER = {"SEV0": 0, "SEV1": 1, "SEV2": 2, "SEV3": 3, "SEV4": 4}
|
|
31
|
+
FACTOR_CATEGORIES = ("process", "tooling", "human", "environment", "external")
|
|
32
|
+
ACTION_TYPES = ("detection", "prevention", "mitigation", "process")
|
|
33
|
+
PRIORITY_ORDER = {"P0": 0, "P1": 1, "P2": 2, "P3": 3, "P4": 4}
|
|
34
|
+
POSTMORTEM_TARGET_HOURS = 72
|
|
35
|
+
|
|
36
|
+
# Industry benchmarks for incident response (minutes, except postmortem)
|
|
37
|
+
BENCHMARKS = {
|
|
38
|
+
"SEV0": {"mttd": 5, "mttr": 60, "mitigate": 30, "declare": 5},
|
|
39
|
+
"SEV1": {"mttd": 10, "mttr": 120, "mitigate": 60, "declare": 10},
|
|
40
|
+
"SEV2": {"mttd": 30, "mttr": 480, "mitigate": 120, "declare": 30},
|
|
41
|
+
"SEV3": {"mttd": 60, "mttr": 1440, "mitigate": 240, "declare": 60},
|
|
42
|
+
"SEV4": {"mttd": 120, "mttr": 2880, "mitigate": 480, "declare": 120},
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
CAT_TO_ACTION = {"process": "process", "tooling": "detection", "human": "prevention",
|
|
46
|
+
"environment": "mitigation", "external": "prevention"}
|
|
47
|
+
CAT_WEIGHT = {"process": 1.0, "tooling": 0.9, "human": 0.8, "environment": 0.7, "external": 0.6}
|
|
48
|
+
|
|
49
|
+
# Keywords used to classify contributing factors into categories
|
|
50
|
+
FACTOR_KEYWORDS = {
|
|
51
|
+
"process": ["process", "procedure", "workflow", "review", "approval", "checklist",
|
|
52
|
+
"runbook", "documentation", "policy", "standard", "protocol", "canary",
|
|
53
|
+
"deployment", "rollback", "change management"],
|
|
54
|
+
"tooling": ["tool", "monitor", "alert", "threshold", "automation", "test", "pipeline",
|
|
55
|
+
"ci/cd", "observability", "dashboard", "logging", "infrastructure",
|
|
56
|
+
"configuration", "config"],
|
|
57
|
+
"human": ["training", "knowledge", "experience", "communication", "handoff", "fatigue",
|
|
58
|
+
"oversight", "mistake", "error", "misunderstand", "assumption", "awareness"],
|
|
59
|
+
"environment": ["load", "traffic", "scale", "capacity", "resource", "network", "hardware",
|
|
60
|
+
"region", "latency", "timeout", "connection", "performance", "spike"],
|
|
61
|
+
"external": ["vendor", "third-party", "upstream", "downstream", "provider", "api",
|
|
62
|
+
"dependency", "partner", "dns", "cdn", "certificate"],
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
# 5-Whys templates per category (each list is 5 why->answer steps)
|
|
66
|
+
WHY_TEMPLATES = {
|
|
67
|
+
"process": [
|
|
68
|
+
"Why did this process gap exist? -> The existing process did not account for this scenario.",
|
|
69
|
+
"Why was the scenario not accounted for? -> It was not identified during the last process review.",
|
|
70
|
+
"Why was the process review incomplete? -> Reviews focus on known failure modes, not emerging risks.",
|
|
71
|
+
"Why are emerging risks not surfaced? -> No systematic mechanism to capture lessons from near-misses.",
|
|
72
|
+
"Why is there no near-miss capture mechanism? -> Incident learning is ad-hoc rather than systematic."],
|
|
73
|
+
"tooling": [
|
|
74
|
+
"Why did the tooling fail to catch this? -> The relevant metric was not monitored or the threshold was misconfigured.",
|
|
75
|
+
"Why was the threshold misconfigured? -> It was set during initial deployment and never revisited.",
|
|
76
|
+
"Why was it never revisited? -> There is no scheduled review of monitoring configurations.",
|
|
77
|
+
"Why is there no scheduled review? -> Monitoring ownership is diffuse across teams.",
|
|
78
|
+
"Why is ownership diffuse? -> No clear operational runbook assigns monitoring review responsibilities."],
|
|
79
|
+
"human": [
|
|
80
|
+
"Why did the human factor contribute? -> The individual lacked context needed to prevent the issue.",
|
|
81
|
+
"Why was context lacking? -> Knowledge was siloed and not documented accessibly.",
|
|
82
|
+
"Why was knowledge siloed? -> No structured onboarding or knowledge-sharing process for this area.",
|
|
83
|
+
"Why is there no knowledge-sharing process? -> Team capacity has been focused on feature delivery.",
|
|
84
|
+
"Why is capacity skewed toward features? -> Operational excellence is not weighted equally in planning."],
|
|
85
|
+
"environment": [
|
|
86
|
+
"Why did the environment cause this failure? -> System capacity was insufficient for the load pattern.",
|
|
87
|
+
"Why was capacity insufficient? -> Load projections did not account for this traffic pattern.",
|
|
88
|
+
"Why were projections inaccurate? -> Load testing does not replicate production-scale variability.",
|
|
89
|
+
"Why doesn't load testing replicate production? -> Test environments lack realistic traffic generators.",
|
|
90
|
+
"Why are traffic generators missing? -> Investment in production-like test infrastructure was deferred."],
|
|
91
|
+
"external": [
|
|
92
|
+
"Why did the external factor cause an incident? -> The system had a hard dependency with no fallback.",
|
|
93
|
+
"Why was there no fallback? -> The integration was assumed to be highly available.",
|
|
94
|
+
"Why was high availability assumed? -> SLA review of the external dependency was not performed.",
|
|
95
|
+
"Why was SLA review skipped? -> No standard checklist for evaluating third-party dependencies.",
|
|
96
|
+
"Why is there no evaluation checklist? -> Vendor management practices are informal and undocumented."],
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
THEME_RECS = {
|
|
100
|
+
"process": ["Establish a quarterly process review cadence covering change management and deployment procedures.",
|
|
101
|
+
"Implement a near-miss tracking system to surface latent risks before they become incidents.",
|
|
102
|
+
"Create pre-deployment checklists that require sign-off from the service owner."],
|
|
103
|
+
"tooling": ["Schedule quarterly reviews of alerting thresholds and monitoring coverage.",
|
|
104
|
+
"Assign explicit monitoring ownership per service in operational runbooks.",
|
|
105
|
+
"Invest in synthetic monitoring and canary analysis for critical paths."],
|
|
106
|
+
"human": ["Build structured onboarding that covers incident-prone areas and past postmortems.",
|
|
107
|
+
"Implement blameless knowledge-sharing sessions after each incident.",
|
|
108
|
+
"Balance operational excellence work alongside feature delivery in sprint planning."],
|
|
109
|
+
"environment": ["Conduct periodic capacity planning reviews using production traffic replays.",
|
|
110
|
+
"Invest in production-like load-testing infrastructure with realistic traffic profiles.",
|
|
111
|
+
"Implement auto-scaling policies with validated upper-bound thresholds."],
|
|
112
|
+
"external": ["Perform formal SLA reviews for all third-party dependencies annually.",
|
|
113
|
+
"Implement circuit breakers and fallbacks for external service integrations.",
|
|
114
|
+
"Maintain a dependency registry with risk ratings and contingency plans."],
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
MISSING_ACTION_TEMPLATES = {
|
|
118
|
+
"process": "Create or update runbook/checklist to prevent recurrence of this process gap",
|
|
119
|
+
"detection": "Add monitoring and alerting to detect this class of issue earlier",
|
|
120
|
+
"mitigation": "Implement auto-scaling or circuit-breaker to reduce blast radius",
|
|
121
|
+
"prevention": "Add automated safeguards (canary deploy, load test gate) to prevent recurrence",
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
# ---------- Data Model Classes ----------
|
|
126
|
+
|
|
127
|
+
class IncidentData:
|
|
128
|
+
"""Parsed incident metadata."""
|
|
129
|
+
def __init__(self, data: Dict[str, Any]) -> None:
|
|
130
|
+
self.id: str = data.get("id", "UNKNOWN")
|
|
131
|
+
self.title: str = data.get("title", "Untitled Incident")
|
|
132
|
+
self.severity: str = data.get("severity", "SEV3").upper()
|
|
133
|
+
self.commander: str = data.get("commander", "Unassigned")
|
|
134
|
+
self.service: str = data.get("service", "unknown-service")
|
|
135
|
+
self.affected_services: List[str] = data.get("affected_services", [])
|
|
136
|
+
|
|
137
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
138
|
+
return {"id": self.id, "title": self.title, "severity": self.severity,
|
|
139
|
+
"commander": self.commander, "service": self.service,
|
|
140
|
+
"affected_services": self.affected_services}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
class TimelineMetrics:
|
|
144
|
+
"""MTTD, MTTR, and other timing metrics computed from raw timestamps."""
|
|
145
|
+
def __init__(self, timeline: Dict[str, str], severity: str) -> None:
|
|
146
|
+
self.severity = severity
|
|
147
|
+
self.issue_started = self._parse(timeline.get("issue_started"))
|
|
148
|
+
self.detected_at = self._parse(timeline.get("detected_at"))
|
|
149
|
+
self.declared_at = self._parse(timeline.get("declared_at"))
|
|
150
|
+
self.mitigated_at = self._parse(timeline.get("mitigated_at"))
|
|
151
|
+
self.resolved_at = self._parse(timeline.get("resolved_at"))
|
|
152
|
+
self.postmortem_at = self._parse(timeline.get("postmortem_at"))
|
|
153
|
+
|
|
154
|
+
@staticmethod
|
|
155
|
+
def _parse(ts: Optional[str]) -> Optional[datetime]:
|
|
156
|
+
if ts is None:
|
|
157
|
+
return None
|
|
158
|
+
for fmt in ("%Y-%m-%dT%H:%M:%SZ", "%Y-%m-%dT%H:%M:%S%z", "%Y-%m-%dT%H:%M:%S"):
|
|
159
|
+
try:
|
|
160
|
+
dt = datetime.strptime(ts, fmt)
|
|
161
|
+
return dt if dt.tzinfo else dt.replace(tzinfo=timezone.utc)
|
|
162
|
+
except ValueError:
|
|
163
|
+
continue
|
|
164
|
+
return None
|
|
165
|
+
|
|
166
|
+
def _delta_min(self, start: Optional[datetime], end: Optional[datetime]) -> Optional[float]:
|
|
167
|
+
if start is None or end is None:
|
|
168
|
+
return None
|
|
169
|
+
return round((end - start).total_seconds() / 60.0, 1)
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
def mttd(self) -> Optional[float]:
|
|
173
|
+
return self._delta_min(self.issue_started, self.detected_at)
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
def mttr(self) -> Optional[float]:
|
|
177
|
+
return self._delta_min(self.detected_at, self.resolved_at)
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def time_to_mitigate(self) -> Optional[float]:
|
|
181
|
+
return self._delta_min(self.detected_at, self.mitigated_at)
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
def time_to_declare(self) -> Optional[float]:
|
|
185
|
+
return self._delta_min(self.detected_at, self.declared_at)
|
|
186
|
+
|
|
187
|
+
@property
|
|
188
|
+
def postmortem_timeliness_hours(self) -> Optional[float]:
|
|
189
|
+
m = self._delta_min(self.resolved_at, self.postmortem_at)
|
|
190
|
+
return round(m / 60.0, 1) if m is not None else None
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
def postmortem_on_time(self) -> Optional[bool]:
|
|
194
|
+
h = self.postmortem_timeliness_hours
|
|
195
|
+
return h <= POSTMORTEM_TARGET_HOURS if h is not None else None
|
|
196
|
+
|
|
197
|
+
def benchmark_comparison(self) -> Dict[str, Dict[str, Any]]:
|
|
198
|
+
bench = BENCHMARKS.get(self.severity, BENCHMARKS["SEV3"])
|
|
199
|
+
results: Dict[str, Dict[str, Any]] = {}
|
|
200
|
+
for name, actual, target in [("mttd", self.mttd, bench["mttd"]),
|
|
201
|
+
("mttr", self.mttr, bench["mttr"]),
|
|
202
|
+
("time_to_mitigate", self.time_to_mitigate, bench["mitigate"]),
|
|
203
|
+
("time_to_declare", self.time_to_declare, bench["declare"])]:
|
|
204
|
+
if actual is not None:
|
|
205
|
+
results[name] = {"actual_minutes": actual, "benchmark_minutes": target,
|
|
206
|
+
"met_benchmark": actual <= target,
|
|
207
|
+
"delta_minutes": round(actual - target, 1)}
|
|
208
|
+
h = self.postmortem_timeliness_hours
|
|
209
|
+
if h is not None:
|
|
210
|
+
results["postmortem_timeliness"] = {
|
|
211
|
+
"actual_hours": h, "target_hours": POSTMORTEM_TARGET_HOURS,
|
|
212
|
+
"met_target": self.postmortem_on_time, "delta_hours": round(h - POSTMORTEM_TARGET_HOURS, 1)}
|
|
213
|
+
return results
|
|
214
|
+
|
|
215
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
216
|
+
return {"mttd_minutes": self.mttd, "mttr_minutes": self.mttr,
|
|
217
|
+
"time_to_mitigate_minutes": self.time_to_mitigate,
|
|
218
|
+
"time_to_declare_minutes": self.time_to_declare,
|
|
219
|
+
"postmortem_timeliness_hours": self.postmortem_timeliness_hours,
|
|
220
|
+
"postmortem_on_time": self.postmortem_on_time,
|
|
221
|
+
"benchmarks": self.benchmark_comparison()}
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
class ContributingFactor:
|
|
225
|
+
"""A classified contributing factor with weight and action-type mapping."""
|
|
226
|
+
def __init__(self, description: str, index: int) -> None:
|
|
227
|
+
self.description = description
|
|
228
|
+
self.index = index
|
|
229
|
+
self.category = self._classify()
|
|
230
|
+
self.weight = round(max(1.0 - index * 0.15, 0.3) * CAT_WEIGHT.get(self.category, 0.8), 2)
|
|
231
|
+
self.mapped_action_type = CAT_TO_ACTION.get(self.category, "process")
|
|
232
|
+
|
|
233
|
+
def _classify(self) -> str:
|
|
234
|
+
lower = self.description.lower()
|
|
235
|
+
scores = {cat: sum(1 for kw in kws if kw in lower) for cat, kws in FACTOR_KEYWORDS.items()}
|
|
236
|
+
best = max(scores, key=lambda k: scores[k])
|
|
237
|
+
return best if scores[best] > 0 else "process"
|
|
238
|
+
|
|
239
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
240
|
+
return {"description": self.description, "category": self.category,
|
|
241
|
+
"weight": self.weight, "mapped_action_type": self.mapped_action_type}
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
class FiveWhysAnalysis:
|
|
245
|
+
"""Structured 5-Whys chain for a contributing factor."""
|
|
246
|
+
def __init__(self, factor: ContributingFactor) -> None:
|
|
247
|
+
self.factor = factor
|
|
248
|
+
self.systemic_theme: str = factor.category
|
|
249
|
+
self.chain: List[str] = [f"Why? {factor.description}"] + \
|
|
250
|
+
WHY_TEMPLATES.get(factor.category, WHY_TEMPLATES["process"])
|
|
251
|
+
|
|
252
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
253
|
+
return {"factor": self.factor.description, "category": self.factor.category,
|
|
254
|
+
"chain": self.chain, "systemic_theme": self.systemic_theme}
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
class ActionItem:
|
|
258
|
+
"""Parsed and validated action item."""
|
|
259
|
+
def __init__(self, data: Dict[str, Any]) -> None:
|
|
260
|
+
self.title: str = data.get("title", "")
|
|
261
|
+
self.owner: str = data.get("owner", "")
|
|
262
|
+
self.priority: str = data.get("priority", "P3")
|
|
263
|
+
self.deadline: str = data.get("deadline", "")
|
|
264
|
+
self.type: str = data.get("type", "process")
|
|
265
|
+
self.status: str = data.get("status", "open")
|
|
266
|
+
self.validation_issues: List[str] = []
|
|
267
|
+
self.quality_score: int = 0
|
|
268
|
+
self._validate()
|
|
269
|
+
|
|
270
|
+
def _validate(self) -> None:
|
|
271
|
+
self.validation_issues = []
|
|
272
|
+
if not self.title:
|
|
273
|
+
self.validation_issues.append("Missing title")
|
|
274
|
+
if not self.owner:
|
|
275
|
+
self.validation_issues.append("Missing owner")
|
|
276
|
+
if not self.deadline:
|
|
277
|
+
self.validation_issues.append("Missing deadline")
|
|
278
|
+
if self.priority not in PRIORITY_ORDER:
|
|
279
|
+
self.validation_issues.append(f"Invalid priority: {self.priority}")
|
|
280
|
+
if self.type not in ACTION_TYPES:
|
|
281
|
+
self.validation_issues.append(f"Invalid type: {self.type}")
|
|
282
|
+
self.quality_score = self._score_quality()
|
|
283
|
+
|
|
284
|
+
def _score_quality(self) -> int:
|
|
285
|
+
"""Score 0-100: specific, measurable, achievable."""
|
|
286
|
+
s = 0
|
|
287
|
+
if len(self.title) > 10: s += 20
|
|
288
|
+
if self.owner: s += 20
|
|
289
|
+
if self.deadline: s += 20
|
|
290
|
+
if self.priority in PRIORITY_ORDER: s += 10
|
|
291
|
+
if self.type in ACTION_TYPES: s += 10
|
|
292
|
+
if any(kw in self.title.lower() for kw in ["%", "threshold", "within", "before",
|
|
293
|
+
"after", "less than", "greater than"]):
|
|
294
|
+
s += 10
|
|
295
|
+
if len(self.title.split()) >= 5: s += 10
|
|
296
|
+
return min(s, 100)
|
|
297
|
+
|
|
298
|
+
@property
|
|
299
|
+
def is_valid(self) -> bool:
|
|
300
|
+
return len(self.validation_issues) == 0
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
def is_past_deadline(self) -> bool:
|
|
304
|
+
if not self.deadline or self.status != "open":
|
|
305
|
+
return False
|
|
306
|
+
try:
|
|
307
|
+
dl = datetime.strptime(self.deadline, "%Y-%m-%d").replace(tzinfo=timezone.utc)
|
|
308
|
+
return datetime.now(timezone.utc) > dl
|
|
309
|
+
except ValueError:
|
|
310
|
+
return False
|
|
311
|
+
|
|
312
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
313
|
+
return {"title": self.title, "owner": self.owner, "priority": self.priority,
|
|
314
|
+
"deadline": self.deadline, "type": self.type, "status": self.status,
|
|
315
|
+
"is_valid": self.is_valid, "validation_issues": self.validation_issues,
|
|
316
|
+
"quality_score": self.quality_score, "is_past_deadline": self.is_past_deadline}
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
class PostmortemReport:
|
|
320
|
+
"""Complete postmortem document assembled from all analysis components."""
|
|
321
|
+
|
|
322
|
+
def __init__(self, raw: Dict[str, Any]) -> None:
|
|
323
|
+
self.raw = raw
|
|
324
|
+
self.incident = IncidentData(raw.get("incident", {}))
|
|
325
|
+
self.timeline = TimelineMetrics(raw.get("timeline", {}), self.incident.severity)
|
|
326
|
+
self.resolution: Dict[str, Any] = raw.get("resolution", {})
|
|
327
|
+
self.participants: List[Dict[str, str]] = raw.get("participants", [])
|
|
328
|
+
# Derived analysis
|
|
329
|
+
self.contributing_factors = [ContributingFactor(f, i)
|
|
330
|
+
for i, f in enumerate(self.resolution.get("contributing_factors", []))]
|
|
331
|
+
self.five_whys = [FiveWhysAnalysis(f) for f in self.contributing_factors]
|
|
332
|
+
self.action_items = [ActionItem(a) for a in raw.get("action_items", [])]
|
|
333
|
+
self.factor_distribution = self._compute_factor_distribution()
|
|
334
|
+
self.coverage_gaps = self._find_coverage_gaps()
|
|
335
|
+
self.suggested_actions = self._suggest_missing_actions()
|
|
336
|
+
self.theme_recommendations = self._build_theme_recommendations()
|
|
337
|
+
|
|
338
|
+
def _compute_factor_distribution(self) -> Dict[str, float]:
|
|
339
|
+
dist: Dict[str, float] = {c: 0.0 for c in FACTOR_CATEGORIES}
|
|
340
|
+
total = sum(f.weight for f in self.contributing_factors) or 1.0
|
|
341
|
+
for f in self.contributing_factors:
|
|
342
|
+
dist[f.category] += f.weight
|
|
343
|
+
return {k: round(v / total * 100, 1) for k, v in dist.items()}
|
|
344
|
+
|
|
345
|
+
def _find_coverage_gaps(self) -> List[str]:
|
|
346
|
+
factor_cats = {f.category for f in self.contributing_factors}
|
|
347
|
+
action_types = {a.type for a in self.action_items}
|
|
348
|
+
gaps = []
|
|
349
|
+
for cat in factor_cats:
|
|
350
|
+
expected = CAT_TO_ACTION.get(cat)
|
|
351
|
+
if expected and expected not in action_types:
|
|
352
|
+
gaps.append(f"No '{expected}' action item to address '{cat}' contributing factor")
|
|
353
|
+
return gaps
|
|
354
|
+
|
|
355
|
+
def _suggest_missing_actions(self) -> List[Dict[str, str]]:
|
|
356
|
+
factor_cats = {f.category for f in self.contributing_factors}
|
|
357
|
+
action_types = {a.type for a in self.action_items}
|
|
358
|
+
suggestions = []
|
|
359
|
+
for cat in factor_cats:
|
|
360
|
+
expected = CAT_TO_ACTION.get(cat)
|
|
361
|
+
if expected and expected not in action_types:
|
|
362
|
+
suggestions.append({
|
|
363
|
+
"type": expected,
|
|
364
|
+
"suggestion": MISSING_ACTION_TEMPLATES.get(expected, "Add an action item for this gap"),
|
|
365
|
+
"reason": f"No action item addresses the '{cat}' contributing factor"})
|
|
366
|
+
return suggestions
|
|
367
|
+
|
|
368
|
+
def _build_theme_recommendations(self) -> Dict[str, List[str]]:
|
|
369
|
+
seen: Dict[str, List[str]] = {}
|
|
370
|
+
for a in self.five_whys:
|
|
371
|
+
if a.systemic_theme not in seen:
|
|
372
|
+
seen[a.systemic_theme] = THEME_RECS.get(a.systemic_theme, [])
|
|
373
|
+
return seen
|
|
374
|
+
|
|
375
|
+
def customer_impact_summary(self) -> Dict[str, Any]:
|
|
376
|
+
impact = self.resolution.get("customer_impact", {})
|
|
377
|
+
affected = impact.get("affected_users", 0)
|
|
378
|
+
failed_tx = impact.get("failed_transactions", 0)
|
|
379
|
+
revenue = impact.get("revenue_impact_usd", 0)
|
|
380
|
+
data_loss = impact.get("data_loss", False)
|
|
381
|
+
comm_required = affected > 1000 or data_loss or revenue > 10000
|
|
382
|
+
sev = "high" if (affected > 10000 or revenue > 50000) else (
|
|
383
|
+
"medium" if (affected > 1000 or revenue > 5000) else "low")
|
|
384
|
+
return {"affected_users": affected, "failed_transactions": failed_tx,
|
|
385
|
+
"revenue_impact_usd": revenue, "data_loss": data_loss,
|
|
386
|
+
"data_integrity": "compromised" if data_loss else "intact",
|
|
387
|
+
"customer_communication_required": comm_required, "impact_severity": sev}
|
|
388
|
+
|
|
389
|
+
def executive_summary(self) -> str:
|
|
390
|
+
mttr = self.timeline.mttr
|
|
391
|
+
ci = self.customer_impact_summary()
|
|
392
|
+
mttr_str = f"{mttr:.0f} minutes" if mttr is not None else "unknown duration"
|
|
393
|
+
parts = [
|
|
394
|
+
f"On {self._fmt_date(self.timeline.issue_started)}, a {self.incident.severity} "
|
|
395
|
+
f"incident (\"{self.incident.title}\") impacted the {self.incident.service} service.",
|
|
396
|
+
f"The root cause was identified as: {self.resolution.get('root_cause', 'Unknown root cause')}.",
|
|
397
|
+
f"The incident was resolved in {mttr_str}, affecting approximately "
|
|
398
|
+
f"{ci['affected_users']:,} users with an estimated revenue impact of ${ci['revenue_impact_usd']:,.2f}.",
|
|
399
|
+
"Data loss was confirmed; affected customers must be notified." if ci["data_loss"]
|
|
400
|
+
else "No data loss occurred during this incident."]
|
|
401
|
+
return " ".join(parts)
|
|
402
|
+
|
|
403
|
+
@staticmethod
|
|
404
|
+
def _fmt_date(dt: Optional[datetime]) -> str:
|
|
405
|
+
return dt.strftime("%Y-%m-%d at %H:%M UTC") if dt else "an unknown date"
|
|
406
|
+
|
|
407
|
+
def overdue_p1_items(self) -> List[Dict[str, str]]:
|
|
408
|
+
return [{"title": a.title, "owner": a.owner, "deadline": a.deadline}
|
|
409
|
+
for a in self.action_items if a.priority in ("P0", "P1") and a.is_past_deadline]
|
|
410
|
+
|
|
411
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
412
|
+
return {
|
|
413
|
+
"version": VERSION, "incident": self.incident.to_dict(),
|
|
414
|
+
"executive_summary": self.executive_summary(),
|
|
415
|
+
"timeline_metrics": self.timeline.to_dict(),
|
|
416
|
+
"customer_impact": self.customer_impact_summary(),
|
|
417
|
+
"root_cause": self.resolution.get("root_cause", ""),
|
|
418
|
+
"contributing_factors": [f.to_dict() for f in self.contributing_factors],
|
|
419
|
+
"factor_distribution": self.factor_distribution,
|
|
420
|
+
"five_whys_analysis": [a.to_dict() for a in self.five_whys],
|
|
421
|
+
"theme_recommendations": self.theme_recommendations,
|
|
422
|
+
"mitigation_steps": self.resolution.get("mitigation_steps", []),
|
|
423
|
+
"permanent_fix": self.resolution.get("permanent_fix", ""),
|
|
424
|
+
"action_items": [a.to_dict() for a in self.action_items],
|
|
425
|
+
"action_item_coverage_gaps": self.coverage_gaps,
|
|
426
|
+
"suggested_actions": self.suggested_actions,
|
|
427
|
+
"overdue_p1_items": self.overdue_p1_items(),
|
|
428
|
+
"participants": self.participants}
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
# ---------- Core Analysis Helpers ----------
|
|
432
|
+
|
|
433
|
+
def _bar(pct: float, width: int = 30) -> str:
|
|
434
|
+
"""Render a text-based horizontal bar chart segment."""
|
|
435
|
+
filled = int(round(pct / 100 * width))
|
|
436
|
+
return "[" + "#" * filled + "." * (width - filled) + "]"
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
def _generate_lessons(report: PostmortemReport) -> List[str]:
|
|
440
|
+
"""Derive lessons learned from the analysis."""
|
|
441
|
+
lessons: List[str] = []
|
|
442
|
+
bench = BENCHMARKS.get(report.incident.severity, BENCHMARKS["SEV3"])
|
|
443
|
+
mttd = report.timeline.mttd
|
|
444
|
+
if mttd is not None and mttd > bench["mttd"]:
|
|
445
|
+
lessons.append(
|
|
446
|
+
f"Detection took {mttd:.0f} minutes, exceeding the {bench['mttd']}-minute "
|
|
447
|
+
f"benchmark for {report.incident.severity}. Invest in earlier detection mechanisms.")
|
|
448
|
+
dist = report.factor_distribution
|
|
449
|
+
dominant = max(dist, key=lambda k: dist[k])
|
|
450
|
+
if dist[dominant] >= 50:
|
|
451
|
+
lessons.append(
|
|
452
|
+
f"The '{dominant}' category accounts for {dist[dominant]:.0f}% of contributing factors. "
|
|
453
|
+
f"Targeted improvements in this area will yield the highest return.")
|
|
454
|
+
if report.coverage_gaps:
|
|
455
|
+
lessons.append(
|
|
456
|
+
f"There are {len(report.coverage_gaps)} action item coverage gap(s). "
|
|
457
|
+
"Ensure every contributing factor category has a corresponding remediation action.")
|
|
458
|
+
avg_q = (sum(a.quality_score for a in report.action_items) / len(report.action_items)
|
|
459
|
+
if report.action_items else 0)
|
|
460
|
+
if avg_q < 70:
|
|
461
|
+
lessons.append(
|
|
462
|
+
f"Average action item quality score is {avg_q:.0f}/100. "
|
|
463
|
+
"Make action items more specific with measurable targets and clear ownership.")
|
|
464
|
+
if report.timeline.postmortem_on_time is False:
|
|
465
|
+
h = report.timeline.postmortem_timeliness_hours
|
|
466
|
+
lessons.append(
|
|
467
|
+
f"Postmortem was held {h:.0f} hours after resolution, exceeding the "
|
|
468
|
+
f"{POSTMORTEM_TARGET_HOURS}-hour target. Schedule postmortems sooner to capture context.")
|
|
469
|
+
if not lessons:
|
|
470
|
+
lessons.append("This incident was handled within benchmarks. Continue reinforcing "
|
|
471
|
+
"current practices and share this postmortem for organizational learning.")
|
|
472
|
+
return lessons
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
# ---------- Output Formatters ----------
|
|
476
|
+
|
|
477
|
+
def format_text(report: PostmortemReport) -> str:
|
|
478
|
+
"""Format the postmortem as plain text."""
|
|
479
|
+
L: List[str] = []
|
|
480
|
+
W = 72
|
|
481
|
+
|
|
482
|
+
def h1(title: str) -> None:
|
|
483
|
+
L.append(""); L.append("=" * W); L.append(f" {title}"); L.append("=" * W)
|
|
484
|
+
|
|
485
|
+
def h2(title: str) -> None:
|
|
486
|
+
L.append(""); L.append(f"--- {title} ---")
|
|
487
|
+
|
|
488
|
+
inc = report.incident
|
|
489
|
+
h1(f"POSTMORTEM: {inc.title}")
|
|
490
|
+
L.append(f" ID: {inc.id} | Severity: {inc.severity} | Service: {inc.service}")
|
|
491
|
+
L.append(f" Commander: {inc.commander}")
|
|
492
|
+
if inc.affected_services:
|
|
493
|
+
L.append(f" Affected services: {', '.join(inc.affected_services)}")
|
|
494
|
+
# Executive Summary
|
|
495
|
+
h1("EXECUTIVE SUMMARY")
|
|
496
|
+
L.append("")
|
|
497
|
+
for sentence in report.executive_summary().split(". "):
|
|
498
|
+
s = sentence.strip()
|
|
499
|
+
if s and not s.endswith("."): s += "."
|
|
500
|
+
if s: L.append(f" {s}")
|
|
501
|
+
# Timeline Metrics
|
|
502
|
+
h1("TIMELINE METRICS")
|
|
503
|
+
tm = report.timeline
|
|
504
|
+
L.append("")
|
|
505
|
+
for label, val, unit in [("MTTD (Time to Detect)", tm.mttd, "min"),
|
|
506
|
+
("MTTR (Time to Resolve)", tm.mttr, "min"),
|
|
507
|
+
("Time to Mitigate", tm.time_to_mitigate, "min"),
|
|
508
|
+
("Time to Declare", tm.time_to_declare, "min"),
|
|
509
|
+
("Postmortem Timeliness", tm.postmortem_timeliness_hours, "hrs")]:
|
|
510
|
+
L.append(f" {label:<30s} {f'{val:.1f} {unit}' if val is not None else 'N/A'}")
|
|
511
|
+
h2("Benchmark Comparison")
|
|
512
|
+
for name, d in tm.benchmark_comparison().items():
|
|
513
|
+
if "actual_minutes" in d:
|
|
514
|
+
st = "PASS" if d["met_benchmark"] else "FAIL"
|
|
515
|
+
L.append(f" {name:<25s} actual={d['actual_minutes']}min benchmark={d['benchmark_minutes']}min [{st}]")
|
|
516
|
+
elif "actual_hours" in d:
|
|
517
|
+
st = "PASS" if d["met_target"] else "FAIL"
|
|
518
|
+
L.append(f" {name:<25s} actual={d['actual_hours']}hrs target={d['target_hours']}hrs [{st}]")
|
|
519
|
+
# Customer Impact
|
|
520
|
+
h1("CUSTOMER IMPACT")
|
|
521
|
+
ci = report.customer_impact_summary()
|
|
522
|
+
L.append("")
|
|
523
|
+
L.append(f" Affected users: {ci['affected_users']:,}")
|
|
524
|
+
L.append(f" Failed transactions: {ci['failed_transactions']:,}")
|
|
525
|
+
L.append(f" Revenue impact: ${ci['revenue_impact_usd']:,.2f}")
|
|
526
|
+
L.append(f" Data integrity: {ci['data_integrity']}")
|
|
527
|
+
L.append(f" Impact severity: {ci['impact_severity']}")
|
|
528
|
+
L.append(f" Comms required: {'Yes' if ci['customer_communication_required'] else 'No'}")
|
|
529
|
+
# Root Cause
|
|
530
|
+
h1("ROOT CAUSE ANALYSIS")
|
|
531
|
+
L.append("")
|
|
532
|
+
L.append(f" {report.resolution.get('root_cause', 'Unknown')}")
|
|
533
|
+
h2("Contributing Factors")
|
|
534
|
+
for f in report.contributing_factors:
|
|
535
|
+
L.append(f" [{f.category.upper():<12s} w={f.weight:.2f}] {f.description}")
|
|
536
|
+
h2("Factor Distribution")
|
|
537
|
+
for cat, pct in sorted(report.factor_distribution.items(), key=lambda x: -x[1]):
|
|
538
|
+
if pct > 0:
|
|
539
|
+
L.append(f" {cat:<14s} {pct:5.1f}% {_bar(pct)}")
|
|
540
|
+
# 5-Whys
|
|
541
|
+
h1("5-WHYS ANALYSIS")
|
|
542
|
+
for analysis in report.five_whys:
|
|
543
|
+
L.append("")
|
|
544
|
+
L.append(f" Factor: {analysis.factor.description}")
|
|
545
|
+
L.append(f" Theme: {analysis.systemic_theme}")
|
|
546
|
+
for i, step in enumerate(analysis.chain):
|
|
547
|
+
L.append(f" {i}. {step}")
|
|
548
|
+
h2("Theme-Based Recommendations")
|
|
549
|
+
for theme, recs in report.theme_recommendations.items():
|
|
550
|
+
L.append(f" [{theme.upper()}]")
|
|
551
|
+
for rec in recs:
|
|
552
|
+
L.append(f" - {rec}")
|
|
553
|
+
# Mitigation & Fix
|
|
554
|
+
h1("MITIGATION AND RESOLUTION")
|
|
555
|
+
h2("Mitigation Steps Taken")
|
|
556
|
+
for step in report.resolution.get("mitigation_steps", []):
|
|
557
|
+
L.append(f" - {step}")
|
|
558
|
+
h2("Permanent Fix")
|
|
559
|
+
L.append(f" {report.resolution.get('permanent_fix', 'TBD')}")
|
|
560
|
+
# Action Items
|
|
561
|
+
h1("ACTION ITEMS")
|
|
562
|
+
L.append("")
|
|
563
|
+
hdr = f" {'Priority':<10s} {'Type':<14s} {'Owner':<25s} {'Deadline':<12s} {'Quality':<8s} Title"
|
|
564
|
+
L.append(hdr)
|
|
565
|
+
L.append(" " + "-" * (len(hdr) - 2))
|
|
566
|
+
for a in sorted(report.action_items, key=lambda x: PRIORITY_ORDER.get(x.priority, 99)):
|
|
567
|
+
flag = " *OVERDUE*" if a.is_past_deadline else ""
|
|
568
|
+
L.append(f" {a.priority:<10s} {a.type:<14s} {a.owner:<25s} {a.deadline:<12s} "
|
|
569
|
+
f"{a.quality_score:<8d} {a.title}{flag}")
|
|
570
|
+
if report.coverage_gaps:
|
|
571
|
+
h2("Coverage Gaps")
|
|
572
|
+
for gap in report.coverage_gaps:
|
|
573
|
+
L.append(f" WARNING: {gap}")
|
|
574
|
+
if report.suggested_actions:
|
|
575
|
+
h2("Suggested Additional Actions")
|
|
576
|
+
for s in report.suggested_actions:
|
|
577
|
+
L.append(f" [{s['type'].upper()}] {s['suggestion']}")
|
|
578
|
+
L.append(f" Reason: {s['reason']}")
|
|
579
|
+
overdue = report.overdue_p1_items()
|
|
580
|
+
if overdue:
|
|
581
|
+
h2("Overdue P0/P1 Items")
|
|
582
|
+
for item in overdue:
|
|
583
|
+
L.append(f" OVERDUE: {item['title']} (owner: {item['owner']}, deadline: {item['deadline']})")
|
|
584
|
+
# Participants
|
|
585
|
+
h1("PARTICIPANTS")
|
|
586
|
+
L.append("")
|
|
587
|
+
for p in report.participants:
|
|
588
|
+
L.append(f" {p.get('name', 'Unknown'):<25s} {p.get('role', '')}")
|
|
589
|
+
# Lessons Learned
|
|
590
|
+
h1("LESSONS LEARNED")
|
|
591
|
+
L.append("")
|
|
592
|
+
for i, lesson in enumerate(_generate_lessons(report), 1):
|
|
593
|
+
L.append(f" {i}. {lesson}")
|
|
594
|
+
L.append("")
|
|
595
|
+
L.append("=" * W)
|
|
596
|
+
L.append(f" Generated by postmortem_generator v{VERSION}")
|
|
597
|
+
L.append("=" * W)
|
|
598
|
+
L.append("")
|
|
599
|
+
return "\n".join(L)
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
def format_json(report: PostmortemReport) -> str:
|
|
603
|
+
"""Format the postmortem as JSON."""
|
|
604
|
+
data = report.to_dict()
|
|
605
|
+
data["lessons_learned"] = _generate_lessons(report)
|
|
606
|
+
return json.dumps(data, indent=2, default=str)
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
def format_markdown(report: PostmortemReport) -> str:
|
|
610
|
+
"""Format the postmortem as a Markdown document."""
|
|
611
|
+
L: List[str] = []
|
|
612
|
+
inc = report.incident
|
|
613
|
+
L.append(f"# Postmortem: {inc.title}")
|
|
614
|
+
L.append("")
|
|
615
|
+
L.append("| Field | Value |")
|
|
616
|
+
L.append("|-------|-------|")
|
|
617
|
+
L.append(f"| **ID** | {inc.id} |")
|
|
618
|
+
L.append(f"| **Severity** | {inc.severity} |")
|
|
619
|
+
L.append(f"| **Service** | {inc.service} |")
|
|
620
|
+
L.append(f"| **Commander** | {inc.commander} |")
|
|
621
|
+
if inc.affected_services:
|
|
622
|
+
L.append(f"| **Affected Services** | {', '.join(inc.affected_services)} |")
|
|
623
|
+
L.append("")
|
|
624
|
+
# Executive Summary
|
|
625
|
+
L.append("## Executive Summary\n")
|
|
626
|
+
L.append(report.executive_summary())
|
|
627
|
+
L.append("")
|
|
628
|
+
# Timeline Metrics
|
|
629
|
+
L.append("## Timeline Metrics\n")
|
|
630
|
+
L.append("| Metric | Value | Benchmark | Status |")
|
|
631
|
+
L.append("|--------|-------|-----------|--------|")
|
|
632
|
+
labels = {"mttd": "MTTD (Time to Detect)", "mttr": "MTTR (Time to Resolve)",
|
|
633
|
+
"time_to_mitigate": "Time to Mitigate", "time_to_declare": "Time to Declare",
|
|
634
|
+
"postmortem_timeliness": "Postmortem Timeliness"}
|
|
635
|
+
for key, label in labels.items():
|
|
636
|
+
b = report.timeline.benchmark_comparison().get(key)
|
|
637
|
+
if b and "actual_minutes" in b:
|
|
638
|
+
st = "PASS" if b["met_benchmark"] else "FAIL"
|
|
639
|
+
L.append(f"| {label} | {b['actual_minutes']} min | {b['benchmark_minutes']} min | {st} |")
|
|
640
|
+
elif b and "actual_hours" in b:
|
|
641
|
+
st = "PASS" if b["met_target"] else "FAIL"
|
|
642
|
+
L.append(f"| {label} | {b['actual_hours']} hrs | {b['target_hours']} hrs | {st} |")
|
|
643
|
+
L.append("")
|
|
644
|
+
# Customer Impact
|
|
645
|
+
L.append("## Customer Impact\n")
|
|
646
|
+
ci = report.customer_impact_summary()
|
|
647
|
+
L.append(f"- **Affected users:** {ci['affected_users']:,}")
|
|
648
|
+
L.append(f"- **Failed transactions:** {ci['failed_transactions']:,}")
|
|
649
|
+
L.append(f"- **Revenue impact:** ${ci['revenue_impact_usd']:,.2f}")
|
|
650
|
+
L.append(f"- **Data integrity:** {ci['data_integrity']}")
|
|
651
|
+
L.append(f"- **Impact severity:** {ci['impact_severity']}")
|
|
652
|
+
L.append(f"- **Customer communication required:** {'Yes' if ci['customer_communication_required'] else 'No'}")
|
|
653
|
+
L.append("")
|
|
654
|
+
# Root Cause Analysis
|
|
655
|
+
L.append("## Root Cause Analysis\n")
|
|
656
|
+
L.append(f"**Root cause:** {report.resolution.get('root_cause', 'Unknown')}")
|
|
657
|
+
L.append("")
|
|
658
|
+
L.append("### Contributing Factors\n")
|
|
659
|
+
L.append("| # | Category | Weight | Description |")
|
|
660
|
+
L.append("|---|----------|--------|-------------|")
|
|
661
|
+
for i, f in enumerate(report.contributing_factors, 1):
|
|
662
|
+
L.append(f"| {i} | {f.category} | {f.weight:.2f} | {f.description} |")
|
|
663
|
+
L.append("")
|
|
664
|
+
L.append("### Factor Distribution\n")
|
|
665
|
+
L.append("```")
|
|
666
|
+
for cat, pct in sorted(report.factor_distribution.items(), key=lambda x: -x[1]):
|
|
667
|
+
if pct > 0:
|
|
668
|
+
L.append(f" {cat:<14s} {pct:5.1f}% {_bar(pct, 25)}")
|
|
669
|
+
L.append("```")
|
|
670
|
+
L.append("")
|
|
671
|
+
# 5-Whys
|
|
672
|
+
L.append("## 5-Whys Analysis\n")
|
|
673
|
+
for analysis in report.five_whys:
|
|
674
|
+
L.append(f"### Factor: {analysis.factor.description}")
|
|
675
|
+
L.append(f"**Systemic theme:** {analysis.systemic_theme}\n")
|
|
676
|
+
for i, step in enumerate(analysis.chain):
|
|
677
|
+
L.append(f"{i}. {step}")
|
|
678
|
+
L.append("")
|
|
679
|
+
L.append("### Theme-Based Recommendations\n")
|
|
680
|
+
for theme, recs in report.theme_recommendations.items():
|
|
681
|
+
L.append(f"**{theme.capitalize()}:**")
|
|
682
|
+
for rec in recs:
|
|
683
|
+
L.append(f"- {rec}")
|
|
684
|
+
L.append("")
|
|
685
|
+
# Mitigation
|
|
686
|
+
L.append("## Mitigation and Resolution\n")
|
|
687
|
+
L.append("### Mitigation Steps Taken\n")
|
|
688
|
+
for step in report.resolution.get("mitigation_steps", []):
|
|
689
|
+
L.append(f"- {step}")
|
|
690
|
+
L.append("")
|
|
691
|
+
L.append("### Permanent Fix\n")
|
|
692
|
+
L.append(report.resolution.get("permanent_fix", "TBD"))
|
|
693
|
+
L.append("")
|
|
694
|
+
# Action Items
|
|
695
|
+
L.append("## Action Items\n")
|
|
696
|
+
L.append("| Priority | Type | Owner | Deadline | Quality | Title |")
|
|
697
|
+
L.append("|----------|------|-------|----------|---------|-------|")
|
|
698
|
+
for a in sorted(report.action_items, key=lambda x: PRIORITY_ORDER.get(x.priority, 99)):
|
|
699
|
+
flag = " **OVERDUE**" if a.is_past_deadline else ""
|
|
700
|
+
L.append(f"| {a.priority} | {a.type} | {a.owner} | {a.deadline} | {a.quality_score}/100 | {a.title}{flag} |")
|
|
701
|
+
L.append("")
|
|
702
|
+
if report.coverage_gaps:
|
|
703
|
+
L.append("### Coverage Gaps\n")
|
|
704
|
+
for gap in report.coverage_gaps:
|
|
705
|
+
L.append(f"> **WARNING:** {gap}")
|
|
706
|
+
L.append("")
|
|
707
|
+
if report.suggested_actions:
|
|
708
|
+
L.append("### Suggested Additional Actions\n")
|
|
709
|
+
for s in report.suggested_actions:
|
|
710
|
+
L.append(f"- **[{s['type'].upper()}]** {s['suggestion']}")
|
|
711
|
+
L.append(f" - _Reason: {s['reason']}_")
|
|
712
|
+
L.append("")
|
|
713
|
+
overdue = report.overdue_p1_items()
|
|
714
|
+
if overdue:
|
|
715
|
+
L.append("### Overdue P0/P1 Items\n")
|
|
716
|
+
for item in overdue:
|
|
717
|
+
L.append(f"- **{item['title']}** (owner: {item['owner']}, deadline: {item['deadline']})")
|
|
718
|
+
L.append("")
|
|
719
|
+
# Participants
|
|
720
|
+
L.append("## Participants\n")
|
|
721
|
+
L.append("| Name | Role |")
|
|
722
|
+
L.append("|------|------|")
|
|
723
|
+
for p in report.participants:
|
|
724
|
+
L.append(f"| {p.get('name', 'Unknown')} | {p.get('role', '')} |")
|
|
725
|
+
L.append("")
|
|
726
|
+
# Lessons Learned
|
|
727
|
+
L.append("## Lessons Learned\n")
|
|
728
|
+
for i, lesson in enumerate(_generate_lessons(report), 1):
|
|
729
|
+
L.append(f"{i}. {lesson}")
|
|
730
|
+
L.append("")
|
|
731
|
+
L.append("---")
|
|
732
|
+
L.append(f"_Generated by postmortem_generator v{VERSION}_")
|
|
733
|
+
L.append("")
|
|
734
|
+
return "\n".join(L)
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
# ---------- Input Loading ----------
|
|
738
|
+
|
|
739
|
+
def load_input(filepath: Optional[str]) -> Dict[str, Any]:
|
|
740
|
+
"""Load incident data from a file path or stdin."""
|
|
741
|
+
if filepath:
|
|
742
|
+
try:
|
|
743
|
+
with open(filepath, "r", encoding="utf-8") as fh:
|
|
744
|
+
return json.load(fh)
|
|
745
|
+
except FileNotFoundError:
|
|
746
|
+
print(f"Error: File not found: {filepath}", file=sys.stderr)
|
|
747
|
+
sys.exit(1)
|
|
748
|
+
except json.JSONDecodeError as exc:
|
|
749
|
+
print(f"Error: Invalid JSON in {filepath}: {exc}", file=sys.stderr)
|
|
750
|
+
sys.exit(1)
|
|
751
|
+
else:
|
|
752
|
+
if sys.stdin.isatty():
|
|
753
|
+
print("Error: No input file specified and no data on stdin.", file=sys.stderr)
|
|
754
|
+
print("Usage: postmortem_generator.py [data_file] or pipe JSON via stdin.", file=sys.stderr)
|
|
755
|
+
sys.exit(1)
|
|
756
|
+
try:
|
|
757
|
+
return json.load(sys.stdin)
|
|
758
|
+
except json.JSONDecodeError as exc:
|
|
759
|
+
print(f"Error: Invalid JSON on stdin: {exc}", file=sys.stderr)
|
|
760
|
+
sys.exit(1)
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
def validate_input(data: Dict[str, Any]) -> List[str]:
|
|
764
|
+
"""Return a list of validation warnings (non-fatal)."""
|
|
765
|
+
warnings: List[str] = []
|
|
766
|
+
for key in ("incident", "timeline", "resolution", "action_items"):
|
|
767
|
+
if key not in data:
|
|
768
|
+
warnings.append(f"Missing '{key}' section")
|
|
769
|
+
for ts in ("issue_started", "detected_at", "mitigated_at", "resolved_at"):
|
|
770
|
+
if ts not in data.get("timeline", {}):
|
|
771
|
+
warnings.append(f"Missing timeline field: {ts}")
|
|
772
|
+
res = data.get("resolution", {})
|
|
773
|
+
if "root_cause" not in res:
|
|
774
|
+
warnings.append("Missing 'root_cause' in resolution")
|
|
775
|
+
if not res.get("contributing_factors"):
|
|
776
|
+
warnings.append("No contributing factors provided")
|
|
777
|
+
return warnings
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
# ---------- CLI Entry Point ----------
|
|
781
|
+
|
|
782
|
+
def main() -> None:
|
|
783
|
+
"""CLI entry point for postmortem generation."""
|
|
784
|
+
parser = argparse.ArgumentParser(
|
|
785
|
+
description="Generate structured postmortem reports with 5-Whys analysis.",
|
|
786
|
+
epilog="Reads JSON from a file or stdin. Outputs text, JSON, or markdown.")
|
|
787
|
+
parser.add_argument("data_file", nargs="?", default=None,
|
|
788
|
+
help="JSON file with incident + resolution data (reads stdin if omitted)")
|
|
789
|
+
parser.add_argument("--format", choices=["text", "json", "markdown"], default="text",
|
|
790
|
+
dest="output_format", help="Output format (default: text)")
|
|
791
|
+
args = parser.parse_args()
|
|
792
|
+
|
|
793
|
+
data = load_input(args.data_file)
|
|
794
|
+
warnings = validate_input(data)
|
|
795
|
+
for w in warnings:
|
|
796
|
+
print(f"Warning: {w}", file=sys.stderr)
|
|
797
|
+
|
|
798
|
+
report = PostmortemReport(data)
|
|
799
|
+
formatters = {"text": format_text, "json": format_json, "markdown": format_markdown}
|
|
800
|
+
print(formatters[args.output_format](report))
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
if __name__ == "__main__":
|
|
804
|
+
main()
|