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,234 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-index
|
|
3
|
+
description: "Analyze codebase structure, generate domain-specific sub-skills (UI, Backend, Database, etc.), and create agent-guidance files to help AI agents navigate and develop consistently within a project. Use when onboarding to a new codebase, creating project documentation, or setting up agent guidance systems."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Project Index
|
|
7
|
+
|
|
8
|
+
A skill for analyzing existing codebases and creating structured guidance systems for AI agents. Generates domain-specific knowledge and navigation aids without modifying source code locations.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- Starting work on an unfamiliar codebase
|
|
14
|
+
- Creating agent guidance for team projects
|
|
15
|
+
- Setting up structured project documentation
|
|
16
|
+
- Analyzing project architecture and patterns
|
|
17
|
+
- Creating domain-specific agent knowledge (UI, Backend, Database, etc.)
|
|
18
|
+
|
|
19
|
+
## Quick Start
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
1. Scan the codebase structure
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
python ./skills/project-index/scripts/scan_codebase.py /path/to/project --output codebase_index.json
|
|
26
|
+
```
|
|
27
|
+
2. Analyze the generated index and identify domains
|
|
28
|
+
3. Create sub-skills using skill-writer
|
|
29
|
+
4. Generate agent-guidance files
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## Instructions
|
|
33
|
+
|
|
34
|
+
### Step 1: Scan the Codebase
|
|
35
|
+
|
|
36
|
+
Run the scanning script to generate a complete structural map:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
python ./skills/project-index/scripts/scan_codebase.py <project_path> --output codebase_index.json
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Important**: The script provides a structural overview. You MUST also:
|
|
43
|
+
- Read key configuration files (package.json, tsconfig.json, etc.)
|
|
44
|
+
- Examine existing code patterns and conventions
|
|
45
|
+
- Understand the project's architecture and dependencies
|
|
46
|
+
- Review README files and existing documentation
|
|
47
|
+
|
|
48
|
+
**Parameters**:
|
|
49
|
+
- `<project_path>`: Absolute path to the project root
|
|
50
|
+
- `--output`: Output filename (default: `codebase_index.json`)
|
|
51
|
+
|
|
52
|
+
**Excluded directories**: `.git`, `node_modules`, `__pycache__`, `dist`, `build`, `.next`, `.expo`
|
|
53
|
+
|
|
54
|
+
### Step 2: Analyze the Index
|
|
55
|
+
|
|
56
|
+
Review the generated `codebase_index.json` and:
|
|
57
|
+
|
|
58
|
+
1. **Identify main domains**: UI, Backend, Database, API, Components, Utils, etc.
|
|
59
|
+
2. **Map relationships**: How do domains interact?
|
|
60
|
+
3. **Find patterns**: Naming conventions, folder structures, architectural patterns
|
|
61
|
+
4. **Locate key files**: Entry points, configuration files, core modules
|
|
62
|
+
|
|
63
|
+
**CRITICAL**: Do not rely solely on the JSON index. Actually explore the codebase:
|
|
64
|
+
- Open and read representative files from each domain
|
|
65
|
+
- Understand the tech stack and frameworks used
|
|
66
|
+
- Identify coding standards and conventions
|
|
67
|
+
- Note any custom patterns or abstractions
|
|
68
|
+
|
|
69
|
+
### Step 3: Create Sub-Skills
|
|
70
|
+
|
|
71
|
+
For each identified domain, create a focused sub-skill using **skill-writer**:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
# Load the skill-writer skill first, then:
|
|
75
|
+
# Create sub-skills like project-index-ui, project-index-backend, etc.
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Each sub-skill should:
|
|
79
|
+
- Focus on ONE domain only
|
|
80
|
+
- Include specific navigation guidance
|
|
81
|
+
- Reference relevant agent-guidance files
|
|
82
|
+
- Be discoverable with clear triggers
|
|
83
|
+
|
|
84
|
+
**Use the template**: `./skills/project-index/templates/skill-template.md`
|
|
85
|
+
|
|
86
|
+
**Naming convention**: `project-index-<domain>` (e.g., `project-index-ui`, `project-index-backend`)
|
|
87
|
+
|
|
88
|
+
### Step 4: Generate Agent-Guidance Files
|
|
89
|
+
|
|
90
|
+
Create `agent-<name>.md` files in relevant project directories:
|
|
91
|
+
|
|
92
|
+
**Use the template**: `./skills/project-index/templates/agent-template.md`
|
|
93
|
+
|
|
94
|
+
Each file should contain:
|
|
95
|
+
- **Purpose**: Clear description of the directory/section
|
|
96
|
+
- **Methodology & Patterns**: Design patterns and architectural approaches used
|
|
97
|
+
- **Best Practices**: Explicit do's and don'ts
|
|
98
|
+
- **Key Components/Files**: Important files in this section
|
|
99
|
+
- **Integration**: How to add new elements following existing patterns
|
|
100
|
+
|
|
101
|
+
## Templates
|
|
102
|
+
|
|
103
|
+
### Sub-Skill Template
|
|
104
|
+
|
|
105
|
+
Location: `./skills/project-index/templates/skill-template.md`
|
|
106
|
+
|
|
107
|
+
```markdown
|
|
108
|
+
---
|
|
109
|
+
name: project-index-{{domain}}
|
|
110
|
+
description: "Domain-specific knowledge for {{domain}} in this project. Use when working on {{path}} or when user mentions {{domain}}-related tasks."
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
# {{Domain}} Domain Guide
|
|
114
|
+
|
|
115
|
+
## Overview
|
|
116
|
+
Context and purpose of the {{domain}} layer located in `{{path}}`.
|
|
117
|
+
|
|
118
|
+
## Navigation
|
|
119
|
+
- **Main Logic**: [Where core logic resides]
|
|
120
|
+
- **Data Flow**: [How data moves through this domain]
|
|
121
|
+
- **Key Files**: [Important entry points]
|
|
122
|
+
|
|
123
|
+
## Guidelines
|
|
124
|
+
1. [Specific guideline 1]
|
|
125
|
+
2. [Specific guideline 2]
|
|
126
|
+
|
|
127
|
+
## Reference
|
|
128
|
+
See `agent-{{domain}}.md` in the directory for implementation details.
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Agent-Guidance Template
|
|
132
|
+
|
|
133
|
+
Location: `./skills/project-index/templates/agent-template.md`
|
|
134
|
+
|
|
135
|
+
```markdown
|
|
136
|
+
# Agent Guide: {{name}}
|
|
137
|
+
|
|
138
|
+
## Purpose
|
|
139
|
+
Guidance for working in `{{path}}` following established patterns and practices.
|
|
140
|
+
|
|
141
|
+
## Methodology & Patterns
|
|
142
|
+
- **Pattern 1**: [Description]
|
|
143
|
+
- **Pattern 2**: [Description]
|
|
144
|
+
|
|
145
|
+
## Best Practices
|
|
146
|
+
- **Do**: [Recommended practice]
|
|
147
|
+
- **Avoid**: [Practice to avoid]
|
|
148
|
+
|
|
149
|
+
## Key Files
|
|
150
|
+
- [Important file 1]
|
|
151
|
+
- [Important file 2]
|
|
152
|
+
|
|
153
|
+
## Integration
|
|
154
|
+
Follow the structure of `{{example_file}}` when adding new elements.
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## Best Practices
|
|
158
|
+
|
|
159
|
+
### DO
|
|
160
|
+
- **Investigate thoroughly**: Read actual code files, not just the index
|
|
161
|
+
- **Be specific**: Provide concrete examples and file paths
|
|
162
|
+
- **Keep it focused**: One sub-skill per domain
|
|
163
|
+
- **Use skill-writer**: Follow proper skill creation workflow
|
|
164
|
+
- **Update incrementally**: Refine guidance as you learn more
|
|
165
|
+
- **Test navigation**: Verify agents can find relevant information
|
|
166
|
+
|
|
167
|
+
### AVOID
|
|
168
|
+
- **Relying only on scripts**: The index is a starting point, not the whole picture
|
|
169
|
+
- **Creating mega-skills**: Keep each sub-skill focused on one domain
|
|
170
|
+
- **Vague descriptions**: Be specific about patterns and conventions
|
|
171
|
+
- **Duplicating docs**: Reference existing READMEs rather than copying
|
|
172
|
+
- **Hardcoded assumptions**: Note when patterns vary across the codebase
|
|
173
|
+
|
|
174
|
+
## File Structure
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
.skills/project-index/
|
|
178
|
+
├── SKILL.md # This file
|
|
179
|
+
├── templates/
|
|
180
|
+
│ ├── skill-template.md # Template for sub-skills
|
|
181
|
+
│ └── agent-template.md # Template for agent guides
|
|
182
|
+
└── scripts/
|
|
183
|
+
└── scan_codebase.py # Codebase scanning utility
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
## Advanced Usage
|
|
187
|
+
|
|
188
|
+
### Progressive Enhancement
|
|
189
|
+
|
|
190
|
+
Start with basic structure analysis, then iteratively improve:
|
|
191
|
+
|
|
192
|
+
1. **Phase 1**: Scan and identify main domains
|
|
193
|
+
2. **Phase 2**: Create basic sub-skills with navigation
|
|
194
|
+
3. **Phase 3**: Add detailed agent-guidance files
|
|
195
|
+
4. **Phase 4**: Refine based on actual usage
|
|
196
|
+
|
|
197
|
+
### Multi-Project Setup
|
|
198
|
+
|
|
199
|
+
For organizations with multiple projects:
|
|
200
|
+
- Create base patterns in a shared skill
|
|
201
|
+
- Extend with project-specific sub-skills
|
|
202
|
+
- Maintain consistent naming conventions
|
|
203
|
+
|
|
204
|
+
### Validation Checklist
|
|
205
|
+
|
|
206
|
+
Before considering the index complete:
|
|
207
|
+
- [ ] Scanned codebase with script
|
|
208
|
+
- [ ] Manually reviewed key files and directories
|
|
209
|
+
- [ ] Identified all major domains
|
|
210
|
+
- [ ] Created focused sub-skills using skill-writer
|
|
211
|
+
- [ ] Generated agent-guidance files in relevant directories
|
|
212
|
+
- [ ] Verified navigation paths are clear
|
|
213
|
+
- [ ] Tested with sample queries
|
|
214
|
+
|
|
215
|
+
## Troubleshooting
|
|
216
|
+
|
|
217
|
+
### Script fails to run
|
|
218
|
+
- Check Python 3 is installed
|
|
219
|
+
- Verify the project path is absolute and exists
|
|
220
|
+
- Ensure write permissions for output directory
|
|
221
|
+
|
|
222
|
+
### Sub-skills not activating
|
|
223
|
+
- Use skill-writer to validate the skill structure
|
|
224
|
+
- Check description includes trigger words
|
|
225
|
+
- Verify file location matches skill name
|
|
226
|
+
|
|
227
|
+
### Guidance feels incomplete
|
|
228
|
+
- Remember: The index is a living document
|
|
229
|
+
- Add more detail as you work with the codebase
|
|
230
|
+
- Update agent-guidance files based on new discoveries
|
|
231
|
+
|
|
232
|
+
## Credits
|
|
233
|
+
|
|
234
|
+
Original concept and implementation by b4san.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import json
|
|
3
|
+
import argparse
|
|
4
|
+
|
|
5
|
+
def scan_project(root_dir):
|
|
6
|
+
project_structure = {
|
|
7
|
+
"root": root_dir,
|
|
8
|
+
"directories": {},
|
|
9
|
+
"files": []
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
# Common directories to ignore
|
|
13
|
+
ignore_dirs = {'.git', 'node_modules', '__pycache__', 'dist', 'build', '.next', '.expo'}
|
|
14
|
+
|
|
15
|
+
for root, dirs, files in os.walk(root_dir):
|
|
16
|
+
# Filter ignored directories
|
|
17
|
+
dirs[:] = [d for d in dirs if d not in ignore_dirs]
|
|
18
|
+
|
|
19
|
+
rel_path = os.path.relpath(root, root_dir)
|
|
20
|
+
if rel_path == '.':
|
|
21
|
+
rel_path = ''
|
|
22
|
+
|
|
23
|
+
for d in dirs:
|
|
24
|
+
dir_path = os.path.join(rel_path, d)
|
|
25
|
+
project_structure["directories"][dir_path] = []
|
|
26
|
+
|
|
27
|
+
for f in files:
|
|
28
|
+
file_path = os.path.join(rel_path, f)
|
|
29
|
+
project_structure["files"].append(file_path)
|
|
30
|
+
if rel_path in project_structure["directories"]:
|
|
31
|
+
project_structure["directories"][rel_path].append(f)
|
|
32
|
+
elif rel_path == '':
|
|
33
|
+
# Root files
|
|
34
|
+
pass
|
|
35
|
+
|
|
36
|
+
return project_structure
|
|
37
|
+
|
|
38
|
+
if __name__ == "__main__":
|
|
39
|
+
parser = argparse.ArgumentParser(description="Scan codebase for project-index skill")
|
|
40
|
+
parser.add_argument("path", help="Path to the codebase root")
|
|
41
|
+
parser.add_argument("--output", help="Path to save the JSON result", default="codebase_index.json")
|
|
42
|
+
args = parser.parse_args()
|
|
43
|
+
|
|
44
|
+
structure = scan_project(args.path)
|
|
45
|
+
with open(args.output, 'w') as f:
|
|
46
|
+
json.dump(structure, f, indent=2)
|
|
47
|
+
print(f"Codebase scanned. Index saved to {args.output}")
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Agent Guide: {{category}}
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
This document guides the agent through the patterns, best practices, and methodologies used in the `{{path}}` directory of this codebase.
|
|
5
|
+
|
|
6
|
+
## Methodology & Patterns
|
|
7
|
+
- **Pattern 1**: {{description_1}}
|
|
8
|
+
- **Pattern 2**: {{description_2}}
|
|
9
|
+
|
|
10
|
+
## Best Practices
|
|
11
|
+
- **Do**: {{do_practice}}
|
|
12
|
+
- **Avoid**: {{avoid_practice}}
|
|
13
|
+
|
|
14
|
+
## Key Components / Files
|
|
15
|
+
{{file_list}}
|
|
16
|
+
|
|
17
|
+
## Integration
|
|
18
|
+
To integrate new elements here, follow the structure of `{{example_file}}`.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-index-{{category}}
|
|
3
|
+
description: Domain-specific knowledge for {{category}} in this project. Use when working on {{path}}.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# {{category}} Skill
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
This sub-skill provides deep context for the {{category}} layer of the project located at `{{path}}`.
|
|
10
|
+
|
|
11
|
+
## Navigation
|
|
12
|
+
- **Primary Logic**: {{logic_description}}
|
|
13
|
+
- **Data Flow**: {{data_flow}}
|
|
14
|
+
|
|
15
|
+
## Guidelines
|
|
16
|
+
1. {{guideline_1}}
|
|
17
|
+
2. {{guideline_2}}
|
|
18
|
+
|
|
19
|
+
## Reference Files
|
|
20
|
+
Refer to `agent-{{category}}.md` in the directory for implementation details.
|