vibes-plug 2.14.1 → 3.9.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.
Files changed (151) hide show
  1. package/.claude/rules/vibes-plug-core.md +5 -0
  2. package/.cursor/rules/vibes-plug-core.mdc +7 -2
  3. package/.cursorrules +8 -2
  4. package/AGENTS.md +23 -2
  5. package/CHANGELOG.md +114 -0
  6. package/CLAUDE.md +10 -3
  7. package/README.md +216 -611
  8. package/bin/vibes.mjs +1104 -0
  9. package/package.json +11 -3
  10. package/plugin.json +4 -3
  11. package/scripts/check-anti-slop.mjs +53 -0
  12. package/scripts/install.js +3 -1
  13. package/scripts/update_skills.js +1 -1
  14. package/scripts/update_skills.mjs +86 -0
  15. package/scripts/validate-skills.mjs +111 -0
  16. package/skills/accessibility-testing-expert/SKILL.md +117 -116
  17. package/skills/affective-computing-emotion-ai/SKILL.md +83 -0
  18. package/skills/agentic-coding-workflow-expert/SKILL.md +297 -0
  19. package/skills/agentic-memory-architect/SKILL.md +52 -0
  20. package/skills/agentic-micro-economy-architect/SKILL.md +92 -0
  21. package/skills/ai-llm-integration-expert/SKILL.md +330 -194
  22. package/skills/ai-media-generation-expert/SKILL.md +173 -172
  23. package/skills/ai-prompt-engineering-expert/SKILL.md +204 -134
  24. package/skills/ai-safety-governance-expert/SKILL.md +223 -0
  25. package/skills/angular-expert/SKILL.md +149 -148
  26. package/skills/anti-slop/SKILL.md +134 -133
  27. package/skills/api-design-expert/SKILL.md +4 -3
  28. package/skills/api-gateway-proxy-expert/SKILL.md +3 -2
  29. package/skills/app-analyzer-optimizer/SKILL.md +4 -3
  30. package/skills/apple-ecosystem-expert/SKILL.md +6 -5
  31. package/skills/astro-framework-expert/SKILL.md +201 -200
  32. package/skills/async-queue-temporal-expert/SKILL.md +218 -217
  33. package/skills/authentication-identity-expert/SKILL.md +174 -173
  34. package/skills/autonomous-red-teamer/SKILL.md +338 -203
  35. package/skills/autonomous-tdd-debugger/SKILL.md +6 -5
  36. package/skills/biome-linter-formatter-expert/SKILL.md +90 -89
  37. package/skills/blockchain-web3-expert/SKILL.md +116 -115
  38. package/skills/brainstorming/SKILL.md +392 -377
  39. package/skills/browser-automation-expert/SKILL.md +260 -222
  40. package/skills/bun-runtime-expert/SKILL.md +5 -4
  41. package/skills/chatbot-messaging-expert/SKILL.md +115 -114
  42. package/skills/ci-cd-devops-architect/SKILL.md +3 -2
  43. package/skills/cloud-hosting-expert/SKILL.md +5 -4
  44. package/skills/coderabbit/SKILL.md +5 -4
  45. package/skills/compliance-gdpr-privacy-expert/SKILL.md +3 -2
  46. package/skills/composable-mach-architect/SKILL.md +338 -0
  47. package/skills/cron-scheduler-expert/SKILL.md +5 -4
  48. package/skills/data-pipeline-etl-expert/SKILL.md +3 -2
  49. package/skills/data-telemetry-expert/SKILL.md +5 -4
  50. package/skills/data-visualization-expert/SKILL.md +155 -154
  51. package/skills/database-orm-expert/SKILL.md +166 -165
  52. package/skills/deep-research-analyst/SKILL.md +182 -136
  53. package/skills/dependency-upgrade-migrator/SKILL.md +11 -10
  54. package/skills/design-system-architect/SKILL.md +4 -3
  55. package/skills/desktop-electron-expert/SKILL.md +129 -128
  56. package/skills/documentation-site-expert/SKILL.md +60 -59
  57. package/skills/doku-mcp-server/SKILL.md +5 -4
  58. package/skills/doku-payment-gateway/SKILL.md +250 -232
  59. package/skills/domain-driven-design-expert/SKILL.md +3 -2
  60. package/skills/e2e-testing-expert/SKILL.md +5 -4
  61. package/skills/ecommerce-expert/SKILL.md +88 -87
  62. package/skills/email-notification-expert/SKILL.md +5 -4
  63. package/skills/ephemeral-generative-ui-architect/SKILL.md +88 -0
  64. package/skills/error-resilience-expert/SKILL.md +14 -13
  65. package/skills/event-driven-architect/SKILL.md +5 -4
  66. package/skills/feature-flag-analytics-expert/SKILL.md +3 -2
  67. package/skills/file-upload-media-expert/SKILL.md +5 -4
  68. package/skills/firebase-security-expert/SKILL.md +5 -4
  69. package/skills/form-validation-expert/SKILL.md +7 -6
  70. package/skills/frontier-ai-models-expert/SKILL.md +116 -0
  71. package/skills/fullstack-expert/SKILL.md +185 -184
  72. package/skills/gemini-agent-booster/SKILL.md +248 -172
  73. package/skills/geospatial-maps-expert/SKILL.md +81 -80
  74. package/skills/global-a11y-i18n-expert/SKILL.md +5 -4
  75. package/skills/glsl-shader-expert/SKILL.md +191 -190
  76. package/skills/go-programming-expert/SKILL.md +5 -4
  77. package/skills/graph-rag-knowledge-expert/SKILL.md +201 -200
  78. package/skills/graphql-apollo-expert/SKILL.md +5 -4
  79. package/skills/headless-cms-expert/SKILL.md +182 -181
  80. package/skills/hig/SKILL.md +5 -4
  81. package/skills/js-backend-expert/SKILL.md +219 -218
  82. package/skills/legacy-code-translator/SKILL.md +6 -5
  83. package/skills/llm-finops-router/SKILL.md +52 -0
  84. package/skills/local-slm-edge-ai-expert/SKILL.md +168 -167
  85. package/skills/logging-error-tracking-expert/SKILL.md +5 -4
  86. package/skills/mcp-server-architect/SKILL.md +315 -307
  87. package/skills/micro-frontend-architect/SKILL.md +5 -4
  88. package/skills/mobile-expo-expert/SKILL.md +5 -4
  89. package/skills/modern-css-native-expert/SKILL.md +190 -189
  90. package/skills/monorepo-architect/SKILL.md +5 -4
  91. package/skills/mpa-orchestrator/SKILL.md +41 -4
  92. package/skills/multi-agent-orchestration/SKILL.md +388 -254
  93. package/skills/mvc-expert/SKILL.md +5 -4
  94. package/skills/n8n-automation-expert/SKILL.md +90 -89
  95. package/skills/nextjs-app-router-expert/SKILL.md +3 -2
  96. package/skills/openapi-swagger-codegen-expert/SKILL.md +4 -3
  97. package/skills/payment-gateway-expert/SKILL.md +131 -128
  98. package/skills/pdf-document-generation-expert/SKILL.md +92 -91
  99. package/skills/performance-web-vitals/SKILL.md +5 -4
  100. package/skills/post-quantum-crypto-migrator/SKILL.md +3 -2
  101. package/skills/prd-architect/SKILL.md +183 -182
  102. package/skills/proactive-background-watcher/SKILL.md +5 -4
  103. package/skills/production-ready-hardener/SKILL.md +10 -9
  104. package/skills/pwa-offline-first-expert/SKILL.md +227 -226
  105. package/skills/pydantic-ai-expert/SKILL.md +162 -161
  106. package/skills/python-programming-expert/SKILL.md +5 -4
  107. package/skills/rate-limit-abuse-prevention/SKILL.md +5 -4
  108. package/skills/realtime-collaboration-expert/SKILL.md +3 -2
  109. package/skills/rich-text-editor-expert/SKILL.md +178 -177
  110. package/skills/rust-programming-expert/SKILL.md +5 -4
  111. package/skills/saas-architect/SKILL.md +155 -154
  112. package/skills/saas-billing/SKILL.md +394 -382
  113. package/skills/saas-multi-tenant/SKILL.md +7 -6
  114. package/skills/scalability-clean-code/SKILL.md +5 -4
  115. package/skills/search-engine-expert/SKILL.md +90 -89
  116. package/skills/self-healing-cloud-orchestrator/SKILL.md +3 -2
  117. package/skills/senior-frontend/SKILL.md +14 -9
  118. package/skills/seo/SKILL.md +4 -4
  119. package/skills/session-memory-manager/SKILL.md +129 -128
  120. package/skills/solidjs-expert/SKILL.md +81 -80
  121. package/skills/spa-orchestrator/SKILL.md +5 -4
  122. package/skills/sse-websocket-streaming-expert/SKILL.md +3 -2
  123. package/skills/state-management-expert/SKILL.md +5 -4
  124. package/skills/supabase-security-expert/SKILL.md +5 -4
  125. package/skills/svelte-sveltekit-expert/SKILL.md +92 -91
  126. package/skills/svg-animation-motion-expert/SKILL.md +3 -2
  127. package/skills/synthetic-data-finetuning-expert/SKILL.md +156 -155
  128. package/skills/tailwind-expert/SKILL.md +62 -5
  129. package/skills/tanstack-query-expert/SKILL.md +5 -4
  130. package/skills/tauri-expert/SKILL.md +5 -4
  131. package/skills/typescript-expert/SKILL.md +5 -4
  132. package/skills/ui-ux-pro-max/SKILL.md +7 -6
  133. package/skills/vector-db-rag-expert/SKILL.md +209 -208
  134. package/skills/vercel-ai-sdk-expert/SKILL.md +226 -181
  135. package/skills/voice-ai-realtime-agent/SKILL.md +243 -242
  136. package/skills/vue-frontend-expert/SKILL.md +5 -4
  137. package/skills/wasm-edge-computing-expert/SKILL.md +3 -2
  138. package/skills/web-3d-graphics-expert/SKILL.md +314 -313
  139. package/skills/web-game-engine-expert/SKILL.md +330 -329
  140. package/skills/web-scraper/SKILL.md +158 -157
  141. package/skills/website-design-cloner/SKILL.md +5 -4
  142. package/skills/webxr-ar-vr-expert/SKILL.md +163 -162
  143. package/skills/wordpress-headless-expert/SKILL.md +145 -144
  144. package/skills/zero-tech-debt-auditor/SKILL.md +115 -0
  145. package/skills/zero-to-prod-orchestrator/SKILL.md +281 -229
  146. package/skills/zero-trust-secret-vault/SKILL.md +3 -2
  147. package/BLUEPRINT.md +0 -319
  148. package/skills/bootstrap-to-modern/SKILL.md +0 -94
  149. package/skills/multiple-entry-points/SKILL.md +0 -91
  150. package/skills/secure-fuzz-testing/SKILL.md +0 -207
  151. package/skills/visual-qa-vision-agent/SKILL.md +0 -71
