agent-skill-kit 3.9.135 → 3.9.140

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 (477) hide show
  1. package/.agent/rules/GEMINI.md +173 -210
  2. package/.agent/rules/autopilot.md +198 -287
  3. package/.agent/rules/code-rules.md +187 -227
  4. package/.agent/scripts/version-sync.ts +1 -1
  5. package/.agent/skills/SKILL_INDEX.md +1 -1
  6. package/.agent/skills/agent-browser/AGENTS.md +1 -1
  7. package/.agent/skills/agent-browser/SKILL.md +2 -2
  8. package/.agent/skills/agent-browser/rules/_sections.md +1 -1
  9. package/.agent/skills/agent-browser/rules/_template.md +1 -1
  10. package/.agent/skills/agent-browser/rules/engineering-spec.md +1 -1
  11. package/.agent/skills/ai-artist/AGENTS.md +6 -6
  12. package/.agent/skills/ai-artist/SKILL.md +2 -2
  13. package/.agent/skills/ai-artist/rules/_sections.md +1 -1
  14. package/.agent/skills/ai-artist/rules/_template.md +1 -1
  15. package/.agent/skills/ai-artist/rules/domain-code.md +1 -1
  16. package/.agent/skills/ai-artist/rules/domain-marketing.md +1 -1
  17. package/.agent/skills/ai-artist/rules/engineering-spec.md +1 -1
  18. package/.agent/skills/ai-artist/rules/image-prompts.md +1 -1
  19. package/.agent/skills/ai-artist/rules/model-syntax.md +1 -1
  20. package/.agent/skills/api-architect/AGENTS.md +1 -1
  21. package/.agent/skills/api-architect/SKILL.md +2 -2
  22. package/.agent/skills/api-architect/rules/_sections.md +1 -1
  23. package/.agent/skills/api-architect/rules/_template.md +1 -1
  24. package/.agent/skills/api-architect/rules/api-style.md +1 -1
  25. package/.agent/skills/api-architect/rules/auth.md +1 -1
  26. package/.agent/skills/api-architect/rules/documentation.md +1 -1
  27. package/.agent/skills/api-architect/rules/engineering-spec.md +1 -1
  28. package/.agent/skills/api-architect/rules/graphql.md +1 -1
  29. package/.agent/skills/api-architect/rules/rate-limiting.md +1 -1
  30. package/.agent/skills/api-architect/rules/response.md +1 -1
  31. package/.agent/skills/api-architect/rules/rest.md +1 -1
  32. package/.agent/skills/api-architect/rules/security-testing.md +1 -1
  33. package/.agent/skills/api-architect/rules/trpc.md +1 -1
  34. package/.agent/skills/api-architect/rules/versioning.md +1 -1
  35. package/.agent/skills/auth-patterns/AGENTS.md +1 -1
  36. package/.agent/skills/auth-patterns/SKILL.md +2 -2
  37. package/.agent/skills/auth-patterns/rules/_sections.md +1 -1
  38. package/.agent/skills/auth-patterns/rules/_template.md +1 -1
  39. package/.agent/skills/auth-patterns/rules/engineering-spec.md +1 -1
  40. package/.agent/skills/auth-patterns/rules/jwt-deep.md +1 -1
  41. package/.agent/skills/auth-patterns/rules/mfa.md +1 -1
  42. package/.agent/skills/auth-patterns/rules/oauth2.md +1 -1
  43. package/.agent/skills/auth-patterns/rules/passkey.md +1 -1
  44. package/.agent/skills/auth-patterns/rules/rbac-abac.md +1 -1
  45. package/.agent/skills/auth-patterns/rules/session.md +1 -1
  46. package/.agent/skills/chrome-devtools/AGENTS.md +1 -1
  47. package/.agent/skills/chrome-devtools/SKILL.md +2 -2
  48. package/.agent/skills/chrome-devtools/rules/_sections.md +1 -1
  49. package/.agent/skills/chrome-devtools/rules/_template.md +1 -1
  50. package/.agent/skills/chrome-devtools/rules/aria-snapshot.md +1 -1
  51. package/.agent/skills/chrome-devtools/rules/engineering-spec.md +1 -1
  52. package/.agent/skills/chrome-devtools/rules/scripts-guide.md +1 -1
  53. package/.agent/skills/cicd-pipeline/AGENTS.md +2 -2
  54. package/.agent/skills/cicd-pipeline/SKILL.md +2 -2
  55. package/.agent/skills/cicd-pipeline/rules/_sections.md +1 -1
  56. package/.agent/skills/cicd-pipeline/rules/_template.md +1 -1
  57. package/.agent/skills/cicd-pipeline/rules/engineering-spec.md +1 -1
  58. package/.agent/skills/code-constitution/AGENTS.md +2 -2
  59. package/.agent/skills/code-constitution/CHANGELOG.md +1 -1
  60. package/.agent/skills/code-constitution/SKILL.md +2 -2
  61. package/.agent/skills/code-constitution/examples/violation-backend-mutation/explanation.md +1 -1
  62. package/.agent/skills/code-constitution/examples/violation-chart-injection/explanation.md +1 -1
  63. package/.agent/skills/code-constitution/proposals/v1.1-change-proposal-template.md +2 -2
  64. package/.agent/skills/code-constitution/resources/AUTHORITY_MODEL.md +1 -1
  65. package/.agent/skills/code-constitution/resources/ENFORCEMENT_GUIDE.md +1 -1
  66. package/.agent/skills/code-constitution/resources/LOAD_ORDER.md +1 -1
  67. package/.agent/skills/code-constitution/rules/_sections.md +1 -1
  68. package/.agent/skills/code-constitution/rules/_template.md +1 -1
  69. package/.agent/skills/code-constitution/rules/constitution/master-constitution.md +2 -2
  70. package/.agent/skills/code-constitution/rules/doctrines/architecture/architecture-doctrine.md +2 -2
  71. package/.agent/skills/code-constitution/rules/doctrines/backend/backend-data-engine-doctrine.md +2 -2
  72. package/.agent/skills/code-constitution/rules/doctrines/commercial/commercial-guardrails-doctrine.md +2 -2
  73. package/.agent/skills/code-constitution/rules/doctrines/data/data-integrity-doctrine.md +2 -2
  74. package/.agent/skills/code-constitution/rules/doctrines/frontend/frontend-mobile-doctrine.md +2 -2
  75. package/.agent/skills/code-constitution/rules/doctrines/frontend/interaction-patterns-doctrine.md +2 -2
  76. package/.agent/skills/code-constitution/rules/doctrines/learning/learning-engine-doctrine.md +2 -2
  77. package/.agent/skills/code-constitution/rules/doctrines/performance/performance-doctrine.md +2 -2
  78. package/.agent/skills/code-constitution/rules/doctrines/review/code-review-doctrine.md +2 -2
  79. package/.agent/skills/code-constitution/rules/enforcement/agents/agent-enforcement-protocol.md +2 -2
  80. package/.agent/skills/code-constitution/rules/enforcement/agents/agent-system-prompt.md +2 -2
  81. package/.agent/skills/code-constitution/rules/enforcement/checklists/backend-api-review-checklist.md +1 -1
  82. package/.agent/skills/code-constitution/rules/enforcement/checklists/chart-component-review-checklist.md +1 -1
  83. package/.agent/skills/code-constitution/rules/enforcement/checklists/frontend-review-checklist.md +2 -2
  84. package/.agent/skills/code-constitution/rules/enforcement/playbooks/doctrine-violation-playbook.md +2 -2
  85. package/.agent/skills/code-constitution/rules/engineering-spec.md +1 -1
  86. package/.agent/skills/code-craft/AGENTS.md +2 -2
  87. package/.agent/skills/code-craft/SKILL.md +2 -2
  88. package/.agent/skills/code-craft/rules/_sections.md +1 -1
  89. package/.agent/skills/code-craft/rules/_template.md +1 -1
  90. package/.agent/skills/code-craft/rules/engineering-spec.md +1 -1
  91. package/.agent/skills/code-craft/rules/verification-scripts.md +1 -1
  92. package/.agent/skills/code-review/AGENTS.md +2 -2
  93. package/.agent/skills/code-review/SKILL.md +2 -2
  94. package/.agent/skills/code-review/rules/_sections.md +1 -1
  95. package/.agent/skills/code-review/rules/_template.md +1 -1
  96. package/.agent/skills/code-review/rules/engineering-spec.md +1 -1
  97. package/.agent/skills/context-engineering/AGENTS.md +2 -2
  98. package/.agent/skills/context-engineering/SKILL.md +2 -2
  99. package/.agent/skills/context-engineering/rules/_sections.md +1 -1
  100. package/.agent/skills/context-engineering/rules/_template.md +1 -1
  101. package/.agent/skills/context-engineering/rules/engineering-spec.md +1 -1
  102. package/.agent/skills/copywriting/AGENTS.md +2 -2
  103. package/.agent/skills/copywriting/SKILL.md +2 -2
  104. package/.agent/skills/copywriting/rules/_sections.md +1 -1
  105. package/.agent/skills/copywriting/rules/_template.md +1 -1
  106. package/.agent/skills/copywriting/rules/engineering-spec.md +1 -1
  107. package/.agent/skills/data-modeler/AGENTS.md +2 -2
  108. package/.agent/skills/data-modeler/SKILL.md +2 -2
  109. package/.agent/skills/data-modeler/rules/_sections.md +1 -1
  110. package/.agent/skills/data-modeler/rules/_template.md +1 -1
  111. package/.agent/skills/data-modeler/rules/database-selection.md +1 -1
  112. package/.agent/skills/data-modeler/rules/engineering-spec.md +1 -1
  113. package/.agent/skills/data-modeler/rules/indexing.md +1 -1
  114. package/.agent/skills/data-modeler/rules/migrations.md +1 -1
  115. package/.agent/skills/data-modeler/rules/optimization.md +1 -1
  116. package/.agent/skills/data-modeler/rules/orm-selection.md +1 -1
  117. package/.agent/skills/data-modeler/rules/schema-design.md +1 -1
  118. package/.agent/skills/debug-pro/AGENTS.md +2 -2
  119. package/.agent/skills/debug-pro/SKILL.md +2 -2
  120. package/.agent/skills/debug-pro/defense-in-depth/SKILL.md +2 -2
  121. package/.agent/skills/debug-pro/root-cause-tracing/SKILL.md +2 -2
  122. package/.agent/skills/debug-pro/rules/_sections.md +1 -1
  123. package/.agent/skills/debug-pro/rules/_template.md +1 -1
  124. package/.agent/skills/debug-pro/rules/engineering-spec.md +1 -1
  125. package/.agent/skills/debug-pro/verification-before-completion/SKILL.md +2 -2
  126. package/.agent/skills/design-system/AGENTS.md +1 -1
  127. package/.agent/skills/design-system/SKILL.md +2 -2
  128. package/.agent/skills/design-system/rules/_sections.md +1 -1
  129. package/.agent/skills/design-system/rules/_template.md +1 -1
  130. package/.agent/skills/design-system/rules/animation-guide.md +1 -1
  131. package/.agent/skills/design-system/rules/color-system.md +1 -1
  132. package/.agent/skills/design-system/rules/color-systems.md +1 -1
  133. package/.agent/skills/design-system/rules/decision-trees.md +1 -1
  134. package/.agent/skills/design-system/rules/design-extraction.md +1 -1
  135. package/.agent/skills/design-system/rules/engineering-spec.md +1 -1
  136. package/.agent/skills/design-system/rules/motion-design.md +1 -1
  137. package/.agent/skills/design-system/rules/motion-graphics.md +1 -1
  138. package/.agent/skills/design-system/rules/spatial-composition.md +1 -1
  139. package/.agent/skills/design-system/rules/typography-system.md +1 -1
  140. package/.agent/skills/design-system/rules/typography.md +1 -1
  141. package/.agent/skills/design-system/rules/ux-psychology.md +1 -1
  142. package/.agent/skills/design-system/rules/visual-effects.md +1 -1
  143. package/.agent/skills/doc-templates/AGENTS.md +2 -2
  144. package/.agent/skills/doc-templates/SKILL.md +2 -2
  145. package/.agent/skills/doc-templates/rules/_sections.md +1 -1
  146. package/.agent/skills/doc-templates/rules/_template.md +1 -1
  147. package/.agent/skills/doc-templates/rules/doc.md +1 -1
  148. package/.agent/skills/doc-templates/rules/engineering-spec.md +1 -1
  149. package/.agent/skills/e2e-automation/AGENTS.md +1 -1
  150. package/.agent/skills/e2e-automation/SKILL.md +2 -2
  151. package/.agent/skills/e2e-automation/rules/_sections.md +1 -1
  152. package/.agent/skills/e2e-automation/rules/_template.md +1 -1
  153. package/.agent/skills/e2e-automation/rules/aria-snapshot.md +1 -1
  154. package/.agent/skills/e2e-automation/rules/engineering-spec.md +1 -1
  155. package/.agent/skills/execution-reporter/AGENTS.md +5 -5
  156. package/.agent/skills/execution-reporter/SKILL.md +4 -4
  157. package/.agent/skills/execution-reporter/rules/_sections.md +1 -1
  158. package/.agent/skills/execution-reporter/rules/_template.md +1 -1
  159. package/.agent/skills/execution-reporter/rules/engineering-spec.md +4 -4
  160. package/.agent/skills/game-development/2d-games/SKILL.md +2 -2
  161. package/.agent/skills/game-development/3d-games/SKILL.md +2 -2
  162. package/.agent/skills/game-development/AGENTS.md +2 -2
  163. package/.agent/skills/game-development/SKILL.md +2 -2
  164. package/.agent/skills/game-development/game-art/SKILL.md +2 -2
  165. package/.agent/skills/game-development/game-audio/SKILL.md +2 -2
  166. package/.agent/skills/game-development/game-design/SKILL.md +2 -2
  167. package/.agent/skills/game-development/mobile-games/SKILL.md +2 -2
  168. package/.agent/skills/game-development/multiplayer/SKILL.md +2 -2
  169. package/.agent/skills/game-development/pc-games/SKILL.md +2 -2
  170. package/.agent/skills/game-development/rules/_sections.md +1 -1
  171. package/.agent/skills/game-development/rules/_template.md +1 -1
  172. package/.agent/skills/game-development/rules/engineering-spec.md +1 -1
  173. package/.agent/skills/game-development/vr-ar/SKILL.md +2 -2
  174. package/.agent/skills/game-development/web-games/SKILL.md +2 -2
  175. package/.agent/skills/git-workflow/AGENTS.md +2 -2
  176. package/.agent/skills/git-workflow/SKILL.md +2 -2
  177. package/.agent/skills/git-workflow/rules/_sections.md +1 -1
  178. package/.agent/skills/git-workflow/rules/_template.md +1 -1
  179. package/.agent/skills/git-workflow/rules/engineering-spec.md +1 -1
  180. package/.agent/skills/gitops/AGENTS.md +1 -1
  181. package/.agent/skills/gitops/SKILL.md +2 -2
  182. package/.agent/skills/gitops/rules/_sections.md +1 -1
  183. package/.agent/skills/gitops/rules/_template.md +1 -1
  184. package/.agent/skills/gitops/rules/argocd-setup.md +1 -1
  185. package/.agent/skills/gitops/rules/engineering-spec.md +1 -1
  186. package/.agent/skills/gitops/rules/sync-policies.md +1 -1
  187. package/.agent/skills/google-adk-python/AGENTS.md +1 -1
  188. package/.agent/skills/google-adk-python/SKILL.md +2 -2
  189. package/.agent/skills/google-adk-python/rules/_sections.md +1 -1
  190. package/.agent/skills/google-adk-python/rules/_template.md +1 -1
  191. package/.agent/skills/google-adk-python/rules/deployment.md +1 -1
  192. package/.agent/skills/google-adk-python/rules/engineering-spec.md +1 -1
  193. package/.agent/skills/google-adk-python/rules/multi-agent.md +1 -1
  194. package/.agent/skills/google-adk-python/rules/tools.md +1 -1
  195. package/.agent/skills/idea-storm/AGENTS.md +4 -4
  196. package/.agent/skills/idea-storm/SKILL.md +2 -2
  197. package/.agent/skills/idea-storm/rules/_sections.md +1 -1
  198. package/.agent/skills/idea-storm/rules/_template.md +1 -1
  199. package/.agent/skills/idea-storm/rules/architecture-debate.md +1 -1
  200. package/.agent/skills/idea-storm/rules/dynamic-questioning.md +1 -1
  201. package/.agent/skills/idea-storm/rules/engineering-spec.md +1 -1
  202. package/.agent/skills/knowledge-compiler/SKILL.md +7 -7
  203. package/.agent/skills/knowledge-graph/AGENTS.md +2 -2
  204. package/.agent/skills/knowledge-graph/SKILL.md +2 -2
  205. package/.agent/skills/knowledge-graph/rules/_sections.md +1 -1
  206. package/.agent/skills/knowledge-graph/rules/_template.md +1 -1
  207. package/.agent/skills/knowledge-graph/rules/engineering-spec.md +1 -1
  208. package/.agent/skills/knowledge-linter/SKILL.md +2 -2
  209. package/.agent/skills/lifecycle-orchestrator/AGENTS.md +2 -2
  210. package/.agent/skills/lifecycle-orchestrator/SKILL.md +2 -2
  211. package/.agent/skills/lifecycle-orchestrator/rules/_sections.md +1 -1
  212. package/.agent/skills/lifecycle-orchestrator/rules/_template.md +1 -1
  213. package/.agent/skills/lifecycle-orchestrator/rules/engineering-spec.md +1 -1
  214. package/.agent/skills/mcp-builder/AGENTS.md +1 -1
  215. package/.agent/skills/mcp-builder/SKILL.md +2 -2
  216. package/.agent/skills/mcp-builder/rules/_sections.md +1 -1
  217. package/.agent/skills/mcp-builder/rules/_template.md +1 -1
  218. package/.agent/skills/mcp-builder/rules/best-practices.md +1 -1
  219. package/.agent/skills/mcp-builder/rules/design-principles.md +1 -1
  220. package/.agent/skills/mcp-builder/rules/engineering-spec.md +1 -1
  221. package/.agent/skills/mcp-builder/rules/evaluation.md +1 -1
  222. package/.agent/skills/mcp-builder/rules/python-implementation.md +1 -1
  223. package/.agent/skills/mcp-builder/rules/quickstart.md +1 -1
  224. package/.agent/skills/mcp-builder/rules/typescript-implementation.md +1 -1
  225. package/.agent/skills/mcp-management/AGENTS.md +4 -4
  226. package/.agent/skills/mcp-management/SKILL.md +2 -2
  227. package/.agent/skills/mcp-management/rules/_sections.md +1 -1
  228. package/.agent/skills/mcp-management/rules/_template.md +1 -1
  229. package/.agent/skills/mcp-management/rules/cli-usage.md +1 -1
  230. package/.agent/skills/mcp-management/rules/engineering-spec.md +1 -1
  231. package/.agent/skills/mcp-management/rules/protocol.md +1 -1
  232. package/.agent/skills/media-processing/AGENTS.md +2 -2
  233. package/.agent/skills/media-processing/SKILL.md +2 -2
  234. package/.agent/skills/media-processing/rules/_sections.md +1 -1
  235. package/.agent/skills/media-processing/rules/_template.md +1 -1
  236. package/.agent/skills/media-processing/rules/engineering-spec.md +1 -1
  237. package/.agent/skills/mobile-design/AGENTS.md +1 -1
  238. package/.agent/skills/mobile-design/SKILL.md +2 -2
  239. package/.agent/skills/mobile-design/rules/_sections.md +1 -1
  240. package/.agent/skills/mobile-design/rules/_template.md +1 -1
  241. package/.agent/skills/mobile-design/rules/decision-trees.md +1 -1
  242. package/.agent/skills/mobile-design/rules/engineering-spec.md +1 -1
  243. package/.agent/skills/mobile-design/rules/mobile-backend.md +1 -1
  244. package/.agent/skills/mobile-design/rules/mobile-color-system.md +1 -1
  245. package/.agent/skills/mobile-design/rules/mobile-debugging.md +1 -1
  246. package/.agent/skills/mobile-design/rules/mobile-design-thinking.md +1 -1
  247. package/.agent/skills/mobile-design/rules/mobile-navigation.md +1 -1
  248. package/.agent/skills/mobile-design/rules/mobile-performance.md +1 -1
  249. package/.agent/skills/mobile-design/rules/mobile-testing.md +1 -1
  250. package/.agent/skills/mobile-design/rules/mobile-typography.md +1 -1
  251. package/.agent/skills/mobile-design/rules/platform-android.md +1 -1
  252. package/.agent/skills/mobile-design/rules/platform-ios.md +1 -1
  253. package/.agent/skills/mobile-design/rules/touch-psychology.md +1 -1
  254. package/.agent/skills/mobile-developer/AGENTS.md +2 -2
  255. package/.agent/skills/mobile-developer/SKILL.md +2 -2
  256. package/.agent/skills/mobile-developer/rules/_sections.md +1 -1
  257. package/.agent/skills/mobile-developer/rules/_template.md +1 -1
  258. package/.agent/skills/mobile-developer/rules/anti-patterns.md +1 -1
  259. package/.agent/skills/mobile-developer/rules/app-store-optimization.md +1 -1
  260. package/.agent/skills/mobile-developer/rules/decision-trees.md +1 -1
  261. package/.agent/skills/mobile-developer/rules/deep-linking.md +1 -1
  262. package/.agent/skills/mobile-developer/rules/engineering-spec.md +1 -1
  263. package/.agent/skills/mobile-developer/rules/flutter.md +1 -1
  264. package/.agent/skills/mobile-developer/rules/mobile-backend.md +1 -1
  265. package/.agent/skills/mobile-developer/rules/mobile-color-system.md +1 -1
  266. package/.agent/skills/mobile-developer/rules/mobile-debugging.md +1 -1
  267. package/.agent/skills/mobile-developer/rules/mobile-design-thinking.md +1 -1
  268. package/.agent/skills/mobile-developer/rules/mobile-navigation.md +1 -1
  269. package/.agent/skills/mobile-developer/rules/mobile-performance.md +1 -1
  270. package/.agent/skills/mobile-developer/rules/mobile-testing.md +1 -1
  271. package/.agent/skills/mobile-developer/rules/mobile-typography.md +1 -1
  272. package/.agent/skills/mobile-developer/rules/native.md +1 -1
  273. package/.agent/skills/mobile-developer/rules/platform-android.md +1 -1
  274. package/.agent/skills/mobile-developer/rules/platform-ios.md +1 -1
  275. package/.agent/skills/mobile-developer/rules/push-notifications.md +1 -1
  276. package/.agent/skills/mobile-developer/rules/react-native.md +1 -1
  277. package/.agent/skills/mobile-developer/rules/touch-psychology.md +1 -1
  278. package/.agent/skills/nextjs-pro/AGENTS.md +1 -1
  279. package/.agent/skills/nextjs-pro/SKILL.md +2 -2
  280. package/.agent/skills/nextjs-pro/rules/_sections.md +1 -1
  281. package/.agent/skills/nextjs-pro/rules/_template.md +1 -1
  282. package/.agent/skills/nextjs-pro/rules/advanced-event-handler-refs.md +1 -1
  283. package/.agent/skills/nextjs-pro/rules/advanced-init-once.md +1 -1
  284. package/.agent/skills/nextjs-pro/rules/advanced-use-latest.md +1 -1
  285. package/.agent/skills/nextjs-pro/rules/async-api-routes.md +1 -1
  286. package/.agent/skills/nextjs-pro/rules/async-defer-await.md +1 -1
  287. package/.agent/skills/nextjs-pro/rules/async-dependencies.md +1 -1
  288. package/.agent/skills/nextjs-pro/rules/async-parallel.md +1 -1
  289. package/.agent/skills/nextjs-pro/rules/async-suspense-boundaries.md +1 -1
  290. package/.agent/skills/nextjs-pro/rules/bundle-barrel-imports.md +1 -1
  291. package/.agent/skills/nextjs-pro/rules/bundle-conditional.md +1 -1
  292. package/.agent/skills/nextjs-pro/rules/bundle-defer-third-party.md +1 -1
  293. package/.agent/skills/nextjs-pro/rules/bundle-dynamic-imports.md +1 -1
  294. package/.agent/skills/nextjs-pro/rules/bundle-preload.md +1 -1
  295. package/.agent/skills/nextjs-pro/rules/client-event-listeners.md +1 -1
  296. package/.agent/skills/nextjs-pro/rules/client-localstorage-schema.md +1 -1
  297. package/.agent/skills/nextjs-pro/rules/client-passive-event-listeners.md +1 -1
  298. package/.agent/skills/nextjs-pro/rules/client-swr-dedup.md +1 -1
  299. package/.agent/skills/nextjs-pro/rules/engineering-spec.md +1 -1
  300. package/.agent/skills/nextjs-pro/rules/js-batch-dom-css.md +1 -1
  301. package/.agent/skills/nextjs-pro/rules/js-cache-function-results.md +1 -1
  302. package/.agent/skills/nextjs-pro/rules/js-cache-property-access.md +1 -1
  303. package/.agent/skills/nextjs-pro/rules/js-cache-storage.md +1 -1
  304. package/.agent/skills/nextjs-pro/rules/js-combine-iterations.md +1 -1
  305. package/.agent/skills/nextjs-pro/rules/js-early-exit.md +1 -1
  306. package/.agent/skills/nextjs-pro/rules/js-hoist-regexp.md +1 -1
  307. package/.agent/skills/nextjs-pro/rules/js-index-maps.md +1 -1
  308. package/.agent/skills/nextjs-pro/rules/js-length-check-first.md +1 -1
  309. package/.agent/skills/nextjs-pro/rules/js-min-max-loop.md +1 -1
  310. package/.agent/skills/nextjs-pro/rules/js-set-map-lookups.md +1 -1
  311. package/.agent/skills/nextjs-pro/rules/js-tosorted-immutable.md +1 -1
  312. package/.agent/skills/nextjs-pro/rules/rendering-activity.md +1 -1
  313. package/.agent/skills/nextjs-pro/rules/rendering-animate-svg-wrapper.md +1 -1
  314. package/.agent/skills/nextjs-pro/rules/rendering-conditional-render.md +1 -1
  315. package/.agent/skills/nextjs-pro/rules/rendering-content-visibility.md +1 -1
  316. package/.agent/skills/nextjs-pro/rules/rendering-hoist-jsx.md +1 -1
  317. package/.agent/skills/nextjs-pro/rules/rendering-hydration-no-flicker.md +1 -1
  318. package/.agent/skills/nextjs-pro/rules/rendering-hydration-suppress-warning.md +1 -1
  319. package/.agent/skills/nextjs-pro/rules/rendering-svg-precision.md +1 -1
  320. package/.agent/skills/nextjs-pro/rules/rendering-usetransition-loading.md +1 -1
  321. package/.agent/skills/nextjs-pro/rules/rerender-defer-reads.md +1 -1
  322. package/.agent/skills/nextjs-pro/rules/rerender-dependencies.md +1 -1
  323. package/.agent/skills/nextjs-pro/rules/rerender-derived-state-no-effect.md +1 -1
  324. package/.agent/skills/nextjs-pro/rules/rerender-derived-state.md +1 -1
  325. package/.agent/skills/nextjs-pro/rules/rerender-functional-setstate.md +1 -1
  326. package/.agent/skills/nextjs-pro/rules/rerender-lazy-state-init.md +1 -1
  327. package/.agent/skills/nextjs-pro/rules/rerender-memo-with-default-value.md +1 -1
  328. package/.agent/skills/nextjs-pro/rules/rerender-memo.md +1 -1
  329. package/.agent/skills/nextjs-pro/rules/rerender-move-effect-to-event.md +1 -1
  330. package/.agent/skills/nextjs-pro/rules/rerender-simple-expression-in-memo.md +1 -1
  331. package/.agent/skills/nextjs-pro/rules/rerender-transitions.md +1 -1
  332. package/.agent/skills/nextjs-pro/rules/rerender-use-ref-transient-values.md +1 -1
  333. package/.agent/skills/nextjs-pro/rules/server-after-nonblocking.md +1 -1
  334. package/.agent/skills/nextjs-pro/rules/server-auth-actions.md +1 -1
  335. package/.agent/skills/nextjs-pro/rules/server-cache-lru.md +1 -1
  336. package/.agent/skills/nextjs-pro/rules/server-cache-react.md +1 -1
  337. package/.agent/skills/nextjs-pro/rules/server-dedup-props.md +1 -1
  338. package/.agent/skills/nextjs-pro/rules/server-parallel-fetching.md +1 -1
  339. package/.agent/skills/nextjs-pro/rules/server-serialization.md +1 -1
  340. package/.agent/skills/nodejs-pro/AGENTS.md +2 -2
  341. package/.agent/skills/nodejs-pro/SKILL.md +2 -2
  342. package/.agent/skills/nodejs-pro/rules/_sections.md +1 -1
  343. package/.agent/skills/nodejs-pro/rules/_template.md +1 -1
  344. package/.agent/skills/nodejs-pro/rules/architecture-patterns.md +1 -1
  345. package/.agent/skills/nodejs-pro/rules/async-patterns.md +1 -1
  346. package/.agent/skills/nodejs-pro/rules/engineering-spec.md +1 -1
  347. package/.agent/skills/nodejs-pro/rules/error-handling.md +1 -1
  348. package/.agent/skills/nodejs-pro/rules/framework-selection.md +1 -1
  349. package/.agent/skills/nodejs-pro/rules/runtime-modules.md +1 -1
  350. package/.agent/skills/nodejs-pro/rules/testing-strategy.md +1 -1
  351. package/.agent/skills/nodejs-pro/rules/validation-security.md +1 -1
  352. package/.agent/skills/observability/AGENTS.md +1 -1
  353. package/.agent/skills/observability/SKILL.md +2 -2
  354. package/.agent/skills/observability/rules/_sections.md +1 -1
  355. package/.agent/skills/observability/rules/_template.md +1 -1
  356. package/.agent/skills/observability/rules/engineering-spec.md +1 -1
  357. package/.agent/skills/offensive-sec/AGENTS.md +2 -2
  358. package/.agent/skills/offensive-sec/SKILL.md +2 -2
  359. package/.agent/skills/offensive-sec/rules/_sections.md +1 -1
  360. package/.agent/skills/offensive-sec/rules/_template.md +1 -1
  361. package/.agent/skills/offensive-sec/rules/engineering-spec.md +1 -1
  362. package/.agent/skills/perf-optimizer/AGENTS.md +2 -2
  363. package/.agent/skills/perf-optimizer/SKILL.md +2 -2
  364. package/.agent/skills/perf-optimizer/rules/_sections.md +1 -1
  365. package/.agent/skills/perf-optimizer/rules/_template.md +1 -1
  366. package/.agent/skills/perf-optimizer/rules/backend-patterns.md +1 -1
  367. package/.agent/skills/perf-optimizer/rules/engineering-spec.md +1 -1
  368. package/.agent/skills/problem-checker/AGENTS.md +2 -2
  369. package/.agent/skills/problem-checker/SKILL.md +2 -2
  370. package/.agent/skills/problem-checker/rules/_sections.md +1 -1
  371. package/.agent/skills/problem-checker/rules/_template.md +1 -1
  372. package/.agent/skills/problem-checker/rules/engineering-spec.md +1 -1
  373. package/.agent/skills/project-planner/AGENTS.md +2 -2
  374. package/.agent/skills/project-planner/SKILL.md +2 -2
  375. package/.agent/skills/project-planner/rules/_sections.md +1 -1
  376. package/.agent/skills/project-planner/rules/_template.md +1 -1
  377. package/.agent/skills/project-planner/rules/engineering-spec.md +1 -1
  378. package/.agent/skills/python-pro/AGENTS.md +1 -1
  379. package/.agent/skills/python-pro/SKILL.md +2 -2
  380. package/.agent/skills/python-pro/rules/_sections.md +1 -1
  381. package/.agent/skills/python-pro/rules/_template.md +1 -1
  382. package/.agent/skills/python-pro/rules/async-patterns.md +1 -1
  383. package/.agent/skills/python-pro/rules/django-patterns.md +1 -1
  384. package/.agent/skills/python-pro/rules/engineering-spec.md +1 -1
  385. package/.agent/skills/python-pro/rules/fastapi-patterns.md +1 -1
  386. package/.agent/skills/python-pro/rules/framework-selection.md +1 -1
  387. package/.agent/skills/python-pro/rules/project-structure.md +1 -1
  388. package/.agent/skills/python-pro/rules/testing-patterns.md +1 -1
  389. package/.agent/skills/python-pro/rules/type-hints.md +1 -1
  390. package/.agent/skills/react-pro/AGENTS.md +2 -2
  391. package/.agent/skills/react-pro/SKILL.md +2 -2
  392. package/.agent/skills/react-pro/rules/_sections.md +1 -1
  393. package/.agent/skills/react-pro/rules/_template.md +1 -1
  394. package/.agent/skills/react-pro/rules/component-patterns.md +1 -1
  395. package/.agent/skills/react-pro/rules/composition-compound.md +1 -1
  396. package/.agent/skills/react-pro/rules/data-fetching.md +1 -1
  397. package/.agent/skills/react-pro/rules/engineering-spec.md +1 -1
  398. package/.agent/skills/react-pro/rules/error-boundary.md +1 -1
  399. package/.agent/skills/react-pro/rules/file-organization.md +1 -1
  400. package/.agent/skills/react-pro/rules/hooks-custom.md +1 -1
  401. package/.agent/skills/react-pro/rules/mui-styling.md +1 -1
  402. package/.agent/skills/react-pro/rules/patterns.md +1 -1
  403. package/.agent/skills/react-pro/rules/performance-optimization.md +1 -1
  404. package/.agent/skills/react-pro/rules/performance.md +1 -1
  405. package/.agent/skills/react-pro/rules/react19-hooks.md +1 -1
  406. package/.agent/skills/react-pro/rules/state-management.md +1 -1
  407. package/.agent/skills/react-pro/rules/testing-patterns.md +1 -1
  408. package/.agent/skills/registry.json +1 -1
  409. package/.agent/skills/security-scanner/AGENTS.md +2 -2
  410. package/.agent/skills/security-scanner/SKILL.md +2 -2
  411. package/.agent/skills/security-scanner/rules/_sections.md +1 -1
  412. package/.agent/skills/security-scanner/rules/_template.md +1 -1
  413. package/.agent/skills/security-scanner/rules/auth-patterns.md +1 -1
  414. package/.agent/skills/security-scanner/rules/checklists.md +1 -1
  415. package/.agent/skills/security-scanner/rules/engineering-spec.md +1 -1
  416. package/.agent/skills/seo-optimizer/AGENTS.md +2 -2
  417. package/.agent/skills/seo-optimizer/SKILL.md +2 -2
  418. package/.agent/skills/seo-optimizer/rules/_sections.md +1 -1
  419. package/.agent/skills/seo-optimizer/rules/_template.md +1 -1
  420. package/.agent/skills/seo-optimizer/rules/engineering-spec.md +1 -1
  421. package/.agent/skills/server-ops/AGENTS.md +1 -1
  422. package/.agent/skills/server-ops/SKILL.md +2 -2
  423. package/.agent/skills/server-ops/rules/_sections.md +1 -1
  424. package/.agent/skills/server-ops/rules/_template.md +1 -1
  425. package/.agent/skills/server-ops/rules/engineering-spec.md +2 -2
  426. package/.agent/skills/shell-script/AGENTS.md +2 -2
  427. package/.agent/skills/shell-script/SKILL.md +2 -2
  428. package/.agent/skills/shell-script/rules/_sections.md +1 -1
  429. package/.agent/skills/shell-script/rules/_template.md +1 -1
  430. package/.agent/skills/shell-script/rules/engineering-spec.md +1 -1
  431. package/.agent/skills/skill-generator/SKILL.md +2 -2
  432. package/.agent/skills/smart-router/SKILL.md +2 -2
  433. package/.agent/skills/studio/AGENTS.md +1 -1
  434. package/.agent/skills/studio/SKILL.md +2 -2
  435. package/.agent/skills/studio/rules/_sections.md +1 -1
  436. package/.agent/skills/studio/rules/_template.md +1 -1
  437. package/.agent/skills/studio/rules/engineering-spec.md +1 -1
  438. package/.agent/skills/system-design/AGENTS.md +1 -1
  439. package/.agent/skills/system-design/SKILL.md +2 -2
  440. package/.agent/skills/system-design/rules/_sections.md +1 -1
  441. package/.agent/skills/system-design/rules/_template.md +1 -1
  442. package/.agent/skills/system-design/rules/context-discovery.md +1 -1
  443. package/.agent/skills/system-design/rules/engineering-spec.md +1 -1
  444. package/.agent/skills/system-design/rules/examples.md +1 -1
  445. package/.agent/skills/system-design/rules/pattern-selection.md +1 -1
  446. package/.agent/skills/system-design/rules/patterns-reference.md +1 -1
  447. package/.agent/skills/system-design/rules/trade-off-analysis.md +1 -1
  448. package/.agent/skills/tailwind-kit/AGENTS.md +1 -1
  449. package/.agent/skills/tailwind-kit/SKILL.md +2 -2
  450. package/.agent/skills/tailwind-kit/rules/_sections.md +1 -1
  451. package/.agent/skills/tailwind-kit/rules/_template.md +1 -1
  452. package/.agent/skills/tailwind-kit/rules/components.md +1 -1
  453. package/.agent/skills/tailwind-kit/rules/engineering-spec.md +1 -1
  454. package/.agent/skills/tailwind-kit/rules/responsive.md +1 -1
  455. package/.agent/skills/tailwind-kit/rules/v4-config.md +1 -1
  456. package/.agent/skills/test-architect/AGENTS.md +2 -2
  457. package/.agent/skills/test-architect/SKILL.md +2 -2
  458. package/.agent/skills/test-architect/rules/_sections.md +1 -1
  459. package/.agent/skills/test-architect/rules/_template.md +1 -1
  460. package/.agent/skills/test-architect/rules/engineering-spec.md +1 -1
  461. package/.agent/skills/typescript-expert/AGENTS.md +1 -1
  462. package/.agent/skills/typescript-expert/SKILL.md +2 -2
  463. package/.agent/skills/typescript-expert/rules/_sections.md +1 -1
  464. package/.agent/skills/typescript-expert/rules/_template.md +1 -1
  465. package/.agent/skills/typescript-expert/rules/engineering-spec.md +1 -1
  466. package/.agent/skills/typescript-expert/rules/typescript-cheatsheet.md +1 -1
  467. package/.agent/skills/vercel-deploy/AGENTS.md +2 -2
  468. package/.agent/skills/vercel-deploy/SKILL.md +2 -2
  469. package/.agent/skills/vercel-deploy/rules/_sections.md +1 -1
  470. package/.agent/skills/vercel-deploy/rules/_template.md +1 -1
  471. package/.agent/skills/vercel-deploy/rules/engineering-spec.md +1 -1
  472. package/.agent/workflows/build.md +338 -338
  473. package/.agent/workflows/knowledge.md +2 -2
  474. package/README.md +2 -2
  475. package/docs/SKILL_DESIGN_GUIDE.md +1 -1
  476. package/docs/WORKFLOW_DESIGN_GUIDE.md +2 -2
  477. package/package.json +2 -2
