code-ai-installer 1.1.4 → 1.1.6

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.
Files changed (79) hide show
  1. package/README.md +4 -0
  2. package/dist/banner.d.ts +4 -0
  3. package/dist/banner.js +35 -0
  4. package/dist/index.js +109 -22
  5. package/dist/sourceResolver.d.ts +2 -0
  6. package/dist/sourceResolver.js +27 -5
  7. package/dist/types.d.ts +1 -0
  8. package/locales/en/.agents/a11y_baseline/SKILL.md +41 -0
  9. package/locales/en/.agents/adr_log/SKILL.md +69 -0
  10. package/locales/en/.agents/api_contract_compliance_review/SKILL.md +18 -0
  11. package/locales/en/.agents/api_contracts/SKILL.md +42 -0
  12. package/locales/en/.agents/architecture_compliance_review/SKILL.md +17 -0
  13. package/locales/en/.agents/architecture_doc/SKILL.md +92 -0
  14. package/locales/en/.agents/board/SKILL.md +43 -0
  15. package/locales/en/.agents/cloud_infrastructure_security/SKILL.md +68 -0
  16. package/locales/en/.agents/code_review_checklist/SKILL.md +47 -0
  17. package/locales/en/.agents/current_state_analysis/SKILL.md +44 -0
  18. package/locales/en/.agents/data_model/SKILL.md +40 -0
  19. package/locales/en/.agents/dependency_supply_chain_review/SKILL.md +20 -0
  20. package/locales/en/.agents/deployment_ci_plan/SKILL.md +51 -0
  21. package/locales/en/.agents/design_intake/SKILL.md +71 -0
  22. package/locales/en/.agents/design_parity_review/SKILL.md +73 -0
  23. package/locales/en/.agents/design_systems/SKILL.md +15 -0
  24. package/locales/en/.agents/dev_reference_snippets/SKILL.md +397 -0
  25. package/locales/en/.agents/docker_kubernetes_architecture/SKILL.md +144 -0
  26. package/locales/en/.agents/es2025_beast_practices/SKILL.md +15 -0
  27. package/locales/en/.agents/gates/SKILL.md +35 -0
  28. package/locales/en/.agents/go_beast_practices/SKILL.md +23 -0
  29. package/locales/en/.agents/handoff/SKILL.md +52 -0
  30. package/locales/en/.agents/k8s_manifests_conventions/SKILL.md +175 -0
  31. package/locales/en/.agents/memory/SKILL.md +29 -0
  32. package/locales/en/.agents/mongodb_mongoose_best_practices/SKILL.md +233 -0
  33. package/locales/en/.agents/node_express_beast_practices/SKILL.md +30 -0
  34. package/locales/en/.agents/observability_logging/SKILL.md +16 -0
  35. package/locales/en/.agents/observability_plan/SKILL.md +38 -0
  36. package/locales/en/.agents/observability_review/SKILL.md +20 -0
  37. package/locales/en/.agents/performance_review_baseline/SKILL.md +17 -0
  38. package/locales/en/.agents/pm_backlog/SKILL.md +32 -0
  39. package/locales/en/.agents/pm_interview/SKILL.md +56 -0
  40. package/locales/en/.agents/pm_prd/SKILL.md +56 -0
  41. package/locales/en/.agents/qa_api_contract_tests/SKILL.md +16 -0
  42. package/locales/en/.agents/qa_e2e_playwright/SKILL.md +0 -0
  43. package/locales/en/.agents/qa_manual_run/SKILL.md +16 -0
  44. package/locales/en/.agents/qa_security_smoke_tests/SKILL.md +14 -0
  45. package/locales/en/.agents/qa_test_plan/SKILL.md +20 -0
  46. package/locales/en/.agents/qa_ui_a11y_smoke/SKILL.md +12 -0
  47. package/locales/en/.agents/react_15_3_wix_iframe/SKILL.md +20 -0
  48. package/locales/en/.agents/react_beast_practices/SKILL.md +29 -0
  49. package/locales/en/.agents/release_gate/SKILL.md +77 -0
  50. package/locales/en/.agents/release_gate_checklist_template/SKILL.md +68 -0
  51. package/locales/en/.agents/review_reference_snippets/SKILL.md +436 -0
  52. package/locales/en/.agents/security_baseline_dev/SKILL.md +16 -0
  53. package/locales/en/.agents/security_review/SKILL.md +55 -0
  54. package/locales/en/.agents/security_review_baseline/SKILL.md +25 -0
  55. package/locales/en/.agents/state_rtk_beast_practices/SKILL.md +15 -0
  56. package/locales/en/.agents/state_zustand_beast_practices/SKILL.md +11 -0
  57. package/locales/en/.agents/styling_css_stack/SKILL.md +12 -0
  58. package/locales/en/.agents/system_design_checklist/SKILL.md +48 -0
  59. package/locales/en/.agents/tanstack_beast_practices/SKILL.md +19 -0
  60. package/locales/en/.agents/tdd_workflow/SKILL.md +34 -0
  61. package/locales/en/.agents/testing_strategy_js/SKILL.md +30 -0
  62. package/locales/en/.agents/tests_quality_review/SKILL.md +18 -0
  63. package/locales/en/.agents/threat_model_baseline/SKILL.md +57 -0
  64. package/locales/en/.agents/tooling_bun_biome/SKILL.md +17 -0
  65. package/locales/en/.agents/typescript_beast_practices/SKILL.md +15 -0
  66. package/locales/en/.agents/ui_a11y_smoke_review/SKILL.md +15 -0
  67. package/locales/en/.agents/ui_inventory/SKILL.md +50 -0
  68. package/locales/en/.agents/ux_discovery/SKILL.md +48 -0
  69. package/locales/en/.agents/ux_spec/SKILL.md +56 -0
  70. package/locales/en/.agents/wix_self_hosted_embedded_script/SKILL.md +88 -0
  71. package/locales/en/AGENTS.md +120 -0
  72. package/locales/en/agents/architect.md +239 -0
  73. package/locales/en/agents/conductor.md +205 -0
  74. package/locales/en/agents/product_manager.md +119 -0
  75. package/locales/en/agents/reviewer.md +200 -0
  76. package/locales/en/agents/senior_full_stack.md +216 -0
  77. package/locales/en/agents/tester.md +186 -0
  78. package/locales/en/agents/ux_ui_designer.md +144 -0
  79. package/package.json +3 -2
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: pm_prd
3
+ description: Create a PRD: Vision, MVP, out-of-scope, user stories, acceptance criteria, NFR, risks and open questions. The result must be verifiable.
4
+ ---
5
+
6
+ # Skill: PRD (Product Requirements Document)
7
+
8
+ ## Goal
9
+ Create a PRD from which the UX/UI, architect, developer, reviewer and tester can work without “guesswork”.
10
+
11
+ ## Exit
12
+ PRD in the following structure (inserted into the response or as a file in the repo):
13
+
14
+ ### 1) Vision & Goals
15
+ - The problem we are solving
16
+ - Target audience
17
+ - Value/uniqueness
18
+ - Success metrics
19
+
20
+ ### 2) Scope
21
+ - MVP (In)
22
+ - Out of scope
23
+ - Assumptions and limitations
24
+
25
+ ### 3) Roles & Permissions (if applicable)
26
+ - User roles
27
+ - What someone can/cannot
28
+
29
+ ### 4) User Stories / Scenarios
30
+ - List of main scenarios (vertical “flows”)
31
+
32
+ ### 5) Acceptance Criteria (mandatory verifiable)
33
+ For each scenario:
34
+ - Given / When / Then (or checklist)
35
+ - Positive + negative cases
36
+ - Errors/validation/empty states
37
+
38
+ ### 6) Non-Functional Requirements
39
+ - Security
40
+ - Performance
41
+ - Reliability
42
+ - Observability
43
+ - Accessibility (minimum)
44
+ - Localization (if needed)
45
+
46
+ ### 7) Risks & Open Questions
47
+ - Risks (technical, product, legal)
48
+ - Open questions and to whom they are addressed
49
+
50
+ ## Quality PRD (checklist)
51
+ - MVP can be implemented in 1–3 iterations
52
+ - Each script has acceptance criteria
53
+ - There is an out-of-scope (so it doesn’t spread out)
54
+ - NFR is not forgotten
55
+ - Questions and assumptions are clearly marked
56
+ - PRD is understandable without verbal explanation (you can give it to the UX/architect/developer and they will understand what to do)
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: qa_api_contract_tests
3
+ description: Check the API for compliance with contracts: schemes, codes, errors, validation, pagination; smoke via Postman/curl/scripts.
4
+ ---
5
+
6
+ # Skill: QA API Contract Tests
7
+
8
+ ## Check
9
+ - Endpoints match method/path
10
+ - Status codes (200/201/204/400/401/403/404/409/422/500) under contract
11
+ - Unified error format (error_code/message)
12
+ - Validation (422/400) on incorrect data
13
+ - Pagination/filters/sorting (if in UX/contract)
14
+
15
+ ## Exit
16
+ - Check table: endpoint → PASS/FAIL → notes
File without changes
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: qa_manual_run
3
+ description: Manual running of critical scenarios and regression: happy/edge/error paths according to UX Spec; fixing bugs with steps and evidence.
4
+ ---
5
+
6
+ # Skill: QA Manual Run
7
+
8
+ ## What to check
9
+ - Critical flows (login/main CRUD/purchase/search, etc. if available)
10
+ - UI states: loading/empty/error/success
11
+ - Roles/permissions (403/hiding functions + server-side bans)
12
+ - Regression on previously closed bugs
13
+
14
+ ## Exit
15
+ - PASS/FAIL/BLOCKED list
16
+ - Bug reports
@@ -0,0 +1,14 @@
1
+ ---
2
+ name: qa_security_smoke_tests
3
+ description: Basic security smoke tests: auth/authz, validation, leaks in errors/logs, rate limiting (if enabled), SSRF/XSS where relevant.
4
+ ---
5
+
6
+ # Skill: QA Security Smoke Tests
7
+
8
+ ## Check minimum
9
+ - 401 without token/session
10
+ - 403 for insufficient rights
11
+ - 422/400 for invalid input
12
+ - Errors do not contain stack/SQL/secrets
13
+ - Logs do not contain PII/secrets (check sample if possible)
14
+ - 429 when the limit is exceeded (if rate limit is enabled)
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: qa_test_plan
3
+ description: Create a test plan and coverage matrix for PRD/UX: roles, critical user flows, UI states, negative cases, acceptance criteria.
4
+ ---
5
+
6
+ # Skill: QA Test Plan
7
+
8
+ ## Exit
9
+ - Test Plan (scopes + assumptions)
10
+ - Coverage Matrix: Flow → test cases
11
+ - Priorities: P0/P1/P2
12
+ - Test data needs
13
+ - Blockers/risks
14
+
15
+ ## Matrix template
16
+ - Flow ID/Screen
17
+ -Preconditions
18
+ -Steps
19
+ - Expected
20
+ - Priority (P0/P1/P2)
@@ -0,0 +1,12 @@
1
+ ---
2
+ name: qa_ui_a11y_smoke
3
+ description: UI/a11y smoke: keyboard/focus, labels/aria, basic contrast, states of forms and lists, compliance with UX Spec.
4
+ ---
5
+
6
+ #Skill: QA UI & A11y Smoke
7
+
8
+ ## Check
9
+ - Keyboard navigation (Tab/Shift+Tab/Enter/Esc)
10
+ - Visible focus
11
+ - Forms: label, error messages, aria
12
+ - Loading/empty/error states on key screens
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: react_15_3_wix_iframe
3
+ description: Legacy mode for Wix iFrame applications: React 15.3 (component classes), lifecycle, PropTypes/defaultProps, restrictions without hooks; work via Wix iFrame SDK.
4
+ ---
5
+
6
+ # Skill: React 15.3 + Wix iFrame
7
+
8
+ ## When to activate
9
+ - Explicitly stated: Wix iFrame app / Wix iFrame SDK
10
+ - Project/codebase uses React 15.3
11
+
12
+ ## React 15.3 rules
13
+ - Use class components and lifecycle methods
14
+ - setState via correct patterns (including functional updates where necessary)
15
+ - PropTypes + defaultProps
16
+ - Avoid “new” React APIs (hooks, suspense, etc.)
17
+
18
+ ## Wix iFrame
19
+ - Interaction with the environment via Wix iFrame SDK
20
+ - Observe platform restrictions and dimensions/positioning
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: react_beast_practices
3
+ description: React best practices: composition, container/presenter, hooks, context, performance (memo/useMemo/useCallback), code splitting, error boundaries, a11y.
4
+ ---
5
+
6
+ #Skill: React Beast Practices
7
+
8
+ ## Component patterns
9
+ - Composition over inheritance
10
+ - Compound components (where appropriate)
11
+ - Container/Presenter (separation of data and display)
12
+ - Custom hooks for reusable stateful logic
13
+
14
+ ## Performance
15
+ - useMemo/useCallback to the point
16
+ - React.memo for pure components
17
+ - Code splitting/lazy for heavy parts
18
+ - Virtualization of long lists (via TanStack Virtual)
19
+
20
+ ## Reliability
21
+ - Error boundary to prevent the entire UI from crashing
22
+ - Focus controls, keyboard navigation, aria attributes (a11y baseline)
23
+
24
+ ## Forms
25
+ - controlled components + validation
26
+ - errors and form states - explicit and testable
27
+
28
+ ## See also
29
+ - Examples: `$dev_reference_snippets`
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: release_gate
3
+ description: Final release gate: collect Reviewer+Tester+CI reports, check DoD, classify risks, make a GO/NO-GO decision and form a closure plan.
4
+ ---
5
+
6
+ #Skill: Release Gate
7
+
8
+ ## Goal
9
+ Make a release decision (GO/NO-GO) based on DoD, review/testing reports and CI/CD status.
10
+
11
+ ## Required condition
12
+ Before starting the release gate, the conductor must generate a checklist via: $release_gate_checklist_template
13
+
14
+ ## Inputs
15
+ - Reviewer report (P0/P1/P2 + suggested fixes)
16
+ - Tester report (PASS/FAIL/BLOCKED + bugs P0/P1/P2 + evidence)
17
+ - CI results (unit/integration, lint/format, security/dependency checks if available)
18
+ - Release notes / list of changes (what is being released)
19
+ - General DoD
20
+ - Release Gate Checklist (RG-01…RG-xx) with statuses
21
+
22
+ ## Release Criteria (strict)
23
+ ### NO-GO (release prohibited)
24
+ - There is **P0** from Reviewer or Tester
25
+ - Unit or Integration tests DO NOT pass
26
+ - There is a risk of leaking secrets/PII in code/logs
27
+ - No runbook instructions for changes
28
+ - Critical UX flow is broken or blocked (BLOCKED without bypass)
29
+ - API non-compliance with contracts, breaking the client (P0)
30
+
31
+ ### GO with conditions (only allowed if agreed upon in advance)
32
+ - There are P1/P2, but:
33
+ - there are workaround/mitigation measures,
34
+ - there are established tasks with priority and owner,
35
+ - the risk is described and accepted.
36
+
37
+ ## DoD Checklist (required)
38
+ - [ ] Unit tests pass
39
+ - [ ] Integration tests pass
40
+ - [ ] Secrets are not included in the code/logs
41
+ - [ ] There are run/check instructions (local/CI)
42
+ - [ ] Basic security: input validation, authorization, dependency hygiene
43
+
44
+ ## Process (steps)
45
+ 1) Make sure that the RG checklist ($release_gate_checklist_template) has been created and the statuses have been entered.
46
+ 2) Collect input artifacts: Reviewer report, Tester report, CI status.
47
+ 3) Combine Findings into a single list: P0/P1/P2, owner, task link, status.
48
+ 4) Run the DoD checklist and mark PASS/MISSING.
49
+ 5) Make a GO/NO-GO decision (or GO-with-conditions if used).
50
+ 6) Generate a Release Report and update RG-22 (Decision).
51
+
52
+ ## Output: Release Report (template)
53
+ ###Release Decision
54
+ - Decision: GO / NO-GO / GO-with-conditions
55
+ - Version/Tag: <if available>
56
+ - Scope: <briefly what we are releasing>
57
+
58
+ ### Evidence
59
+ - CI: PASS/FAIL (link/commit)
60
+ - Reviewer: PASS/MISSING + P0/P1/P2 count
61
+ - Tester: PASS/FAIL/BLOCKED + bugs P0/P1/P2 count
62
+
63
+ ###DoD Status
64
+ - Checklist: PASS/MISSING (with missing list)
65
+
66
+ ### Blocking Issues (if NO-GO)
67
+ - [ ] ID / Description / Owner / How to reproduce / Fix plan
68
+
69
+ ### Accepted Risks (if GO-with-conditions)
70
+ - Risk → impact → mitigation → owner → deadline
71
+
72
+ ###Next Actions
73
+ - RG-01...
74
+ - RG-02...
75
+
76
+ ## See also
77
+ - Checklist template: $release_gate_checklist_template
@@ -0,0 +1,68 @@
1
+ ---
2
+ name: release_gate_checklist_template
3
+ description: Generates a visible checklist RG-01...RG-xx (Evidence/DoD/Security/Ops/Post-deploy/Rollback) and status rules before release.
4
+ ---
5
+
6
+ # Skill: Release Gate Checklist Template (RG-01…RG-xx)
7
+
8
+ ## Goal
9
+ Before each release, create an **identical** release checklist so that the conductor can:
10
+ - collect evidence (reports/CI),
11
+ - check DoD,
12
+ - record risks,
13
+ - perform post-deploy smoke,
14
+ - provide a rollback plan.
15
+
16
+ ## When to use
17
+ - Every time before the final decision on release (Release Gate).
18
+
19
+ ## Inputs
20
+ - Release scope (what is releaseable)
21
+ - Version/tag/commit (if any)
22
+ - Links to environments (staging/prod) if available
23
+
24
+ ## Exit
25
+ - Visible checklist **RG-01…RG-xx** with statuses:
26
+ - TODO / IN-PROGRESS / BLOCKED / DONE
27
+ - Brief Evidence section (links/commits)
28
+ - Mini-summary “What else needs to be closed before GO”
29
+
30
+ ## Template (create as is)
31
+ ### Release Gate Checklist
32
+ - [ ] RG-01 (Evidence) Specify the release scope + version/tag/commit
33
+ - [ ] RG-02 (Evidence) CI green: unit tests PASS
34
+ - [ ] RG-03 (Evidence) CI green: integration tests PASS
35
+ - [ ] RG-04 (Evidence) Lint/format PASS (if available in CI)
36
+ - [ ] RG-05 (Evidence) Dependency/SCA audit PASS or risks are recorded
37
+ - [ ] RG-06 (Evidence) Reviewer report received (P0=0) + link to the report
38
+ - [ ] RG-07 (Evidence) Tester report received (P0=0) + PASS/FAIL/BLOCKED + link
39
+
40
+ - [ ] RG-08 (DoD) Secrets were not included in the code/logs (checks/scan/manual verification)
41
+ - [ ] RG-09 (DoD) There are startup/check instructions (runbook) that are up to date
42
+ - [ ] RG-10 (DoD) Basic safety confirmed: input validation + authz + hygiene
43
+
44
+ - [ ] RG-11 (Contracts) API conforms to contracts (error codes/formats/validation)
45
+ - [ ] RG-12 (Data) Data migrations/changes: application plan + reversibility (if any)
46
+ - [ ] RG-13 (Ops) Observability: request_id/trace_id and secure logs (no PII/secrets)
47
+ - [ ] RG-14 (Ops) Rate limiting / WAF / security headers (if applicable and provided)
48
+
49
+ - [ ] RG-15 (Release) Release notes/changes prepared
50
+ - [ ] RG-16 (Release) Feature flags/rollout strategy (if used) defined
51
+ - [ ] RG-17 (Rollback) Rollback plan is described and understandable
52
+ - [ ] RG-18 (Rollback) Backup/restore requirements are met (if there is a database/critical data)
53
+
54
+ - [ ] RG-19 (Post-deploy) Smoke test scenarios defined (minimum P0 flows)
55
+ - [ ] RG-20 (Post-deploy) Smoke test performed on the target environment (PASS)
56
+ - [ ] RG-21 (Post-deploy) Monitoring/alerts checked (errors/latency)
57
+
58
+ - [ ] RG-22 (Decision) Final decision: GO / NO-GO (+ reasons and conditions)
59
+
60
+ ## Status rules
61
+ - If any point RG-02/03/06/07/08/09/10 fails → set BLOCKED and release = NO-GO.
62
+ - P0 from Reviewer or Tester → BLOCKED and release = NO-GO.
63
+ - P1 are allowed only with an explicit “Accepted Risks” with owner+deadline.
64
+
65
+ ## Response format
66
+ ### Release Gate Checklist (RG-xx) - with statuses
67
+ ### Evidence Links
68
+ ### What's Missing to Go