ac-framework 1.2.0 → 1.3.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/LICENSE +8 -4
- package/bin/postinstall.js +23 -0
- package/framework/.agent/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.agent/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.agent/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.agent/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.agent/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.agent/skills/brainstorming/SKILL.md +54 -0
- package/framework/.agent/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.agent/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.agent/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.agent/skills/interface-design/SKILL.md +310 -0
- package/framework/.agent/skills/interface-design/references/example.md +86 -0
- package/framework/.agent/skills/interface-design/references/principles.md +235 -0
- package/framework/.agent/skills/interface-design/references/validation.md +48 -0
- package/framework/.agent/skills/project-index/SKILL.md +234 -0
- package/framework/.agent/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.agent/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.agent/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.agent/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.agent/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.agent/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.agent/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.agent/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.agent/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.amazonq/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.amazonq/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.amazonq/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.amazonq/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.amazonq/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.amazonq/skills/brainstorming/SKILL.md +54 -0
- package/framework/.amazonq/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.amazonq/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.amazonq/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.amazonq/skills/interface-design/SKILL.md +310 -0
- package/framework/.amazonq/skills/interface-design/references/example.md +86 -0
- package/framework/.amazonq/skills/interface-design/references/principles.md +235 -0
- package/framework/.amazonq/skills/interface-design/references/validation.md +48 -0
- package/framework/.amazonq/skills/project-index/SKILL.md +234 -0
- package/framework/.amazonq/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.amazonq/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.amazonq/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.amazonq/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.amazonq/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.amazonq/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.amazonq/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.amazonq/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.amazonq/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.augment/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.augment/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.augment/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.augment/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.augment/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.augment/skills/brainstorming/SKILL.md +54 -0
- package/framework/.augment/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.augment/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.augment/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.augment/skills/interface-design/SKILL.md +310 -0
- package/framework/.augment/skills/interface-design/references/example.md +86 -0
- package/framework/.augment/skills/interface-design/references/principles.md +235 -0
- package/framework/.augment/skills/interface-design/references/validation.md +48 -0
- package/framework/.augment/skills/project-index/SKILL.md +234 -0
- package/framework/.augment/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.augment/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.augment/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.augment/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.augment/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.augment/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.augment/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.augment/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.augment/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.claude/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.claude/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.claude/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.claude/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.claude/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.claude/skills/brainstorming/SKILL.md +54 -0
- package/framework/.claude/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.claude/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.claude/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.claude/skills/interface-design/SKILL.md +310 -0
- package/framework/.claude/skills/interface-design/references/example.md +86 -0
- package/framework/.claude/skills/interface-design/references/principles.md +235 -0
- package/framework/.claude/skills/interface-design/references/validation.md +48 -0
- package/framework/.claude/skills/project-index/SKILL.md +234 -0
- package/framework/.claude/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.claude/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.claude/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.claude/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.claude/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.claude/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.claude/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.claude/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.claude/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.cline/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.cline/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.cline/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.cline/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.cline/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.cline/skills/brainstorming/SKILL.md +54 -0
- package/framework/.cline/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.cline/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.cline/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.cline/skills/interface-design/SKILL.md +310 -0
- package/framework/.cline/skills/interface-design/references/example.md +86 -0
- package/framework/.cline/skills/interface-design/references/principles.md +235 -0
- package/framework/.cline/skills/interface-design/references/validation.md +48 -0
- package/framework/.cline/skills/project-index/SKILL.md +234 -0
- package/framework/.cline/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.cline/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.cline/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.cline/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.cline/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.cline/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.cline/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.cline/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.cline/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.codebuddy/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.codebuddy/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.codebuddy/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.codebuddy/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.codebuddy/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.codebuddy/skills/brainstorming/SKILL.md +54 -0
- package/framework/.codebuddy/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.codebuddy/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.codebuddy/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.codebuddy/skills/interface-design/SKILL.md +310 -0
- package/framework/.codebuddy/skills/interface-design/references/example.md +86 -0
- package/framework/.codebuddy/skills/interface-design/references/principles.md +235 -0
- package/framework/.codebuddy/skills/interface-design/references/validation.md +48 -0
- package/framework/.codebuddy/skills/project-index/SKILL.md +234 -0
- package/framework/.codebuddy/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.codebuddy/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.codebuddy/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.codebuddy/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.codebuddy/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.codebuddy/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.codebuddy/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.codebuddy/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.codebuddy/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.codex/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.codex/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.codex/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.codex/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.codex/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.codex/skills/brainstorming/SKILL.md +54 -0
- package/framework/.codex/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.codex/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.codex/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.codex/skills/interface-design/SKILL.md +310 -0
- package/framework/.codex/skills/interface-design/references/example.md +86 -0
- package/framework/.codex/skills/interface-design/references/principles.md +235 -0
- package/framework/.codex/skills/interface-design/references/validation.md +48 -0
- package/framework/.codex/skills/project-index/SKILL.md +234 -0
- package/framework/.codex/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.codex/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.codex/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.codex/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.codex/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.codex/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.codex/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.codex/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.codex/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.continue/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.continue/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.continue/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.continue/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.continue/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.continue/skills/brainstorming/SKILL.md +54 -0
- package/framework/.continue/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.continue/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.continue/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.continue/skills/interface-design/SKILL.md +310 -0
- package/framework/.continue/skills/interface-design/references/example.md +86 -0
- package/framework/.continue/skills/interface-design/references/principles.md +235 -0
- package/framework/.continue/skills/interface-design/references/validation.md +48 -0
- package/framework/.continue/skills/project-index/SKILL.md +234 -0
- package/framework/.continue/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.continue/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.continue/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.continue/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.continue/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.continue/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.continue/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.continue/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.continue/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.cospec/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.cospec/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.cospec/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.cospec/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.cospec/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.cospec/skills/brainstorming/SKILL.md +54 -0
- package/framework/.cospec/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.cospec/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.cospec/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.cospec/skills/interface-design/SKILL.md +310 -0
- package/framework/.cospec/skills/interface-design/references/example.md +86 -0
- package/framework/.cospec/skills/interface-design/references/principles.md +235 -0
- package/framework/.cospec/skills/interface-design/references/validation.md +48 -0
- package/framework/.cospec/skills/project-index/SKILL.md +234 -0
- package/framework/.cospec/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.cospec/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.cospec/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.cospec/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.cospec/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.cospec/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.cospec/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.cospec/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.cospec/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.crush/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.crush/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.crush/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.crush/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.crush/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.crush/skills/brainstorming/SKILL.md +54 -0
- package/framework/.crush/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.crush/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.crush/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.crush/skills/interface-design/SKILL.md +310 -0
- package/framework/.crush/skills/interface-design/references/example.md +86 -0
- package/framework/.crush/skills/interface-design/references/principles.md +235 -0
- package/framework/.crush/skills/interface-design/references/validation.md +48 -0
- package/framework/.crush/skills/project-index/SKILL.md +234 -0
- package/framework/.crush/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.crush/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.crush/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.crush/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.crush/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.crush/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.crush/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.crush/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.crush/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.cursor/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.cursor/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.cursor/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.cursor/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.cursor/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.cursor/skills/brainstorming/SKILL.md +54 -0
- package/framework/.cursor/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.cursor/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.cursor/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.cursor/skills/interface-design/SKILL.md +310 -0
- package/framework/.cursor/skills/interface-design/references/example.md +86 -0
- package/framework/.cursor/skills/interface-design/references/principles.md +235 -0
- package/framework/.cursor/skills/interface-design/references/validation.md +48 -0
- package/framework/.cursor/skills/project-index/SKILL.md +234 -0
- package/framework/.cursor/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.cursor/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.cursor/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.cursor/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.cursor/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.cursor/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.cursor/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.cursor/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.cursor/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.factory/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.factory/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.factory/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.factory/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.factory/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.factory/skills/brainstorming/SKILL.md +54 -0
- package/framework/.factory/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.factory/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.factory/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.factory/skills/interface-design/SKILL.md +310 -0
- package/framework/.factory/skills/interface-design/references/example.md +86 -0
- package/framework/.factory/skills/interface-design/references/principles.md +235 -0
- package/framework/.factory/skills/interface-design/references/validation.md +48 -0
- package/framework/.factory/skills/project-index/SKILL.md +234 -0
- package/framework/.factory/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.factory/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.factory/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.factory/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.factory/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.factory/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.factory/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.factory/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.factory/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.gemini/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.gemini/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.gemini/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.gemini/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.gemini/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.gemini/skills/brainstorming/SKILL.md +54 -0
- package/framework/.gemini/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.gemini/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.gemini/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.gemini/skills/interface-design/SKILL.md +310 -0
- package/framework/.gemini/skills/interface-design/references/example.md +86 -0
- package/framework/.gemini/skills/interface-design/references/principles.md +235 -0
- package/framework/.gemini/skills/interface-design/references/validation.md +48 -0
- package/framework/.gemini/skills/project-index/SKILL.md +234 -0
- package/framework/.gemini/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.gemini/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.gemini/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.gemini/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.gemini/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.gemini/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.gemini/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.gemini/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.gemini/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.github/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.github/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.github/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.github/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.github/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.github/skills/brainstorming/SKILL.md +54 -0
- package/framework/.github/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.github/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.github/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.github/skills/interface-design/SKILL.md +310 -0
- package/framework/.github/skills/interface-design/references/example.md +86 -0
- package/framework/.github/skills/interface-design/references/principles.md +235 -0
- package/framework/.github/skills/interface-design/references/validation.md +48 -0
- package/framework/.github/skills/project-index/SKILL.md +234 -0
- package/framework/.github/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.github/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.github/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.github/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.github/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.github/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.github/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.github/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.github/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.iflow/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.iflow/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.iflow/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.iflow/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.iflow/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.iflow/skills/brainstorming/SKILL.md +54 -0
- package/framework/.iflow/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.iflow/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.iflow/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.iflow/skills/interface-design/SKILL.md +310 -0
- package/framework/.iflow/skills/interface-design/references/example.md +86 -0
- package/framework/.iflow/skills/interface-design/references/principles.md +235 -0
- package/framework/.iflow/skills/interface-design/references/validation.md +48 -0
- package/framework/.iflow/skills/project-index/SKILL.md +234 -0
- package/framework/.iflow/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.iflow/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.iflow/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.iflow/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.iflow/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.iflow/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.iflow/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.iflow/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.iflow/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.kilocode/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.kilocode/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.kilocode/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.kilocode/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.kilocode/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.kilocode/skills/brainstorming/SKILL.md +54 -0
- package/framework/.kilocode/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.kilocode/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.kilocode/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.kilocode/skills/interface-design/SKILL.md +310 -0
- package/framework/.kilocode/skills/interface-design/references/example.md +86 -0
- package/framework/.kilocode/skills/interface-design/references/principles.md +235 -0
- package/framework/.kilocode/skills/interface-design/references/validation.md +48 -0
- package/framework/.kilocode/skills/project-index/SKILL.md +234 -0
- package/framework/.kilocode/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.kilocode/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.kilocode/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.kilocode/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.kilocode/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.kilocode/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.kilocode/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.kilocode/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.kilocode/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.opencode/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.opencode/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.opencode/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.opencode/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.opencode/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.opencode/skills/brainstorming/SKILL.md +54 -0
- package/framework/.opencode/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.opencode/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.opencode/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.opencode/skills/interface-design/SKILL.md +310 -0
- package/framework/.opencode/skills/interface-design/references/example.md +86 -0
- package/framework/.opencode/skills/interface-design/references/principles.md +235 -0
- package/framework/.opencode/skills/interface-design/references/validation.md +48 -0
- package/framework/.opencode/skills/project-index/SKILL.md +234 -0
- package/framework/.opencode/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.opencode/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.opencode/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.opencode/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.opencode/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.opencode/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.opencode/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.opencode/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.opencode/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.qoder/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.qoder/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.qoder/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.qoder/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.qoder/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.qoder/skills/brainstorming/SKILL.md +54 -0
- package/framework/.qoder/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.qoder/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.qoder/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.qoder/skills/interface-design/SKILL.md +310 -0
- package/framework/.qoder/skills/interface-design/references/example.md +86 -0
- package/framework/.qoder/skills/interface-design/references/principles.md +235 -0
- package/framework/.qoder/skills/interface-design/references/validation.md +48 -0
- package/framework/.qoder/skills/project-index/SKILL.md +234 -0
- package/framework/.qoder/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.qoder/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.qoder/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.qoder/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.qoder/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.qoder/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.qoder/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.qoder/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.qoder/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.qwen/commands/{opsx-apply.toml → opsx-apply.md} +4 -3
- package/framework/.qwen/commands/{opsx-archive.toml → opsx-archive.md} +4 -3
- package/framework/.qwen/commands/{opsx-bulk-archive.toml → opsx-bulk-archive.md} +4 -3
- package/framework/.qwen/commands/{opsx-continue.toml → opsx-continue.md} +4 -3
- package/framework/.qwen/commands/{opsx-explore.toml → opsx-explore.md} +4 -3
- package/framework/.qwen/commands/{opsx-ff.toml → opsx-ff.md} +4 -3
- package/framework/.qwen/commands/{opsx-new.toml → opsx-new.md} +4 -3
- package/framework/.qwen/commands/{opsx-onboard.toml → opsx-onboard.md} +4 -3
- package/framework/.qwen/commands/{opsx-sync.toml → opsx-sync.md} +4 -3
- package/framework/.qwen/commands/{opsx-verify.toml → opsx-verify.md} +4 -3
- package/framework/.qwen/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.qwen/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.qwen/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.qwen/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.qwen/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.qwen/skills/brainstorming/SKILL.md +54 -0
- package/framework/.qwen/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.qwen/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.qwen/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.qwen/skills/interface-design/SKILL.md +310 -0
- package/framework/.qwen/skills/interface-design/references/example.md +86 -0
- package/framework/.qwen/skills/interface-design/references/principles.md +235 -0
- package/framework/.qwen/skills/interface-design/references/validation.md +48 -0
- package/framework/.qwen/skills/project-index/SKILL.md +234 -0
- package/framework/.qwen/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.qwen/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.qwen/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.qwen/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.qwen/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.qwen/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.qwen/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.qwen/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.qwen/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.roo/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.roo/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.roo/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.roo/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.roo/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.roo/skills/brainstorming/SKILL.md +54 -0
- package/framework/.roo/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.roo/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.roo/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.roo/skills/interface-design/SKILL.md +310 -0
- package/framework/.roo/skills/interface-design/references/example.md +86 -0
- package/framework/.roo/skills/interface-design/references/principles.md +235 -0
- package/framework/.roo/skills/interface-design/references/validation.md +48 -0
- package/framework/.roo/skills/project-index/SKILL.md +234 -0
- package/framework/.roo/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.roo/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.roo/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.roo/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.roo/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.roo/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.roo/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.roo/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.roo/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.trae/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.trae/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.trae/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.trae/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.trae/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.trae/skills/brainstorming/SKILL.md +54 -0
- package/framework/.trae/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.trae/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.trae/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.trae/skills/interface-design/SKILL.md +310 -0
- package/framework/.trae/skills/interface-design/references/example.md +86 -0
- package/framework/.trae/skills/interface-design/references/principles.md +235 -0
- package/framework/.trae/skills/interface-design/references/validation.md +48 -0
- package/framework/.trae/skills/project-index/SKILL.md +234 -0
- package/framework/.trae/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.trae/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.trae/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.trae/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.trae/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.trae/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.trae/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.trae/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.trae/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/.windsurf/skills/api-design-principles/SKILL.md +528 -0
- package/framework/.windsurf/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/framework/.windsurf/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/framework/.windsurf/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/framework/.windsurf/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/framework/.windsurf/skills/brainstorming/SKILL.md +54 -0
- package/framework/.windsurf/skills/changelog-generator/SKILL.md +104 -0
- package/framework/.windsurf/skills/code-maintainability/SKILL.md +1108 -0
- package/framework/.windsurf/skills/error-handling-patterns/SKILL.md +641 -0
- package/framework/.windsurf/skills/interface-design/SKILL.md +310 -0
- package/framework/.windsurf/skills/interface-design/references/example.md +86 -0
- package/framework/.windsurf/skills/interface-design/references/principles.md +235 -0
- package/framework/.windsurf/skills/interface-design/references/validation.md +48 -0
- package/framework/.windsurf/skills/project-index/SKILL.md +234 -0
- package/framework/.windsurf/skills/project-index/scripts/scan_codebase.py +47 -0
- package/framework/.windsurf/skills/project-index/templates/agent-template.md +18 -0
- package/framework/.windsurf/skills/project-index/templates/skill-template.md +20 -0
- package/framework/.windsurf/skills/secure-coding-cybersecurity/SKILL.md +793 -0
- package/framework/.windsurf/skills/secure-coding-cybersecurity/references/ai_coding_pitfalls.md +44 -0
- package/framework/.windsurf/skills/secure-coding-cybersecurity/references/owasp_top_10_2025.md +28 -0
- package/framework/.windsurf/skills/secure-coding-cybersecurity/references/secure_coding_examples.md +102 -0
- package/framework/.windsurf/skills/secure-coding-cybersecurity/scripts/security_audit.py +46 -0
- package/framework/.windsurf/skills/systematic-debugging/SKILL.md +296 -0
- package/framework/AGENTS.md +464 -0
- package/framework/CLAUDE.md +464 -0
- package/framework/GEMINI.md +464 -0
- package/framework/QWEN.md +464 -0
- package/framework/copilot-instructions.md +464 -0
- package/package.json +3 -2
- package/src/commands/init.js +2 -1
- package/src/ui/animations.js +36 -11
- package/src/ui/banner.js +6 -6
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
# REST API Best Practices
|
|
2
|
+
|
|
3
|
+
## URL Structure
|
|
4
|
+
|
|
5
|
+
### Resource Naming
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
# Good - Plural nouns
|
|
9
|
+
GET /api/users
|
|
10
|
+
GET /api/orders
|
|
11
|
+
GET /api/products
|
|
12
|
+
|
|
13
|
+
# Bad - Verbs or mixed conventions
|
|
14
|
+
GET /api/getUser
|
|
15
|
+
GET /api/user (inconsistent singular)
|
|
16
|
+
POST /api/createOrder
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Nested Resources
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
# Shallow nesting (preferred)
|
|
23
|
+
GET /api/users/{id}/orders
|
|
24
|
+
GET /api/orders/{id}
|
|
25
|
+
|
|
26
|
+
# Deep nesting (avoid)
|
|
27
|
+
GET /api/users/{id}/orders/{orderId}/items/{itemId}/reviews
|
|
28
|
+
# Better:
|
|
29
|
+
GET /api/order-items/{id}/reviews
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## HTTP Methods and Status Codes
|
|
33
|
+
|
|
34
|
+
### GET - Retrieve Resources
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
GET /api/users → 200 OK (with list)
|
|
38
|
+
GET /api/users/{id} → 200 OK or 404 Not Found
|
|
39
|
+
GET /api/users?page=2 → 200 OK (paginated)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### POST - Create Resources
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
POST /api/users
|
|
46
|
+
Body: {"name": "John", "email": "john@example.com"}
|
|
47
|
+
→ 201 Created
|
|
48
|
+
Location: /api/users/123
|
|
49
|
+
Body: {"id": "123", "name": "John", ...}
|
|
50
|
+
|
|
51
|
+
POST /api/users (validation error)
|
|
52
|
+
→ 422 Unprocessable Entity
|
|
53
|
+
Body: {"errors": [...]}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### PUT - Replace Resources
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
PUT /api/users/{id}
|
|
60
|
+
Body: {complete user object}
|
|
61
|
+
→ 200 OK (updated)
|
|
62
|
+
→ 404 Not Found (doesn't exist)
|
|
63
|
+
|
|
64
|
+
# Must include ALL fields
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### PATCH - Partial Update
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
PATCH /api/users/{id}
|
|
71
|
+
Body: {"name": "Jane"} (only changed fields)
|
|
72
|
+
→ 200 OK
|
|
73
|
+
→ 404 Not Found
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### DELETE - Remove Resources
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
DELETE /api/users/{id}
|
|
80
|
+
→ 204 No Content (deleted)
|
|
81
|
+
→ 404 Not Found
|
|
82
|
+
→ 409 Conflict (can't delete due to references)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Filtering, Sorting, and Searching
|
|
86
|
+
|
|
87
|
+
### Query Parameters
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
# Filtering
|
|
91
|
+
GET /api/users?status=active
|
|
92
|
+
GET /api/users?role=admin&status=active
|
|
93
|
+
|
|
94
|
+
# Sorting
|
|
95
|
+
GET /api/users?sort=created_at
|
|
96
|
+
GET /api/users?sort=-created_at (descending)
|
|
97
|
+
GET /api/users?sort=name,created_at
|
|
98
|
+
|
|
99
|
+
# Searching
|
|
100
|
+
GET /api/users?search=john
|
|
101
|
+
GET /api/users?q=john
|
|
102
|
+
|
|
103
|
+
# Field selection (sparse fieldsets)
|
|
104
|
+
GET /api/users?fields=id,name,email
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Pagination Patterns
|
|
108
|
+
|
|
109
|
+
### Offset-Based Pagination
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
GET /api/users?page=2&page_size=20
|
|
113
|
+
|
|
114
|
+
Response:
|
|
115
|
+
{
|
|
116
|
+
"items": [...],
|
|
117
|
+
"page": 2,
|
|
118
|
+
"page_size": 20,
|
|
119
|
+
"total": 150,
|
|
120
|
+
"pages": 8
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Cursor-Based Pagination (for large datasets)
|
|
125
|
+
|
|
126
|
+
```python
|
|
127
|
+
GET /api/users?limit=20&cursor=eyJpZCI6MTIzfQ
|
|
128
|
+
|
|
129
|
+
Response:
|
|
130
|
+
{
|
|
131
|
+
"items": [...],
|
|
132
|
+
"next_cursor": "eyJpZCI6MTQzfQ",
|
|
133
|
+
"has_more": true
|
|
134
|
+
}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Link Header Pagination (RESTful)
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
GET /api/users?page=2
|
|
141
|
+
|
|
142
|
+
Response Headers:
|
|
143
|
+
Link: <https://api.example.com/users?page=3>; rel="next",
|
|
144
|
+
<https://api.example.com/users?page=1>; rel="prev",
|
|
145
|
+
<https://api.example.com/users?page=1>; rel="first",
|
|
146
|
+
<https://api.example.com/users?page=8>; rel="last"
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Versioning Strategies
|
|
150
|
+
|
|
151
|
+
### URL Versioning (Recommended)
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
/api/v1/users
|
|
155
|
+
/api/v2/users
|
|
156
|
+
|
|
157
|
+
Pros: Clear, easy to route
|
|
158
|
+
Cons: Multiple URLs for same resource
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### Header Versioning
|
|
162
|
+
|
|
163
|
+
```
|
|
164
|
+
GET /api/users
|
|
165
|
+
Accept: application/vnd.api+json; version=2
|
|
166
|
+
|
|
167
|
+
Pros: Clean URLs
|
|
168
|
+
Cons: Less visible, harder to test
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Query Parameter
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
GET /api/users?version=2
|
|
175
|
+
|
|
176
|
+
Pros: Easy to test
|
|
177
|
+
Cons: Optional parameter can be forgotten
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
## Rate Limiting
|
|
181
|
+
|
|
182
|
+
### Headers
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
X-RateLimit-Limit: 1000
|
|
186
|
+
X-RateLimit-Remaining: 742
|
|
187
|
+
X-RateLimit-Reset: 1640000000
|
|
188
|
+
|
|
189
|
+
Response when limited:
|
|
190
|
+
429 Too Many Requests
|
|
191
|
+
Retry-After: 3600
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Implementation Pattern
|
|
195
|
+
|
|
196
|
+
```python
|
|
197
|
+
from fastapi import HTTPException, Request
|
|
198
|
+
from datetime import datetime, timedelta
|
|
199
|
+
|
|
200
|
+
class RateLimiter:
|
|
201
|
+
def __init__(self, calls: int, period: int):
|
|
202
|
+
self.calls = calls
|
|
203
|
+
self.period = period
|
|
204
|
+
self.cache = {}
|
|
205
|
+
|
|
206
|
+
def check(self, key: str) -> bool:
|
|
207
|
+
now = datetime.now()
|
|
208
|
+
if key not in self.cache:
|
|
209
|
+
self.cache[key] = []
|
|
210
|
+
|
|
211
|
+
# Remove old requests
|
|
212
|
+
self.cache[key] = [
|
|
213
|
+
ts for ts in self.cache[key]
|
|
214
|
+
if now - ts < timedelta(seconds=self.period)
|
|
215
|
+
]
|
|
216
|
+
|
|
217
|
+
if len(self.cache[key]) >= self.calls:
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
self.cache[key].append(now)
|
|
221
|
+
return True
|
|
222
|
+
|
|
223
|
+
limiter = RateLimiter(calls=100, period=60)
|
|
224
|
+
|
|
225
|
+
@app.get("/api/users")
|
|
226
|
+
async def get_users(request: Request):
|
|
227
|
+
if not limiter.check(request.client.host):
|
|
228
|
+
raise HTTPException(
|
|
229
|
+
status_code=429,
|
|
230
|
+
headers={"Retry-After": "60"}
|
|
231
|
+
)
|
|
232
|
+
return {"users": [...]}
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
## Authentication and Authorization
|
|
236
|
+
|
|
237
|
+
### Bearer Token
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
|
|
241
|
+
|
|
242
|
+
401 Unauthorized - Missing/invalid token
|
|
243
|
+
403 Forbidden - Valid token, insufficient permissions
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### API Keys
|
|
247
|
+
|
|
248
|
+
```
|
|
249
|
+
X-API-Key: your-api-key-here
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
## Error Response Format
|
|
253
|
+
|
|
254
|
+
### Consistent Structure
|
|
255
|
+
|
|
256
|
+
```json
|
|
257
|
+
{
|
|
258
|
+
"error": {
|
|
259
|
+
"code": "VALIDATION_ERROR",
|
|
260
|
+
"message": "Request validation failed",
|
|
261
|
+
"details": [
|
|
262
|
+
{
|
|
263
|
+
"field": "email",
|
|
264
|
+
"message": "Invalid email format",
|
|
265
|
+
"value": "not-an-email"
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"timestamp": "2025-10-16T12:00:00Z",
|
|
269
|
+
"path": "/api/users"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Status Code Guidelines
|
|
275
|
+
|
|
276
|
+
- `200 OK`: Successful GET, PATCH, PUT
|
|
277
|
+
- `201 Created`: Successful POST
|
|
278
|
+
- `204 No Content`: Successful DELETE
|
|
279
|
+
- `400 Bad Request`: Malformed request
|
|
280
|
+
- `401 Unauthorized`: Authentication required
|
|
281
|
+
- `403 Forbidden`: Authenticated but not authorized
|
|
282
|
+
- `404 Not Found`: Resource doesn't exist
|
|
283
|
+
- `409 Conflict`: State conflict (duplicate email, etc.)
|
|
284
|
+
- `422 Unprocessable Entity`: Validation errors
|
|
285
|
+
- `429 Too Many Requests`: Rate limited
|
|
286
|
+
- `500 Internal Server Error`: Server error
|
|
287
|
+
- `503 Service Unavailable`: Temporary downtime
|
|
288
|
+
|
|
289
|
+
## Caching
|
|
290
|
+
|
|
291
|
+
### Cache Headers
|
|
292
|
+
|
|
293
|
+
```
|
|
294
|
+
# Client caching
|
|
295
|
+
Cache-Control: public, max-age=3600
|
|
296
|
+
|
|
297
|
+
# No caching
|
|
298
|
+
Cache-Control: no-cache, no-store, must-revalidate
|
|
299
|
+
|
|
300
|
+
# Conditional requests
|
|
301
|
+
ETag: "33a64df551425fcc55e4d42a148795d9f25f89d4"
|
|
302
|
+
If-None-Match: "33a64df551425fcc55e4d42a148795d9f25f89d4"
|
|
303
|
+
→ 304 Not Modified
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
## Bulk Operations
|
|
307
|
+
|
|
308
|
+
### Batch Endpoints
|
|
309
|
+
|
|
310
|
+
```python
|
|
311
|
+
POST /api/users/batch
|
|
312
|
+
{
|
|
313
|
+
"items": [
|
|
314
|
+
{"name": "User1", "email": "user1@example.com"},
|
|
315
|
+
{"name": "User2", "email": "user2@example.com"}
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
Response:
|
|
320
|
+
{
|
|
321
|
+
"results": [
|
|
322
|
+
{"id": "1", "status": "created"},
|
|
323
|
+
{"id": null, "status": "failed", "error": "Email already exists"}
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
## Idempotency
|
|
329
|
+
|
|
330
|
+
### Idempotency Keys
|
|
331
|
+
|
|
332
|
+
```
|
|
333
|
+
POST /api/orders
|
|
334
|
+
Idempotency-Key: unique-key-123
|
|
335
|
+
|
|
336
|
+
If duplicate request:
|
|
337
|
+
→ 200 OK (return cached response)
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
## CORS Configuration
|
|
341
|
+
|
|
342
|
+
```python
|
|
343
|
+
from fastapi.middleware.cors import CORSMiddleware
|
|
344
|
+
|
|
345
|
+
app.add_middleware(
|
|
346
|
+
CORSMiddleware,
|
|
347
|
+
allow_origins=["https://example.com"],
|
|
348
|
+
allow_credentials=True,
|
|
349
|
+
allow_methods=["*"],
|
|
350
|
+
allow_headers=["*"],
|
|
351
|
+
)
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
## Documentation with OpenAPI
|
|
355
|
+
|
|
356
|
+
```python
|
|
357
|
+
from fastapi import FastAPI
|
|
358
|
+
|
|
359
|
+
app = FastAPI(
|
|
360
|
+
title="My API",
|
|
361
|
+
description="API for managing users",
|
|
362
|
+
version="1.0.0",
|
|
363
|
+
docs_url="/docs",
|
|
364
|
+
redoc_url="/redoc"
|
|
365
|
+
)
|
|
366
|
+
|
|
367
|
+
@app.get(
|
|
368
|
+
"/api/users/{user_id}",
|
|
369
|
+
summary="Get user by ID",
|
|
370
|
+
response_description="User details",
|
|
371
|
+
tags=["Users"]
|
|
372
|
+
)
|
|
373
|
+
async def get_user(
|
|
374
|
+
user_id: str = Path(..., description="The user ID")
|
|
375
|
+
):
|
|
376
|
+
"""
|
|
377
|
+
Retrieve user by ID.
|
|
378
|
+
|
|
379
|
+
Returns full user profile including:
|
|
380
|
+
- Basic information
|
|
381
|
+
- Contact details
|
|
382
|
+
- Account status
|
|
383
|
+
"""
|
|
384
|
+
pass
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
## Health and Monitoring Endpoints
|
|
388
|
+
|
|
389
|
+
```python
|
|
390
|
+
@app.get("/health")
|
|
391
|
+
async def health_check():
|
|
392
|
+
return {
|
|
393
|
+
"status": "healthy",
|
|
394
|
+
"version": "1.0.0",
|
|
395
|
+
"timestamp": datetime.now().isoformat()
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
@app.get("/health/detailed")
|
|
399
|
+
async def detailed_health():
|
|
400
|
+
return {
|
|
401
|
+
"status": "healthy",
|
|
402
|
+
"checks": {
|
|
403
|
+
"database": await check_database(),
|
|
404
|
+
"redis": await check_redis(),
|
|
405
|
+
"external_api": await check_external_api()
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brainstorming
|
|
3
|
+
description: "You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brainstorming Ideas Into Designs
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
|
|
11
|
+
|
|
12
|
+
Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design in small sections (200-300 words), checking after each section whether it looks right so far.
|
|
13
|
+
|
|
14
|
+
## The Process
|
|
15
|
+
|
|
16
|
+
**Understanding the idea:**
|
|
17
|
+
- Check out the current project state first (files, docs, recent commits)
|
|
18
|
+
- Ask questions one at a time to refine the idea
|
|
19
|
+
- Prefer multiple choice questions when possible, but open-ended is fine too
|
|
20
|
+
- Only one question per message - if a topic needs more exploration, break it into multiple questions
|
|
21
|
+
- Focus on understanding: purpose, constraints, success criteria
|
|
22
|
+
|
|
23
|
+
**Exploring approaches:**
|
|
24
|
+
- Propose 2-3 different approaches with trade-offs
|
|
25
|
+
- Present options conversationally with your recommendation and reasoning
|
|
26
|
+
- Lead with your recommended option and explain why
|
|
27
|
+
|
|
28
|
+
**Presenting the design:**
|
|
29
|
+
- Once you believe you understand what you're building, present the design
|
|
30
|
+
- Break it into sections of 200-300 words
|
|
31
|
+
- Ask after each section whether it looks right so far
|
|
32
|
+
- Cover: architecture, components, data flow, error handling, testing
|
|
33
|
+
- Be ready to go back and clarify if something doesn't make sense
|
|
34
|
+
|
|
35
|
+
## After the Design
|
|
36
|
+
|
|
37
|
+
**Documentation:**
|
|
38
|
+
- Write the validated design to `docs/plans/YYYY-MM-DD-<topic>-design.md`
|
|
39
|
+
- Use elements-of-style:writing-clearly-and-concisely skill if available
|
|
40
|
+
- Commit the design document to git
|
|
41
|
+
|
|
42
|
+
**Implementation (if continuing):**
|
|
43
|
+
- Ask: "Ready to set up for implementation?"
|
|
44
|
+
- Use superpowers:using-git-worktrees to create isolated workspace
|
|
45
|
+
- Use superpowers:writing-plans to create detailed implementation plan
|
|
46
|
+
|
|
47
|
+
## Key Principles
|
|
48
|
+
|
|
49
|
+
- **One question at a time** - Don't overwhelm with multiple questions
|
|
50
|
+
- **Multiple choice preferred** - Easier to answer than open-ended when possible
|
|
51
|
+
- **YAGNI ruthlessly** - Remove unnecessary features from all designs
|
|
52
|
+
- **Explore alternatives** - Always propose 2-3 approaches before settling
|
|
53
|
+
- **Incremental validation** - Present design in sections, validate each
|
|
54
|
+
- **Be flexible** - Go back and clarify when something doesn't make sense
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: changelog-generator
|
|
3
|
+
description: Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Changelog Generator
|
|
7
|
+
|
|
8
|
+
This skill transforms technical git commits into polished, user-friendly changelogs that your customers and users will actually understand and appreciate.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
- Preparing release notes for a new version
|
|
13
|
+
- Creating weekly or monthly product update summaries
|
|
14
|
+
- Documenting changes for customers
|
|
15
|
+
- Writing changelog entries for app store submissions
|
|
16
|
+
- Generating update notifications
|
|
17
|
+
- Creating internal release documentation
|
|
18
|
+
- Maintaining a public changelog/product updates page
|
|
19
|
+
|
|
20
|
+
## What This Skill Does
|
|
21
|
+
|
|
22
|
+
1. **Scans Git History**: Analyzes commits from a specific time period or between versions
|
|
23
|
+
2. **Categorizes Changes**: Groups commits into logical categories (features, improvements, bug fixes, breaking changes, security)
|
|
24
|
+
3. **Translates Technical → User-Friendly**: Converts developer commits into customer language
|
|
25
|
+
4. **Formats Professionally**: Creates clean, structured changelog entries
|
|
26
|
+
5. **Filters Noise**: Excludes internal commits (refactoring, tests, etc.)
|
|
27
|
+
6. **Follows Best Practices**: Applies changelog guidelines and your brand voice
|
|
28
|
+
|
|
29
|
+
## How to Use
|
|
30
|
+
|
|
31
|
+
### Basic Usage
|
|
32
|
+
|
|
33
|
+
From your project repository:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
Create a changelog from commits since last release
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Generate changelog for all commits from the past week
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Create release notes for version 2.5.0
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### With Specific Date Range
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
Create a changelog for all commits between March 1 and March 15
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### With Custom Guidelines
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
Create a changelog for commits since v2.4.0, using my changelog
|
|
57
|
+
guidelines from CHANGELOG_STYLE.md
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Example
|
|
61
|
+
|
|
62
|
+
**User**: "Create a changelog for commits from the past 7 days"
|
|
63
|
+
|
|
64
|
+
**Output**:
|
|
65
|
+
```markdown
|
|
66
|
+
# Updates - Week of March 10, 2024
|
|
67
|
+
|
|
68
|
+
## ✨ New Features
|
|
69
|
+
|
|
70
|
+
- **Team Workspaces**: Create separate workspaces for different
|
|
71
|
+
projects. Invite team members and keep everything organized.
|
|
72
|
+
|
|
73
|
+
- **Keyboard Shortcuts**: Press ? to see all available shortcuts.
|
|
74
|
+
Navigate faster without touching your mouse.
|
|
75
|
+
|
|
76
|
+
## 🔧 Improvements
|
|
77
|
+
|
|
78
|
+
- **Faster Sync**: Files now sync 2x faster across devices
|
|
79
|
+
- **Better Search**: Search now includes file contents, not just titles
|
|
80
|
+
|
|
81
|
+
## 🐛 Fixes
|
|
82
|
+
|
|
83
|
+
- Fixed issue where large images wouldn't upload
|
|
84
|
+
- Resolved timezone confusion in scheduled posts
|
|
85
|
+
- Corrected notification badge count
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Inspired by:** Manik Aggarwal's use case from Lenny's Newsletter
|
|
89
|
+
|
|
90
|
+
## Tips
|
|
91
|
+
|
|
92
|
+
- Run from your git repository root
|
|
93
|
+
- Specify date ranges for focused changelogs
|
|
94
|
+
- Use your CHANGELOG_STYLE.md for consistent formatting
|
|
95
|
+
- Review and adjust the generated changelog before publishing
|
|
96
|
+
- Save output directly to CHANGELOG.md
|
|
97
|
+
|
|
98
|
+
## Related Use Cases
|
|
99
|
+
|
|
100
|
+
- Creating GitHub release notes
|
|
101
|
+
- Writing app store update descriptions
|
|
102
|
+
- Generating email updates for users
|
|
103
|
+
- Creating social media announcement posts
|
|
104
|
+
|