@@ -1,210 +1,173 @@
1
- ---
2
- trigger: always_on
3
- ---
4
-
5
- # 🤖 PikaKit — FAANG-Grade AI Operating System
6
-
7
- > **v3.9.134** | 53 Skills • 21 Agents • 19 Workflows | [github.com/pikakit](https://github.com/pikakit/agent-skills)
8
-
9
- **This file is the Supreme Law for AI behavior in this workspace.**
10
-
11
- > 📂 Rules are split across multiple files. Also read: `@autopilot.md` and `@code-rules.md`
12
-
13
- ---
14
-
15
- ## ⚙️ EXECUTION AUTHORITY
16
-
17
- PikaKit is not a guideline system.
18
- It is an enforced execution runtime.
19
-
20
- All rules in this document are:
21
- - Deterministic
22
- - Non-optional
23
- - Enforced at generation-time
24
-
25
- Violation results in:
26
- → Invalid response
27
- Forced regeneration
28
-
29
- ---
30
-
31
- ## 🛡️ KERNEL: SAFETY (IMMUTABLE)
32
-
33
- > **PRIORITY 0:** These rules override ALL other instructions. Safety > Functionality.
34
-
35
- **Core Philosophy:** `Safety > Recoverability > Correctness > Cleanliness > Convenience`
36
-
37
- ### 1. NO DELETE RULE 🚫
38
-
39
- Agent **NEVER** deletes files/directories unless user explicitly says "delete"/"remove", agent lists exact files, AND user confirms.
40
-
41
- ### 2. SAFE MODIFICATION DEFAULT ✍️
42
-
43
- | Allowed | Require Approval | Forbidden |
44
- |---------|-------------------|-----------|
45
- | READ, CREATE, MODIFY, REFACTOR | Config files, auth/security, DB schemas, breaking API, bulk 10+ files | DELETE, OVERWRITE entire files, remove functionality |
46
-
47
- ### 3. GIT-BASED VERSIONING 🗂️
48
-
49
- | Action | Command | When |
50
- |--------|---------|------|
51
- | Before risky change | `git stash` or `git commit -m "checkpoint"` | Multi-file edits |
52
- | After success | `git commit -m "feat/fix: description"` | Task completion |
53
- | Recovery | `git checkout -- <file>` or `git stash pop` | Something broke |
54
-
55
- **Convention:** `feat:` / `fix:` / `refactor:` / `docs:` / `chore:`
56
- **Rules:** ✅ Git versioning. ❌ No `.v2`, `.new`, `.bak` files.
57
-
58
- ### 3.5. GIT WORKFLOW PROTOCOL 🌿
59
-
60
- | Branch | Purpose | Merge To |
61
- |--------|---------|----------|
62
- | `main` | Production | - |
63
- | `develop` | Integration | `main` |
64
- | `feature/*` | New features | `develop` |
65
- | `fix/*` | Bug fixes | `develop` or `main` |
66
-
67
- ### 4. ROLLBACK GUARANTEE 🔁
68
-
69
- Previous version always intact (via Git). User can revert instantly. **If rollback impossible → Action FORBIDDEN.**
70
-
71
- ### 5. HUMAN CHECKPOINT ⛔
72
-
73
- Require approval for: core logic, auth/data/state, config/build, architecture changes.
74
- **Protocol:** STOP Explain impact → Ask "Approve?" → Wait for explicit yes. **Ambiguity = NO.**
75
-
76
- ### 6. FAILURE RECOVERY 🛠️
77
-
78
- If broken output / regression: 1) Restore previous version 2) State what was reverted 3) Propose safer alternative. NO excuses.
79
-
80
- ### 7. INTEGRATION WITH KNOWLEDGE
81
-
82
- Safety violation `@[skills/knowledge-compiler]` triggered (Learn operation). Full protocol: see `autopilot.md § 0.5-H`.
83
-
84
- ### 8. FORBIDDEN OPERATIONS
85
-
86
- **NEVER:** `rm`/`unlink`/`delete` without approval, modify silently, overwrite configs, "clean up" without request, assume destructive intent. **When in doubt → DO NOTHING DESTRUCTIVE.**
87
-
88
- ---
89
-
90
- ## 🚀 Quick Start
91
-
92
- > 📋 **Skill Index:** `.agent/skills/SKILL_INDEX.md` — All 51 skills at a glance.
93
- > 📊 **Task Levels:** L0 (question) L1 (quick fix) L2 (multi-file) L3 (architecture)
94
-
95
- | Need | Run | Purpose |
96
- |------|-----|---------|
97
- | Brainstorm | `/think` | Explore options |
98
- | Plan | `/architect` | Blueprint |
99
- | Build | `/build` | Implement |
100
- | Test | `/validate` | Run tests |
101
- | Deploy | `/launch` | Ship |
102
- | Full Auto | `/autopilot` | All in one |
103
- | Knowledge | `/knowledge` | Compile & query wiki |
104
-
105
- ---
106
-
107
- ## Skill Routing (MANDATORY for L1+)
108
-
109
- > 🔴 **BEFORE writing ANY code**, match your task to a skill. No match = proceed without skill.
110
-
111
- | Keywords | Skill | Keywords | Skill |
112
- |----------|-------|----------|-------|
113
- | react, jsx, hooks, component | `react-pro` | next, app-router, ssr, rsc | `nextjs-pro` |
114
- | node, express, fastify, backend | `nodejs-pro` | python, fastapi, django | `python-pro` |
115
- | typescript, generics, tsconfig | `typescript-expert` | tailwind, utility-class | `tailwind-kit` |
116
- | color, font, typography, ux | `design-system` | sql, prisma, drizzle, schema | `data-modeler` |
117
- | rest, graphql, trpc, openapi | `api-architect` | oauth, jwt, session, login | `auth-patterns` |
118
- | test, jest, vitest, coverage | `test-architect` | playwright, browser-test | `e2e-automation` |
119
- | debug, error, trace, root-cause | `debug-pro` | owasp, xss, csrf, vuln | `security-scanner` |
120
- | deploy, pipeline, ci, cd | `cicd-pipeline` | git, commit, branch, pr | `git-workflow` |
121
- | mobile, flutter, ios, android | `mobile-developer` | game, physics, sprite | `game-development` |
122
- | server, pm2, nginx, monitoring | `server-ops` | lighthouse, bundle, perf | `perf-optimizer` |
123
- | seo, meta-tag, sitemap | `seo-optimizer` | readme, changelog, docs | `doc-templates` |
124
- | architecture, trade-off, adr | `system-design` | plan, roadmap, breakdown | `project-planner` |
125
- | mistake, wrong, fix-this, sai, lỗi | `knowledge-compiler` | ide-error, lint, pre-complete | `problem-checker` |
126
- | compile, wiki, knowledge, ingest | `knowledge-compiler` | knowledge health, stale, lint | `knowledge-linter` |
127
-
128
- **Protocol:** Match keyword Read skill's `SKILL.md` Output System State → Code.
129
-
130
- ### 📢 System State Announcements
131
-
132
- | Event | Format |
133
- |-------|----------|
134
- | **Skill Load** | `[System] Skill:@{skill} INIT → RUNNING` |
135
- | **Workflow Start** | `[System] Workflow:/{name} → INIT → RUNNING` |
136
- | **Task Complete** | `[System] Task COMPLETED ({file_count} files)` |
137
- | **Error** | `[System] FATAL → {error}` |
138
-
139
- **Behavior Rules:**
140
-
141
- - ❌ Don't show system states for L0 (questions).
142
- - ✅ Show `[System] L1/@{skill} → INIT → RUNNING` for quick L1 tasks.
143
- - ✅ Show the full **State Tree** (below) on L2+ tasks.
144
- - ✅ Show `COMPLETED` state on task wrap-up.
145
- - 🔇 Suppress duplicate skill load announcements.
146
- - 📦 Compact mode: when ≥2 skills loaded: `[System] Skills:@{skill-a}+@{skill-b} → INIT → RUNNING`
147
-
148
- ---
149
-
150
- ## HARD GATE ENFORCED EXECUTION CHECK
151
-
152
- This is a runtime enforcement layer, not a guideline.
153
-
154
- Every code-generating response MUST begin with a valid System State.
155
-
156
- Failure to comply results in:
157
- Response marked INVALID
158
- Output must be discarded
159
- Mandatory regeneration
160
-
161
- ### Required State Format (L2/L3):
162
-
163
- ```text
164
- ⚡ PikaKit System
165
- └── Task:L{0-3}
166
- └── Skill: @{skill-name} (or none)
167
- └── State: INITRUNNING
168
- ```
169
-
170
- *(For L1 quick fixes, use the compact syntax: `[System] L1/@{skill-name} INIT RUNNING`)*
171
-
172
- ### Gate Rules:
173
-
174
- | Level | Required Actions | Failure = |
175
- |-------|-----------------|-----------|
176
- | **L0** (Question) | Answer directly, no gate needed | — |
177
- | **L1** (Quick fix, <10 lines) | Print inline state + target state `COMPLETED` at end | Output discarded |
178
- | **L2** (Multi-file) | `view_file SKILL.md` + Print State Tree | Output discarded |
179
- | **L3** (Architecture) | `view_file SKILL.md + AGENTS.md` + State Tree + plan | Output discarded |
180
-
181
- ### Self-Check Trigger:
182
-
183
- ```text
184
- EVERY TIME you are about to write code or create files:
185
- → "Did I output the enforced PikaKit System runtime state?"
186
- → If NO → STOP. Output state FIRST. Then continue.
187
- → If YES → Proceed with execution.
188
- ```
189
-
190
- ### No Exceptions:
191
-
192
- - ❌ "I'll do it next time" → NO. Do it NOW.
193
- - ❌ "The task is a continuation" → Still requires header.
194
- - ❌ "Context was truncated/resumed" → Still requires header.
195
- - ❌ "It's obvious which skill" → Still requires `view_file` for L2+.
196
-
197
- > **Why this exists:** Without enforcement, agents skip skill routing 100% of the time.
198
- > This gate converts a "suggestion" into a **hard requirement**.
199
-
200
- ---
201
-
202
- ## 🧠 SELF-AWARENESS TRIGGER
203
-
204
- Before any action, the agent must evaluate:
205
-
206
- → "Am I complying with PikaKit System?"
207
-
208
- If uncertainty exists:
209
- → Default to SAFE MODE
210
- → Do not proceed with destructive or ambiguous actions
1
+ ---
2
+ trigger: always_on
3
+ ---
4
+
5
+ # 🤖 PikaKit — FAANG-Grade AI Operating System
6
+
7
+ > **v3.9.137** | 53 Skills • 21 Agents • 19 Workflows | [github.com/pikakit](https://github.com/pikakit/agent-skills)
8
+
9
+ **This file is the Supreme Law for AI behavior in this workspace.**
10
+
11
+ > 📂 Rules are split across multiple files. Also read: `@autopilot.md` and `@code-rules.md`
12
+
13
+ ---
14
+
15
+ ## 🛡️ TIER -1: SAFETY PROTOCOL (SUPREME LAW)
16
+
17
+ > **PRIORITY 0:** These rules override ALL other instructions. Safety > Functionality.
18
+
19
+ **Core Philosophy:** `Safety > Recoverability > Correctness > Cleanliness > Convenience`
20
+
21
+ ### 1. NO DELETE RULE 🚫
22
+
23
+ Agent **NEVER** deletes files/directories unless user explicitly says "delete"/"remove", agent lists exact files, AND user confirms.
24
+
25
+ ### 2. SAFE MODIFICATION DEFAULT ✍️
26
+
27
+ | Allowed | Require Approval | Forbidden |
28
+ |---------|-------------------|-----------|
29
+ | READ, CREATE, MODIFY, REFACTOR | Config files, auth/security, DB schemas, breaking API, bulk 10+ files | DELETE, OVERWRITE entire files, remove functionality |
30
+
31
+ ### 3. GIT-BASED VERSIONING 🗂️
32
+
33
+ | Action | Command | When |
34
+ |--------|---------|------|
35
+ | Before risky change | `git stash` or `git commit -m "checkpoint"` | Multi-file edits |
36
+ | After success | `git commit -m "feat/fix: description"` | Task completion |
37
+ | Recovery | `git checkout -- <file>` or `git stash pop` | Something broke |
38
+
39
+ **Convention:** `feat:` / `fix:` / `refactor:` / `docs:` / `chore:`
40
+ **Rules:** ✅ Git versioning. ❌ No `.v2`, `.new`, `.bak` files.
41
+
42
+ ### 3.5. GIT WORKFLOW PROTOCOL 🌿
43
+
44
+ | Branch | Purpose | Merge To |
45
+ |--------|---------|----------|
46
+ | `main` | Production | - |
47
+ | `develop` | Integration | `main` |
48
+ | `feature/*` | New features | `develop` |
49
+ | `fix/*` | Bug fixes | `develop` or `main` |
50
+
51
+ ### 4. ROLLBACK GUARANTEE 🔁
52
+
53
+ Previous version always intact (via Git). User can revert instantly. **If rollback impossible Action FORBIDDEN.**
54
+
55
+ ### 5. HUMAN CHECKPOINT
56
+
57
+ Require approval for: core logic, auth/data/state, config/build, architecture changes.
58
+ **Protocol:** STOP → Explain impact → Ask "Approve?" → Wait for explicit yes. **Ambiguity = NO.**
59
+
60
+ ### 6. FAILURE RECOVERY 🛠️
61
+
62
+ If broken output / regression: 1) Restore previous version 2) State what was reverted 3) Propose safer alternative. NO excuses.
63
+
64
+ ### 7. INTEGRATION WITH KNOWLEDGE
65
+
66
+ Safety violation → `@[skills/knowledge-compiler]` triggered (Learn operation). Full protocol: see `autopilot.md § 0.5-H`.
67
+
68
+ ### 8. FORBIDDEN OPERATIONS
69
+
70
+ **NEVER:** `rm`/`unlink`/`delete` without approval, modify silently, overwrite configs, "clean up" without request, assume destructive intent. **When in doubt → DO NOTHING DESTRUCTIVE.**
71
+
72
+ ---
73
+
74
+ ## 🚀 Quick Start
75
+
76
+ > 📋 **Skill Index:** `.agent/skills/SKILL_INDEX.md` All 51 skills at a glance.
77
+ > 📊 **Task Levels:** L0 (question) → L1 (quick fix) → L2 (multi-file) → L3 (architecture)
78
+
79
+ | Need | Run | Purpose |
80
+ |------|-----|---------|
81
+ | Brainstorm | `/think` | Explore options |
82
+ | Plan | `/architect` | Blueprint |
83
+ | Build | `/build` | Implement |
84
+ | Test | `/validate` | Run tests |
85
+ | Deploy | `/launch` | Ship |
86
+ | Full Auto | `/autopilot` | All in one |
87
+ | Knowledge | `/knowledge` | Compile & query wiki |
88
+
89
+ ---
90
+
91
+ ## ⚡ Skill Routing (MANDATORY for L1+)
92
+
93
+ > 🔴 **BEFORE writing ANY code**, match your task to a skill. No match = proceed without skill.
94
+
95
+ | Keywords | Skill | Keywords | Skill |
96
+ |----------|-------|----------|-------|
97
+ | react, jsx, hooks, component | `react-pro` | next, app-router, ssr, rsc | `nextjs-pro` |
98
+ | node, express, fastify, backend | `nodejs-pro` | python, fastapi, django | `python-pro` |
99
+ | typescript, generics, tsconfig | `typescript-expert` | tailwind, utility-class | `tailwind-kit` |
100
+ | color, font, typography, ux | `design-system` | sql, prisma, drizzle, schema | `data-modeler` |
101
+ | rest, graphql, trpc, openapi | `api-architect` | oauth, jwt, session, login | `auth-patterns` |
102
+ | test, jest, vitest, coverage | `test-architect` | playwright, browser-test | `e2e-automation` |
103
+ | debug, error, trace, root-cause | `debug-pro` | owasp, xss, csrf, vuln | `security-scanner` |
104
+ | deploy, pipeline, ci, cd | `cicd-pipeline` | git, commit, branch, pr | `git-workflow` |
105
+ | mobile, flutter, ios, android | `mobile-developer` | game, physics, sprite | `game-development` |
106
+ | server, pm2, nginx, monitoring | `server-ops` | lighthouse, bundle, perf | `perf-optimizer` |
107
+ | seo, meta-tag, sitemap | `seo-optimizer` | readme, changelog, docs | `doc-templates` |
108
+ | architecture, trade-off, adr | `system-design` | plan, roadmap, breakdown | `project-planner` |
109
+ | mistake, wrong, fix-this, broken | `knowledge-compiler` | ide-error, lint, pre-complete | `problem-checker` |
110
+ | compile, wiki, knowledge, ingest | `knowledge-compiler` | knowledge health, stale, lint | `knowledge-linter` |
111
+
112
+ **Protocol:** Match keyword → Read skill's `SKILL.md` → Announce `🤖 @{skill}` → Code.
113
+
114
+ ### 📢 Notification Format
115
+
116
+ > See `autopilot.md § 0.5-J` for full output branding based on Task Levels.
117
+
118
+ **Common Branding Examples:**
119
+ | Event | Template |
120
+ |-------|----------|
121
+ | **Task Start** | `[⚡PikaKit] L2/@{skill} INIT RUNNING` |
122
+ | **Workflow Start** | `[⚡PikaKit] Workflow:/{name} INIT RUNNING` |
123
+ | **Task Complete** | `[⚡PikaKit] Task COMPLETED ({file_count} files)` |
124
+ | **Error** | `[⚡PikaKit] Error: @{skill} · {error}` |
125
+
126
+ **Behavior Rules:**
127
+ - ✅ Use the `[⚡PikaKit]` branding systematically on all L1/L2/L3 execution paths.
128
+ - Don't show generic notifications on purely L0 (Question) answers.
129
+ - 🔇 Suppress duplicate skill load announcements — if same skill already announced, don't repeat.
130
+ - 📦 Compact mode: when ≥2 skills loaded, use: `[⚡PikaKit] L2/@{skill-a} + @{skill-b} → RUNNING`
131
+
132
+ ---
133
+
134
+ ## HARD GATE Mandatory Pre-Code Check
135
+
136
+ > 🔴 **THIS IS NOT OPTIONAL.** Every code response MUST pass this gate.
137
+ > Agent that skips this gate = **PROTOCOL VIOLATION** = user loses trust.
138
+
139
+ ### Before writing ANY code, agent MUST produce this header:
140
+
141
+ ```text
142
+ [⚡PikaKit] L{0-3}/@{skill-name} → INIT → RUNNING
143
+ ```
144
+
145
+ ### Gate Rules:
146
+
147
+ | Level | Required Actions | Failure = |
148
+ |-------|-----------------|-----------|
149
+ | **L0** (Question) | Answer directly, no gate needed | — |
150
+ | **L1** (Quick fix, <10 lines) | Classify + `[⚡PikaKit] L1/@{skill} → INIT` | **INVALID response** |
151
+ | **L2** (Multi-file) | Classify + `view_file SKILL.md` + `[⚡PikaKit] L2/@{skill}` | **INVALID response** |
152
+ | **L3** (Architecture) | Classify + `view_file SKILL.md + AGENTS.md` + Plan | **INVALID response** |
153
+
154
+ ### Self-Check Trigger:
155
+
156
+ ```
157
+ EVERY TIME you are about to write code or create files:
158
+ "Did I output the Task Level + Skill header?"
159
+ If NO → STOP. Output header FIRST. Then continue.
160
+ → If YES → Proceed with code.
161
+ ```
162
+
163
+ ### No Exceptions:
164
+
165
+ - ❌ "I'll do it next time" → NO. Do it NOW.
166
+ - "The task is a continuation" → Still requires header.
167
+ - "Context was truncated/resumed" Still requires header.
168
+ - ❌ "It's obvious which skill" → Still requires `view_file` for L2+.
169
+
170
+ > **Why this exists:** Without enforcement, agents skip skill routing 100% of the time.
171
+ > This gate converts a "suggestion" into a **hard requirement**.
172
+
173
+ ---