@@ -1,148 +1,149 @@
1
- ---
2
- name: angular-expert
3
- description: "Expert guide for Angular 19+ enterprise applications — Signals, Standalone Components, NgRx SignalStore, SSR with Hydration, and Angular Material 3 / Panduan ahli aplikasi enterprise Angular 19+."
4
- author: "Roedy Rustam"
5
- ---
6
-
7
- # Angular Expert (2026 Edition)
8
-
9
- [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
-
11
- ---
12
-
13
- <a name="english"></a>
14
- ## English
15
-
16
- ### Orchestration & Integration
17
- - **`typescript-expert`**: Strict TypeScript typing and decorators in Angular 19+.
18
- - **`api-design-expert`**: REST and GraphQL client architecture with Angular `HttpClient`.
19
- - **`e2e-testing-expert`**: Playwright and Cypress end-to-end testing for Angular apps.
20
- - **`global-a11y-i18n-expert`**: Angular localized translations (`@angular/localize`) and accessibility compliance.
21
- - **`ci-cd-devops-architect`**: Dockerizing and deploying Angular SSR applications.
22
-
23
- ### Description
24
- Production-ready guide for building scalable, enterprise-grade web applications using Angular 19+. Covers modern Standalone Components (NgModule-free), fine-grained Signals (`signal()`, `computed()`, `effect()`), Signal-based inputs/outputs, NgRx SignalStore, deferrable views (`@defer`), SSR with Event Replay hydration, and Angular Material 3.
25
-
26
- ### Trigger Conditions
27
- - Building or refactoring enterprise-scale Angular applications.
28
- - Migrating legacy Angular (NgModules / RxJS heavy) to Angular 19+ Standalone Components & Signals.
29
- - Implementing state management with NgRx SignalStore.
30
- - Configuring Angular SSR with hydration and deferrable views (`@defer`).
31
-
32
- ---
33
-
34
- ### Core Architecture & Modern Patterns
35
-
36
- #### 1. Standalone Component with Signals & Signal Inputs
37
- ```typescript
38
- import { Component, signal, computed, input, output, ChangeDetectionStrategy } from '@angular/core';
39
- import { CommonModule } from '@angular/common';
40
-
41
- export interface UserItem {
42
- id: string;
43
- name: string;
44
- role: 'admin' | 'member';
45
- }
46
-
47
- @Component({
48
- selector: 'app-user-card',
49
- standalone: true,
50
- imports: [CommonModule],
51
- template: `
52
- <div class="user-card" [class.admin]="isAdmin()">
53
- <h3>{{ user().name }}</h3>
54
- <p>Role: {{ user().role }}</p>
55
- <button (click)="onRoleChange()">Promote</button>
56
- </div>
57
- `,
58
- changeDetection: ChangeDetectionStrategy.OnPush,
59
- })
60
- export class UserCardComponent {
61
- // Signal inputs & outputs (Angular 19+)
62
- user = input.required<UserItem>();
63
- roleUpdated = output<string>();
64
-
65
- isAdmin = computed(() => this.user().role === 'admin');
66
-
67
- onRoleChange() {
68
- this.roleUpdated.emit(this.user().id);
69
- }
70
- }
71
- ```
72
-
73
- #### 2. NgRx SignalStore
74
- ```typescript
75
- import { signalStore, withState, withComputed, withMethods, patchState } from '@ngrx/signals';
76
- import { computed, inject } from '@angular/core';
77
- import { HttpClient } from '@angular/common/http';
78
- import { rxMethod } from '@ngrx/signals/rxjs-interop';
79
- import { pipe, switchMap, tap } from 'rxjs';
80
-
81
- interface ProductsState {
82
- products: Array<{ id: string; title: string; price: number }>;
83
- isLoading: boolean;
84
- filter: string;
85
- }
86
-
87
- const initialState: ProductsState = {
88
- products: [],
89
- isLoading: false,
90
- filter: '',
91
- };
92
-
93
- export const ProductsStore = signalStore(
94
- { providedIn: 'root' },
95
- withState(initialState),
96
- withComputed(({ products, filter }) => ({
97
- filteredProducts: computed(() =>
98
- products().filter((p) => p.title.toLowerCase().includes(filter().toLowerCase()))
99
- ),
100
- totalCount: computed(() => products().length),
101
- })),
102
- withMethods((store, http = inject(HttpClient)) => ({
103
- updateFilter(filter: string) {
104
- patchState(store, { filter });
105
- },
106
- loadProducts: rxMethod<void>(
107
- pipe(
108
- tap(() => patchState(store, { isLoading: true })),
109
- switchMap(() =>
110
- http.get<Array<{ id: string; title: string; price: number }>>('/api/products').pipe(
111
- tap((products) => patchState(store, { products, isLoading: false }))
112
- )
113
- )
114
- )
115
- ),
116
- }))
117
- );
118
- ```
119
-
120
- #### 3. Deferrable Views (`@defer`)
121
- ```html
122
- @defer (on viewport; prefetch on idle) {
123
- <app-analytics-dashboard [data]="dashboardData()" />
124
- } @placeholder {
125
- <div class="skeleton-loader">Loading analytics widget...</div>
126
- } @error {
127
- <p>Failed to load analytics dashboard.</p>
128
- }
129
- ```
130
-
131
- ---
132
-
133
- <a name="bahasa-indonesia"></a>
134
- ## Bahasa Indonesia
135
-
136
- ### Integrasi Orkestrasi
137
- - **`typescript-expert`**: Penggunaan TypeScript ketat dan dekorator pada Angular 19+.
138
- - **`api-design-expert`**: Arsitektur klien REST dan GraphQL dengan `HttpClient`.
139
- - **`e2e-testing-expert`**: Pengujian end-to-end menggunakan Playwright atau Cypress.
140
-
141
- ### Deskripsi
142
- Panduan produksi untuk membangun aplikasi web skala enterprise menggunakan Angular 19+. Mencakup Standalone Components tanpa NgModule, reaktivitas modern berbasis Signals, NgRx SignalStore, deferrable views (`@defer`), SSR dengan hidrasi Event Replay, dan integrasi Angular Material 3.
143
-
144
- ### Kondisi Pemicu
145
- - Membangun atau merestrukturisasi aplikasi enterprise Angular.
146
- - Migrasi Angular lama (berbasis NgModule/RxJS berat) ke Angular 19+ Standalone & Signals.
147
- - Mengelola state aplikasi menggunakan NgRx SignalStore.
148
- - Mengoptimalkan performa rendering dengan deferrable views dan SSR hydration.
1
+ ---
2
+ name: angular-expert
3
+ description: "Expert guide for Angular 19+ enterprise applications — Signals, Standalone Components, NgRx SignalStore, SSR with Hydration, and Angular Material 3 / Panduan ahli aplikasi enterprise Angular 19+."
4
+ author: "Roedy Rustam"
5
+ version: "3.0.0"
6
+ ---
7
+
8
+ # Angular Expert (2026 Edition)
9
+
10
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
11
+
12
+ ---
13
+
14
+ <a name="english"></a>
15
+ ## English
16
+
17
+ ### Orchestration & Integration
18
+ - **`typescript-expert`**: Strict TypeScript typing and decorators in Angular 19+.
19
+ - **`api-design-expert`**: REST and GraphQL client architecture with Angular `HttpClient`.
20
+ - **`e2e-testing-expert`**: Playwright and Cypress end-to-end testing for Angular apps.
21
+ - **`global-a11y-i18n-expert`**: Angular localized translations (`@angular/localize`) and accessibility compliance.
22
+ - **`ci-cd-devops-architect`**: Dockerizing and deploying Angular SSR applications.
23
+
24
+ ### Description
25
+ Production-ready guide for building scalable, enterprise-grade web applications using Angular 19+. Covers modern Standalone Components (NgModule-free), fine-grained Signals (`signal()`, `computed()`, `effect()`), Signal-based inputs/outputs, NgRx SignalStore, deferrable views (`@defer`), SSR with Event Replay hydration, and Angular Material 3.
26
+
27
+ ### Trigger Conditions
28
+ - Building or refactoring enterprise-scale Angular applications.
29
+ - Migrating legacy Angular (NgModules / RxJS heavy) to Angular 19+ Standalone Components & Signals.
30
+ - Implementing state management with NgRx SignalStore.
31
+ - Configuring Angular SSR with hydration and deferrable views (`@defer`).
32
+
33
+ ---
34
+
35
+ ### Core Architecture & Modern Patterns
36
+
37
+ #### 1. Standalone Component with Signals & Signal Inputs
38
+ ```typescript
39
+ import { Component, signal, computed, input, output, ChangeDetectionStrategy } from '@angular/core';
40
+ import { CommonModule } from '@angular/common';
41
+
42
+ export interface UserItem {
43
+ id: string;
44
+ name: string;
45
+ role: 'admin' | 'member';
46
+ }
47
+
48
+ @Component({
49
+ selector: 'app-user-card',
50
+ standalone: true,
51
+ imports: [CommonModule],
52
+ template: `
53
+ <div class="user-card" [class.admin]="isAdmin()">
54
+ <h3>{{ user().name }}</h3>
55
+ <p>Role: {{ user().role }}</p>
56
+ <button (click)="onRoleChange()">Promote</button>
57
+ </div>
58
+ `,
59
+ changeDetection: ChangeDetectionStrategy.OnPush,
60
+ })
61
+ export class UserCardComponent {
62
+ // Signal inputs & outputs (Angular 19+)
63
+ user = input.required<UserItem>();
64
+ roleUpdated = output<string>();
65
+
66
+ isAdmin = computed(() => this.user().role === 'admin');
67
+
68
+ onRoleChange() {
69
+ this.roleUpdated.emit(this.user().id);
70
+ }
71
+ }
72
+ ```
73
+
74
+ #### 2. NgRx SignalStore
75
+ ```typescript
76
+ import { signalStore, withState, withComputed, withMethods, patchState } from '@ngrx/signals';
77
+ import { computed, inject } from '@angular/core';
78
+ import { HttpClient } from '@angular/common/http';
79
+ import { rxMethod } from '@ngrx/signals/rxjs-interop';
80
+ import { pipe, switchMap, tap } from 'rxjs';
81
+
82
+ interface ProductsState {
83
+ products: Array<{ id: string; title: string; price: number }>;
84
+ isLoading: boolean;
85
+ filter: string;
86
+ }
87
+
88
+ const initialState: ProductsState = {
89
+ products: [],
90
+ isLoading: false,
91
+ filter: '',
92
+ };
93
+
94
+ export const ProductsStore = signalStore(
95
+ { providedIn: 'root' },
96
+ withState(initialState),
97
+ withComputed(({ products, filter }) => ({
98
+ filteredProducts: computed(() =>
99
+ products().filter((p) => p.title.toLowerCase().includes(filter().toLowerCase()))
100
+ ),
101
+ totalCount: computed(() => products().length),
102
+ })),
103
+ withMethods((store, http = inject(HttpClient)) => ({
104
+ updateFilter(filter: string) {
105
+ patchState(store, { filter });
106
+ },
107
+ loadProducts: rxMethod<void>(
108
+ pipe(
109
+ tap(() => patchState(store, { isLoading: true })),
110
+ switchMap(() =>
111
+ http.get<Array<{ id: string; title: string; price: number }>>('/api/products').pipe(
112
+ tap((products) => patchState(store, { products, isLoading: false }))
113
+ )
114
+ )
115
+ )
116
+ ),
117
+ }))
118
+ );
119
+ ```
120
+
121
+ #### 3. Deferrable Views (`@defer`)
122
+ ```html
123
+ @defer (on viewport; prefetch on idle) {
124
+ <app-analytics-dashboard [data]="dashboardData()" />
125
+ } @placeholder {
126
+ <div class="skeleton-loader">Loading analytics widget...</div>
127
+ } @error {
128
+ <p>Failed to load analytics dashboard.</p>
129
+ }
130
+ ```
131
+
132
+ ---
133
+
134
+ <a name="bahasa-indonesia"></a>
135
+ ## Bahasa Indonesia
136
+
137
+ ### Integrasi Orkestrasi
138
+ - **`typescript-expert`**: Penggunaan TypeScript ketat dan dekorator pada Angular 19+.
139
+ - **`api-design-expert`**: Arsitektur klien REST dan GraphQL dengan `HttpClient`.
140
+ - **`e2e-testing-expert`**: Pengujian end-to-end menggunakan Playwright atau Cypress.
141
+
142
+ ### Deskripsi
143
+ Panduan produksi untuk membangun aplikasi web skala enterprise menggunakan Angular 19+. Mencakup Standalone Components tanpa NgModule, reaktivitas modern berbasis Signals, NgRx SignalStore, deferrable views (`@defer`), SSR dengan hidrasi Event Replay, dan integrasi Angular Material 3.
144
+
145
+ ### Kondisi Pemicu
146
+ - Membangun atau merestrukturisasi aplikasi enterprise Angular.
147
+ - Migrasi Angular lama (berbasis NgModule/RxJS berat) ke Angular 19+ Standalone & Signals.
148
+ - Mengelola state aplikasi menggunakan NgRx SignalStore.
149
+ - Mengoptimalkan performa rendering dengan deferrable views dan SSR hydration.
@@ -1,133 +1,134 @@
1
- ---
2
- name: anti-slop
3
- description: "Comprehensive Anti-AI Slop enforcement guide. Updated to include token efficiency and code gardening / Panduan penegakan anti-AI slop komprehensif. Diperbarui dengan efisiensi token dan perawatan kode."
4
- author: "Roedy Rustam"
5
- ---
6
-
7
- # Anti-Slop, Token Efficiency & Code Gardening Protocol (2026 Edition)
8
-
9
- [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
-
11
- ---
12
-
13
- <a name="english"></a>
14
- ## English
15
-
16
- ### Description & Trigger Conditions
17
- The absolute zero-tolerance standard against AI slop, bloated context, and architectural decay. AI slop manifests as conversational pleasantries, lazy placeholders, speculative over-engineering, decorative comments, and vague buzzwords. This skill enforces rigorous anti-slop rules, token-saving compression, and code gardening across the engineering lifecycle.
18
- Triggers: Any code generation/modification, automated reviews, long-running sessions, explicit "be concise/minimal" requests, or when a codebase exhibits "AI smell" (inconsistencies, duplication, dead code).
19
-
20
- ---
21
-
22
- ## The 5 Pillars of AI Slop Elimination
23
-
24
- ### Pillar 1: Conversational & Sycophancy Slop
25
- - **🔴 Forbidden**: Preambles ("Certainly! I'd be happy to help"), prompt echoing, apology loops, trailing motivational fluff.
26
- - **✅ Standard**: Imperative, code-first communication. Zero filler.
27
-
28
- ### Pillar 2: Placeholder & Truncation Slop ("Lazy LLM")
29
- - **🔴 Forbidden**: `// TODO: implement`, `// ... rest of code`, or returning mock arrays when production features are requested.
30
- - **✅ Standard**: Output must be 100% complete, functional, and production-ready.
31
-
32
- ### Pillar 3: Speculative & Decorative Over-Engineering Slop
33
- - **🔴 Forbidden**: Creating factory patterns (`IUserServiceFactoryProvider`) for single implementations, triple-validated defensive code when TypeScript/Zod guarantee type safety.
34
- - **✅ Standard**: YAGNI (You Aren't Gonna Need It). Write the simplest direct implementation. Trust the types.
35
-
36
- ### Pillar 4: Obvious & Decorative Comment Slop
37
- - **🔴 Forbidden**: Narrating syntax line-by-line (e.g., `// Increment count by 1 \n setCount(count + 1);`).
38
- - **✅ Standard**: Comments explain WHY (architectural decisions, business constraints), never WHAT.
39
-
40
- ### Pillar 5: Buzzword & Artifact Slop
41
- - **🔴 Forbidden**: Documents filled with generic marketing jargon ("seamless integration", "robust synergy") with zero technical density.
42
- - **✅ Standard**: High technical density with explicit schemas, route tables, column types, and verifiable NFR latency budgets.
43
-
44
- ---
45
-
46
- ## Token Efficiency & Compression Protocol
47
-
48
- ### 1. Response Compression Rules
49
- - **No preamble/restatement/summaries**: Show code immediately, explain briefly after.
50
- - **Diff format**: For file edits, show only changed lines.
51
- - **Bullet > prose**: Use 1-sentence rationales over paragraphs.
52
-
53
- ### 2. Context Window Budget Awareness (200K Context)
54
- ```text
55
- System prompt + skills: ~15K | Conversation history: ~50K | File reads: ~100K | Response: ~35K
56
- ```
57
- - Summarize large files mentally; `view_file` only specific sections. Create a checkpoint with `session-memory-manager` when near full.
58
-
59
- ### 3. Tool Call Minimization & First Draft Quality
60
- - Read multiple files in parallel.
61
- - Use `grep_search` over full reads.
62
- - Generate correct, production-ready code with inline error handling on the first try. Avoid edit-retry cycles.
63
-
64
- ---
65
-
66
- ## Legacy Code Gardening Protocol
67
-
68
- ### 1. Context Drift Analysis & Code Smells
69
- - **Inconsistent Styles**: Mixed `async/await` vs `.then()`, variable namings (`userId` vs `user_id`). Fix with Prettier/ESLint rules.
70
- - **Bloated Components**: 5+ states, 10+ props, 20+ imports. Apply Single Responsibility and split them.
71
- - **Dependency Creep**: Use `npx depcheck` for unused dependencies and `npx bundle-phobia-cli` for sizing.
72
- - **Graveyard of Dead Utilities**: Use semantic search/grep to find and remove 0-usage exported functions.
73
-
74
- ### 2. 4-Phase Gardening Protocol
75
- 1. **Discovery**: Map file tree, find bloated files, duplicated logic, unused exports, and style drift.
76
- 2. **Triage**: Categorize into Critical (bugs/data loss), High (diverging duplicates), Medium (smells), Low (style).
77
- 3. **Systematic Refactoring**: Start smallest first. Remove dead code, extract duplicates, simplify abstractions, standardize names, add tests.
78
- 4. **Prevention**: Add strict ESLint rules, `depcheck` in CI, and architecture tests.
79
-
80
- ---
81
-
82
- ## Automated Anti-Slop Audit Script
83
- Run `scripts/check-anti-slop.js` in CI to detect placeholders (`// ...`), unfinished stubs (`TODO:`), mock data in prod, and syntax narration (`// increment`). Fail builds if AI slop is detected.
84
-
85
- ---
86
-
87
- <a name="bahasa-indonesia"></a>
88
- ## Bahasa Indonesia
89
-
90
- ### Deskripsi & Kondisi Pemicu
91
- Standar nol-toleransi terhadap AI slop, pemborosan token, dan pembusukan arsitektur. AI slop muncul sebagai basa-basi, placeholder, over-engineering spekulatif, dan komentar dekoratif. Skill ini menegakkan anti-slop, kompresi respons, dan perawatan kode (code gardening).
92
- Pemicu: Pembuatan/modifikasi kode, review otomatis, sesi panjang, permintaan respons ringkas, atau saat codebase menunjukkan "AI smell" (inkonsistensi, duplikasi, kode mati).
93
-
94
- ---
95
-
96
- ### 5 Pilar Utama Pembasmian AI Slop
97
-
98
- 1. **Pilar 1: Eliminasi Basa-Basi Percakapan** - Dilarang menggunakan pengantar atau pengulangan instruksi. Harus *code-first* dan tanpa basa-basi.
99
- 2. **Pilar 2: Larangan Placeholder & Truncation ("Lazy LLM")** - Dilarang keras menggunakan `// TODO` atau memotong kode. Wajib 100% lengkap dan siap produksi.
100
- 3. **Pilar 3: Anti Over-Engineering Spekulatif** - Hindari *factory pattern* atau layer ekstra tanpa alasan. Jangan validasi ganda jika Zod/TypeScript sudah menanganinya. Terapkan YAGNI.
101
- 4. **Pilar 4: Eliminasi Komentar Sintaksis** - Jangan menarasikan baris kode (mis. `// tambah satu`). Komentar hanya untuk menjelaskan MENGAPA (alasan bisnis/arsitektur).
102
- 5. **Pilar 5: Eliminasi Slop Dokumen & Buzzword** - Hindari kata-kata marketing kosong. Gunakan densitas teknis tinggi dengan skema pasti dan metrik konkret.
103
-
104
- ---
105
-
106
- ### Protokol Efisiensi & Kompresi Token
107
-
108
- - **Kompresi Respons**: Gunakan format diff untuk kode. Penjelasan menggunakan poin 1-kalimat daripada paragraf. Tanpa basa-basi.
109
- - **Budget 200K Konteks**: Batasi baca file penuh; gunakan `grep_search`. Buat checkpoint dengan `session-memory-manager` jika token menipis.
110
- - **Efisiensi Tool**: Baca file paralel, temukan konten spesifik dengan grep. Hasilkan draf pertama yang siap produksi tanpa siklus edit berulang.
111
-
112
- ---
113
-
114
- ### Protokol Berkebun Kode Warisan (Code Gardening)
115
-
116
- 1. **Analisis Context Drift**: Perbaiki inkonsistensi gaya (contoh: `async` vs `then`, `userId` vs `user_id`) dengan ESLint/Prettier.
117
- 2. **Komponen Membengkak**: Pecah komponen yang memiliki >5 state, >10 prop, atau >20 impor berdasarkan Tanggung Jawab Tunggal.
118
- 3. **Utilitas Mati & Dependensi**: Hapus fungsi tanpa penggunaan. Gunakan `npx depcheck` untuk package tidak terpakai dan `bundle-phobia-cli` untuk ukuran.
119
- 4. **Protokol 4 Fase**:
120
- - *Discovery*: Petakan duplikasi dan kode mati.
121
- - *Triage*: Kategorikan Kritis hingga Rendah.
122
- - *Refactoring*: Hapus kode mati, ekstrak duplikat, sederhanakan abstraksi, tambah test.
123
- - *Prevention*: Tambahkan ESLint strict, depcheck CI, dan uji arsitektur.
124
-
125
- ---
126
-
127
- ## Orchestration & Integration
128
- - `zero-to-prod-orchestrator`: Anti-slop checks at architectural and deployment phases.
129
- - `session-memory-manager`: Context resets when token budgets approach limits.
130
- - `scalability-clean-code`: Enforces SOLID boundaries against speculative over-engineering.
131
- - `autonomous-tdd-debugger`: Validates execution completeness over mock/stub code.
132
- - `coderabbit` & `brainstorming`: Clean PR reviews and dense documentation.
133
- - `dependency-upgrade-migrator`: Integrates with dependency audits (`depcheck`).
1
+ ---
2
+ name: anti-slop
3
+ description: "Comprehensive Anti-AI Slop enforcement guide. Updated to include token efficiency and code gardening / Panduan penegakan anti-AI slop komprehensif. Diperbarui dengan efisiensi token dan perawatan kode."
4
+ author: "Roedy Rustam"
5
+ version: "3.0.0"
6
+ ---
7
+
8
+ # Anti-Slop, Token Efficiency & Code Gardening Protocol (2026 Edition)
9
+
10
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
11
+
12
+ ---
13
+
14
+ <a name="english"></a>
15
+ ## English
16
+
17
+ ### Description & Trigger Conditions
18
+ The absolute zero-tolerance standard against AI slop, bloated context, and architectural decay. AI slop manifests as conversational pleasantries, lazy placeholders, speculative over-engineering, decorative comments, and vague buzzwords. This skill enforces rigorous anti-slop rules, token-saving compression, and code gardening across the engineering lifecycle.
19
+ Triggers: Any code generation/modification, automated reviews, long-running sessions, explicit "be concise/minimal" requests, or when a codebase exhibits "AI smell" (inconsistencies, duplication, dead code).
20
+
21
+ ---
22
+
23
+ ## The 5 Pillars of AI Slop Elimination
24
+
25
+ ### Pillar 1: Conversational & Sycophancy Slop
26
+ - **🔴 Forbidden**: Preambles ("Certainly! I'd be happy to help"), prompt echoing, apology loops, trailing motivational fluff.
27
+ - **✅ Standard**: Imperative, code-first communication. Zero filler.
28
+
29
+ ### Pillar 2: Placeholder & Truncation Slop ("Lazy LLM")
30
+ - **🔴 Forbidden**: `// TODO: implement`, `// ... rest of code`, or returning mock arrays when production features are requested.
31
+ - **✅ Standard**: Output must be 100% complete, functional, and production-ready.
32
+
33
+ ### Pillar 3: Speculative & Decorative Over-Engineering Slop
34
+ - **🔴 Forbidden**: Creating factory patterns (`IUserServiceFactoryProvider`) for single implementations, triple-validated defensive code when TypeScript/Zod guarantee type safety.
35
+ - **✅ Standard**: YAGNI (You Aren't Gonna Need It). Write the simplest direct implementation. Trust the types.
36
+
37
+ ### Pillar 4: Obvious & Decorative Comment Slop
38
+ - **🔴 Forbidden**: Narrating syntax line-by-line (e.g., `// Increment count by 1 \n setCount(count + 1);`).
39
+ - **✅ Standard**: Comments explain WHY (architectural decisions, business constraints), never WHAT.
40
+
41
+ ### Pillar 5: Buzzword & Artifact Slop
42
+ - **🔴 Forbidden**: Documents filled with generic marketing jargon ("seamless integration", "robust synergy") with zero technical density.
43
+ - **✅ Standard**: High technical density with explicit schemas, route tables, column types, and verifiable NFR latency budgets.
44
+
45
+ ---
46
+
47
+ ## Token Efficiency & Compression Protocol
48
+
49
+ ### 1. Response Compression Rules
50
+ - **No preamble/restatement/summaries**: Show code immediately, explain briefly after.
51
+ - **Diff format**: For file edits, show only changed lines.
52
+ - **Bullet > prose**: Use 1-sentence rationales over paragraphs.
53
+
54
+ ### 2. Context Window Budget Awareness (200K Context)
55
+ ```text
56
+ System prompt + skills: ~15K | Conversation history: ~50K | File reads: ~100K | Response: ~35K
57
+ ```
58
+ - Summarize large files mentally; `view_file` only specific sections. Create a checkpoint with `session-memory-manager` when near full.
59
+
60
+ ### 3. Tool Call Minimization & First Draft Quality
61
+ - Read multiple files in parallel.
62
+ - Use `grep_search` over full reads.
63
+ - Generate correct, production-ready code with inline error handling on the first try. Avoid edit-retry cycles.
64
+
65
+ ---
66
+
67
+ ## Legacy Code Gardening Protocol
68
+
69
+ ### 1. Context Drift Analysis & Code Smells
70
+ - **Inconsistent Styles**: Mixed `async/await` vs `.then()`, variable namings (`userId` vs `user_id`). Fix with Prettier/ESLint rules.
71
+ - **Bloated Components**: 5+ states, 10+ props, 20+ imports. Apply Single Responsibility and split them.
72
+ - **Dependency Creep**: Use `npx depcheck` for unused dependencies and `npx bundle-phobia-cli` for sizing.
73
+ - **Graveyard of Dead Utilities**: Use semantic search/grep to find and remove 0-usage exported functions.
74
+
75
+ ### 2. 4-Phase Gardening Protocol
76
+ 1. **Discovery**: Map file tree, find bloated files, duplicated logic, unused exports, and style drift.
77
+ 2. **Triage**: Categorize into Critical (bugs/data loss), High (diverging duplicates), Medium (smells), Low (style).
78
+ 3. **Systematic Refactoring**: Start smallest first. Remove dead code, extract duplicates, simplify abstractions, standardize names, add tests.
79
+ 4. **Prevention**: Add strict ESLint rules, `depcheck` in CI, and architecture tests.
80
+
81
+ ---
82
+
83
+ ## Automated Anti-Slop Audit Script
84
+ Run `scripts/check-anti-slop.js` in CI to detect placeholders (`// ...`), unfinished stubs (`TODO:`), mock data in prod, and syntax narration (`// increment`). Fail builds if AI slop is detected.
85
+
86
+ ---
87
+
88
+ <a name="bahasa-indonesia"></a>
89
+ ## Bahasa Indonesia
90
+
91
+ ### Deskripsi & Kondisi Pemicu
92
+ Standar nol-toleransi terhadap AI slop, pemborosan token, dan pembusukan arsitektur. AI slop muncul sebagai basa-basi, placeholder, over-engineering spekulatif, dan komentar dekoratif. Skill ini menegakkan anti-slop, kompresi respons, dan perawatan kode (code gardening).
93
+ Pemicu: Pembuatan/modifikasi kode, review otomatis, sesi panjang, permintaan respons ringkas, atau saat codebase menunjukkan "AI smell" (inkonsistensi, duplikasi, kode mati).
94
+
95
+ ---
96
+
97
+ ### 5 Pilar Utama Pembasmian AI Slop
98
+
99
+ 1. **Pilar 1: Eliminasi Basa-Basi Percakapan** - Dilarang menggunakan pengantar atau pengulangan instruksi. Harus *code-first* dan tanpa basa-basi.
100
+ 2. **Pilar 2: Larangan Placeholder & Truncation ("Lazy LLM")** - Dilarang keras menggunakan `// TODO` atau memotong kode. Wajib 100% lengkap dan siap produksi.
101
+ 3. **Pilar 3: Anti Over-Engineering Spekulatif** - Hindari *factory pattern* atau layer ekstra tanpa alasan. Jangan validasi ganda jika Zod/TypeScript sudah menanganinya. Terapkan YAGNI.
102
+ 4. **Pilar 4: Eliminasi Komentar Sintaksis** - Jangan menarasikan baris kode (mis. `// tambah satu`). Komentar hanya untuk menjelaskan MENGAPA (alasan bisnis/arsitektur).
103
+ 5. **Pilar 5: Eliminasi Slop Dokumen & Buzzword** - Hindari kata-kata marketing kosong. Gunakan densitas teknis tinggi dengan skema pasti dan metrik konkret.
104
+
105
+ ---
106
+
107
+ ### Protokol Efisiensi & Kompresi Token
108
+
109
+ - **Kompresi Respons**: Gunakan format diff untuk kode. Penjelasan menggunakan poin 1-kalimat daripada paragraf. Tanpa basa-basi.
110
+ - **Budget 200K Konteks**: Batasi baca file penuh; gunakan `grep_search`. Buat checkpoint dengan `session-memory-manager` jika token menipis.
111
+ - **Efisiensi Tool**: Baca file paralel, temukan konten spesifik dengan grep. Hasilkan draf pertama yang siap produksi tanpa siklus edit berulang.
112
+
113
+ ---
114
+
115
+ ### Protokol Berkebun Kode Warisan (Code Gardening)
116
+
117
+ 1. **Analisis Context Drift**: Perbaiki inkonsistensi gaya (contoh: `async` vs `then`, `userId` vs `user_id`) dengan ESLint/Prettier.
118
+ 2. **Komponen Membengkak**: Pecah komponen yang memiliki >5 state, >10 prop, atau >20 impor berdasarkan Tanggung Jawab Tunggal.
119
+ 3. **Utilitas Mati & Dependensi**: Hapus fungsi tanpa penggunaan. Gunakan `npx depcheck` untuk package tidak terpakai dan `bundle-phobia-cli` untuk ukuran.
120
+ 4. **Protokol 4 Fase**:
121
+ - *Discovery*: Petakan duplikasi dan kode mati.
122
+ - *Triage*: Kategorikan Kritis hingga Rendah.
123
+ - *Refactoring*: Hapus kode mati, ekstrak duplikat, sederhanakan abstraksi, tambah test.
124
+ - *Prevention*: Tambahkan ESLint strict, depcheck CI, dan uji arsitektur.
125
+
126
+ ---
127
+
128
+ ## Orchestration & Integration
129
+ - `zero-to-prod-orchestrator`: Anti-slop checks at architectural and deployment phases.
130
+ - `session-memory-manager`: Context resets when token budgets approach limits.
131
+ - `scalability-clean-code`: Enforces SOLID boundaries against speculative over-engineering.
132
+ - `autonomous-tdd-debugger`: Validates execution completeness over mock/stub code.
133
+ - `coderabbit` & `brainstorming`: Clean PR reviews and dense documentation.
134
+ - `dependency-upgrade-migrator`: Integrates with dependency audits (`depcheck`).
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: api-design-expert
3
3
  description: "Expert guide for designing robust APIs: REST best practices, GraphQL, gRPC, tRPC, OpenAPI/Swagger, API versioning, rate limiting, and contract-first design / Panduan ahli untuk merancang API yang kuat: praktik terbaik REST, GraphQL, gRPC, tRPC, OpenAPI/Swagger, versioning API, rate limiting, dan desain contract-first."
4
- author: "Roedy Rustam"
4
+ author: "Roedy Rustam"
5
+ version: "3.0.0"
5
6
  ---
6
7
 
7
8
  # API Design Expert
@@ -283,7 +284,7 @@ components:
283
284
  ## Bahasa Indonesia
284
285
 
285
286
  ### Integrasi Orkestrasi
286
- Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
287
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `session-memory-manager` untuk memastikan eksekusi yang kohesif.
287
288
 
288
289
  ### Deskripsi
289
290
  Panduan ahli untuk merancang, mendokumentasikan, dan mengembangkan API berkualitas produksi. Mencakup pemodelan resource **REST** dan semantik HTTP, desain skema **GraphQL**, **gRPC** dengan protobuf, dan **tRPC** untuk API end-to-end type-safe di TypeScript. Termasuk dokumentasi OpenAPI 3.1, strategi versioning API, rate limiting, idempotency, dan alur kerja contract-first.
@@ -314,4 +315,4 @@ Panduan ahli untuk merancang, mendokumentasikan, dan mengembangkan API berkualit
314
315
 
315
316
 
316
317
  ## Orchestration & Integration
317
- - Connects to other backend skills as part of the orchestration flow.
318
+ - Connects to other backend skills as part of the orchestration flow.