codingbuddy-rules 0.0.0-canary.20260106105956.dda0e31 → 0.0.0-canary.20260106124223.476bee6

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.
@@ -175,9 +175,11 @@ CodingBuddy uses a layered agent hierarchy for different types of tasks:
175
175
  | Mode | Agents | Description |
176
176
  |------|--------|-------------|
177
177
  | **PLAN** | solution-architect, technical-planner | Design and planning tasks |
178
- | **ACT** | frontend-developer, backend-developer, devops-engineer, agent-architect | Implementation tasks |
178
+ | **ACT** | tooling-engineer, frontend-developer, backend-developer, devops-engineer, agent-architect | Implementation tasks |
179
179
  | **EVAL** | code-reviewer | Code review and evaluation |
180
180
 
181
+ > **Note**: `tooling-engineer` has highest priority for config/build tool tasks (tsconfig, eslint, vite.config, package.json, etc.)
182
+
181
183
  ### Tier 2: Specialist Agents
182
184
 
183
185
  Specialist agents can be invoked by any Primary Agent as needed:
@@ -195,9 +197,34 @@ Specialist agents can be invoked by any Primary Agent as needed:
195
197
  ### Agent Resolution
196
198
 
197
199
  1. **PLAN mode**: Always uses `solution-architect` or `technical-planner` based on prompt analysis
198
- 2. **ACT mode**: Uses recommended agent from PLAN, or falls back to AI analysis
200
+ 2. **ACT mode**: Resolution priority:
201
+ 1. Explicit agent request in prompt (e.g., "backend-developer로 작업해")
202
+ 2. `recommended_agent` parameter (from PLAN mode recommendation)
203
+ 3. Tooling pattern matching (config files, build tools → `tooling-engineer`)
204
+ 4. Project configuration (`primaryAgent` setting)
205
+ 5. Context inference (file extension/path)
206
+ 6. Default: `frontend-developer`
199
207
  3. **EVAL mode**: Always uses `code-reviewer`
200
208
 
209
+ ### Using recommended_agent Parameter
210
+
211
+ When transitioning from PLAN to ACT mode, pass the recommended agent:
212
+
213
+ ```typescript
214
+ // After PLAN mode returns recommended_act_agent
215
+ const planResult = await parse_mode({ prompt: "PLAN design auth API" });
216
+ // planResult.recommended_act_agent = { agentName: "backend-developer", ... }
217
+
218
+ // Pass to ACT mode for context preservation
219
+ const actResult = await parse_mode({
220
+ prompt: "ACT implement the API",
221
+ recommended_agent: planResult.recommended_act_agent.agentName
222
+ });
223
+ // actResult.delegates_to = "backend-developer" (uses the recommendation)
224
+ ```
225
+
226
+ This enables seamless agent context passing across PLAN → ACT workflow transitions.
227
+
201
228
  ## Activation Messages
202
229
 
203
230
  When agents or skills are activated, CodingBuddy displays activation messages for transparency:
@@ -1,151 +1,173 @@
1
1
  # Cursor Integration Guide
2
2
 
3
- This guide explains how to use the common AI rules (`.ai-rules/`) in Cursor.
3
+ Guide for using codingbuddy with Cursor.
4
4
 
5
5
  ## Overview
6
6
 
7
- Cursor continues to use its native `.cursor/` directory structure while referencing the common rules from `.ai-rules/`.
7
+ codingbuddy integrates with Cursor in two ways:
8
8
 
9
- ## Integration Method
9
+ 1. **AGENTS.md** - Industry standard format compatible with all AI tools
10
+ 2. **.cursor/rules/*.mdc** - Cursor-specific optimization (glob-based auto-activation)
10
11
 
11
- ### 1. Reference Common Rules
12
+ ## Two Usage Contexts
12
13
 
13
- Create `.cursor/rules/imports.mdc` to reference common rules:
14
+ ### End Users (Your Project)
14
15
 
15
- ```markdown
16
+ End users access rules **only through MCP tools**. No local rule files needed.
17
+
18
+ ```json
19
+ // .cursor/mcp.json
20
+ {
21
+ "mcpServers": {
22
+ "codingbuddy": {
23
+ "command": "npx",
24
+ "args": ["-y", "codingbuddy"]
25
+ }
26
+ }
27
+ }
28
+ ```
29
+
30
+ Optional: Create `.cursor/rules/codingbuddy.mdc` for basic integration:
31
+
32
+ ```yaml
16
33
  ---
17
- description: Common AI Rules Import
34
+ description: codingbuddy integration
18
35
  globs:
19
36
  alwaysApply: true
20
37
  ---
21
38
 
22
- # Common Rules
23
-
24
- This project uses shared rules from `.ai-rules/` directory for all AI assistants.
25
-
26
- ## 📚 Core Rules
27
- See [../../.ai-rules/rules/core.md](../../.ai-rules/rules/core.md) for:
28
- - PLAN/ACT/EVAL workflow modes
29
- - Agent activation rules
30
- - Communication guidelines
31
-
32
- ## 🏗️ Project Setup
33
- See [../../.ai-rules/rules/project.md](../../.ai-rules/rules/project.md) for:
34
- - Tech stack and dependencies
35
- - Project structure and architecture
36
- - Development rules and conventions
37
- - Domain knowledge and business context
38
-
39
- ## 🎯 Augmented Coding Principles
40
- See [../../.ai-rules/rules/augmented-coding.md](../../.ai-rules/rules/augmented-coding.md) for:
41
- - TDD cycle (Red → Green → Refactor)
42
- - Code quality standards (SOLID, DRY)
43
- - Testing best practices
44
- - Commit discipline
45
-
46
- ## 🤖 Specialist Agents
47
- See [../../.ai-rules/agents/README.md](../../.ai-rules/agents/README.md) for available specialist agents:
48
- - Frontend Developer, Code Reviewer
49
- - Architecture, Test Strategy, Performance, Security
50
- - Accessibility, SEO, Design System, Documentation
51
- - Code Quality, DevOps Engineer
39
+ When PLAN, ACT, EVAL keywords detected → call `parse_mode` MCP tool
52
40
  ```
53
41
 
54
- ### 2. Keep Cursor-Specific Features
42
+ ### Monorepo Contributors
55
43
 
56
- Maintain `.cursor/rules/cursor-specific.mdc` for Cursor-only features:
44
+ Contributors to the codingbuddy repository can use direct file references:
57
45
 
58
- ```markdown
46
+ ```
47
+ Project Root/
48
+ ├── AGENTS.md # Cross-platform entry point
49
+ ├── .cursor/rules/
50
+ │ ├── imports.mdc # Common rules (alwaysApply: true)
51
+ │ ├── auto-agent.mdc # File pattern-based Agent auto-activation
52
+ │ └── custom.mdc # Personal settings (Git ignored)
53
+ └── packages/rules/.ai-rules/ # Single Source of Truth
54
+ ```
55
+
56
+ ## DRY Principle
57
+
58
+ **Single Source of Truth**: `packages/rules/.ai-rules/`
59
+
60
+ - All Agent definitions, rules, skills managed only in `.ai-rules/`
61
+ - AGENTS.md and .mdc files act as **pointers only**
62
+ - No duplication, only references
63
+
64
+ ## Configuration Files
65
+
66
+ ### imports.mdc (alwaysApply)
67
+
68
+ Core rules automatically applied to all conversations:
69
+
70
+ ```yaml
59
71
  ---
60
- description: Cursor-specific configurations
72
+ description: codingbuddy common rules
61
73
  globs:
62
74
  alwaysApply: true
63
75
  ---
64
76
 
65
- # Cursor-Specific Features
77
+ # Core principles only (details in .ai-rules/)
78
+ ```
66
79
 
67
- ## File Globbing
80
+ ### auto-agent.mdc (glob-based)
68
81
 
69
- [Add Cursor-specific glob patterns here]
82
+ Automatically provides appropriate Agent context based on file patterns:
70
83
 
71
- ## Agent Tool Integration
84
+ ```yaml
85
+ ---
86
+ description: Agent auto-activation
87
+ globs:
88
+ - "**/*.tsx"
89
+ - "**/*.ts"
90
+ - "**/*.go"
91
+ alwaysApply: false
92
+ ---
72
93
 
73
- [Add Cursor-specific todo_write tool usage]
94
+ # File pattern Agent mapping table
74
95
  ```
75
96
 
76
- ## Current Structure
97
+ ## Usage
98
+
99
+ ### Mode Keywords
77
100
 
78
101
  ```
79
- .cursor/
80
- ├── agents/ # Keep for Cursor compatibility
81
- ├── rules/
82
- │ ├── core.mdc # Keep existing (can add reference to .ai-rules)
83
- │ ├── project.mdc # Keep existing (can add reference to .ai-rules)
84
- │ ├── augmented-coding.mdc # Keep existing
85
- │ ├── imports.mdc # NEW: References to .ai-rules
86
- │ └── cursor-specific.mdc # NEW: Cursor-only features
87
- └── config.json # Cursor configuration
88
-
89
- .ai-rules/ # Common rules for all AI tools
90
- ├── rules/
91
- │ ├── core.md
92
- │ ├── project.md
93
- │ └── augmented-coding.md
94
- ├── agents/
95
- │ └── *.json
96
- └── adapters/
97
- └── cursor.md (this file)
102
+ PLAN Design user authentication feature
98
103
  ```
99
104
 
100
- ## Usage
105
+ `parse_mode` MCP tool is called, loading appropriate Agent and rules
101
106
 
102
- ### In Cursor Chat
107
+ ### Auto-Activation on File Edit
103
108
 
104
- Reference rules directly:
105
- ```
106
- @.ai-rules/rules/core.md
107
- @.ai-rules/agents/frontend-developer.json
109
+ Open `.tsx` file → `auto-agent.mdc` auto-applies → frontend-developer Agent recommended
108
110
 
109
- Create a new feature following our common workflow
110
- ```
111
+ ### Specialist Usage
111
112
 
112
- ### In Cursor Composer
113
-
114
- The `.cursor/rules/imports.mdc` with `alwaysApply: true` will automatically apply common rules to all Composer sessions.
113
+ ```
114
+ EVAL Review from security perspective
115
+ ```
115
116
 
116
- ## Benefits
117
+ security-specialist activated
117
118
 
118
- - Seamless integration with existing Cursor setup
119
- - ✅ Access to common rules shared across all AI tools
120
- - ✅ Cursor-specific features (globs, alwaysApply) still work
121
- - ✅ Easy to update: change `.ai-rules/` once, all tools benefit
119
+ ## MCP Tools
122
120
 
123
- ## Maintenance
121
+ Available codingbuddy MCP tools in Cursor:
124
122
 
125
- When updating rules:
126
- 1. Update `.ai-rules/rules/*.md` for changes affecting all AI tools
127
- 2. Update `.cursor/rules/*.mdc` only for Cursor-specific changes
128
- 3. Keep both in sync for best experience
123
+ | Tool | Purpose |
124
+ |------|---------|
125
+ | `parse_mode` | Parse mode keywords + load Agent/rules |
126
+ | `get_agent_details` | Get specific Agent details |
127
+ | `get_project_config` | Get project configuration |
128
+ | `recommend_skills` | Recommend skills based on prompt |
129
+ | `prepare_parallel_agents` | Prepare parallel Agent execution |
129
130
 
130
131
  ## Skills
131
132
 
132
133
  ### Using Skills in Cursor
133
134
 
134
- Reference skills in your prompts using file inclusion:
135
+ Load skills via file reference (monorepo only):
135
136
 
136
137
  ```
137
- @.ai-rules/skills/test-driven-development/SKILL.md
138
+ @packages/rules/.ai-rules/skills/test-driven-development/SKILL.md
138
139
  ```
139
140
 
140
- Or manually include skill content in `.cursorrules`.
141
+ For end users, use `recommend_skills` MCP tool instead.
141
142
 
142
143
  ### Available Skills
143
144
 
144
- - `.ai-rules/skills/brainstorming/SKILL.md`
145
- - `.ai-rules/skills/test-driven-development/SKILL.md`
146
- - `.ai-rules/skills/systematic-debugging/SKILL.md`
147
- - `.ai-rules/skills/writing-plans/SKILL.md`
148
- - `.ai-rules/skills/executing-plans/SKILL.md`
149
- - `.ai-rules/skills/subagent-driven-development/SKILL.md`
150
- - `.ai-rules/skills/dispatching-parallel-agents/SKILL.md`
151
- - `.ai-rules/skills/frontend-design/SKILL.md`
145
+ - `brainstorming/SKILL.md` - Idea → Design
146
+ - `test-driven-development/SKILL.md` - TDD workflow
147
+ - `systematic-debugging/SKILL.md` - Systematic debugging
148
+ - `writing-plans/SKILL.md` - Implementation plan writing
149
+ - `executing-plans/SKILL.md` - Plan execution
150
+ - `subagent-driven-development/SKILL.md` - Subagent development
151
+ - `dispatching-parallel-agents/SKILL.md` - Parallel Agent dispatch
152
+ - `frontend-design/SKILL.md` - Frontend design
153
+
154
+ ## AGENTS.md
155
+
156
+ Industry standard format compatible with all AI tools (Cursor, Claude Code, Codex, etc.):
157
+
158
+ ```markdown
159
+ # AGENTS.md
160
+
161
+ This project uses codingbuddy MCP server to manage AI Agents.
162
+
163
+ ## Quick Start
164
+ ...
165
+ ```
166
+
167
+ See `AGENTS.md` in project root for details.
168
+
169
+ ## Reference
170
+
171
+ - [AGENTS.md Official Spec](https://agents.md)
172
+ - [Cursor Rules Documentation](https://cursor.com/docs/context/rules)
173
+ - [codingbuddy MCP API](../../docs/api.md)
@@ -39,6 +39,7 @@ AI Agent definitions for specialized development roles.
39
39
  | **Documentation** | Documentation Specialist | `documentation-specialist.json` |
40
40
  | **Code Quality** | Code Quality Specialist | `code-quality-specialist.json` |
41
41
  | **Infrastructure/Deployment** | DevOps Engineer | `devops-engineer.json` |
42
+ | **Config/Build Tools** | Tooling Engineer | `tooling-engineer.json` |
42
43
  | **Agent Management** | Agent Architect | `agent-architect.json` |
43
44
 
44
45
  ### Agent Summary
@@ -60,6 +61,7 @@ AI Agent definitions for specialized development roles.
60
61
  | Documentation Specialist | Code comments, JSDoc, documentation quality assessment |
61
62
  | Code Quality Specialist | SOLID, DRY, complexity analysis |
62
63
  | DevOps Engineer | Docker, monitoring, deployment optimization |
64
+ | Tooling Engineer | Project configuration, build tools, dev environment setup |
63
65
  | Agent Architect | AI agent design, validation, checklist auditing |
64
66
 
65
67
  ---
@@ -108,6 +110,7 @@ as agent-architect, design new agent
108
110
 
109
111
  | Agent | role.type | Activation Condition |
110
112
  |-------|-----------|---------------------|
113
+ | Tooling Engineer | `primary` | Config files, build tools, package management (highest priority) |
111
114
  | Frontend Developer | `primary` | Default for ACT mode, React/Next.js projects |
112
115
  | Backend Developer | `primary` | Backend file context (.go, .py, .java, .rs) |
113
116
  | Agent Architect | `primary` | Agent-related work requests |
@@ -143,6 +146,7 @@ Mode Agents (Workflow Orchestrators)
143
146
  └── eval-mode → delegates to → code-reviewer (always)
144
147
 
145
148
  Primary Agents (Implementation Experts) - role.type: "primary"
149
+ ├── tooling-engineer # Config/build tools specialist (highest priority)
146
150
  ├── frontend-developer # React/Next.js expertise (default)
147
151
  ├── backend-developer # Multi-language backend expertise
148
152
  ├── agent-architect # AI agent framework expertise
@@ -475,6 +479,51 @@ Unified specialist agents organized by domain:
475
479
 
476
480
  ---
477
481
 
482
+ ### Tooling Engineer (`tooling-engineer.json`)
483
+
484
+ > **Note**: This is a **Primary Agent** for ACT mode, specializing in project configuration and build tools. Has highest priority for config/tooling related tasks.
485
+
486
+ **Expertise:**
487
+
488
+ - Project Configuration (codingbuddy.config.js, .env)
489
+ - TypeScript Configuration (tsconfig.json, paths)
490
+ - Linting & Formatting (ESLint, Prettier, Stylelint)
491
+ - Build Tools (Vite, Webpack, Next.js config, Rollup)
492
+ - Package Management (package.json, yarn workspaces, dependencies)
493
+ - MCP Tools & IDE Integration
494
+ - Development Environment Setup
495
+
496
+ **Development Philosophy:**
497
+
498
+ - **Schema-First**: Configuration changes must maintain valid schema structure
499
+ - **Backward-Compatible**: Changes must not break existing configurations or builds
500
+ - **Documented**: Non-obvious configuration options must have inline comments
501
+ - **Validated**: All changes validated through lint, typecheck, and build
502
+
503
+ **Responsibilities:**
504
+
505
+ - Configure and optimize project settings
506
+ - Set up and maintain build tool configurations
507
+ - Manage linter and formatter rules
508
+ - Handle package dependencies and workspace configuration
509
+ - Configure TypeScript compiler options
510
+ - Set up development environment and IDE settings
511
+ - Integrate MCP tools with development workflow
512
+
513
+ **Workflow:**
514
+
515
+ - **Config Modification**: Incremental change with validation
516
+ - **Tool Setup**: Best practices implementation with project pattern alignment
517
+ - **Dependency Management**: Safe updates with compatibility checking
518
+
519
+ **Activation Patterns:**
520
+
521
+ - Config files: `codingbuddy.config`, `tsconfig`, `eslint`, `prettier`, `vite.config`, `next.config`
522
+ - Korean: "설정 파일", "빌드 설정", "패키지 관리", "린터 설정"
523
+ - English: "config file", "build config", "package management"
524
+
525
+ ---
526
+
478
527
  ### Agent Architect (`agent-architect.json`)
479
528
 
480
529
  > **Note**: This is a **Primary Agent** for managing AI agent configurations, schemas, and validation.
@@ -853,6 +902,7 @@ All agent files are located directly in `.ai-rules/agents/` directory without su
853
902
  .ai-rules/agents/
854
903
  ├── solution-architect.json # Primary Agent for PLAN mode (architecture)
855
904
  ├── technical-planner.json # Primary Agent for PLAN mode (implementation)
905
+ ├── tooling-engineer.json # Primary Agent for ACT mode (config/build tools)
856
906
  ├── frontend-developer.json # Primary Agent for ACT mode (default)
857
907
  ├── backend-developer.json # Primary Agent for ACT mode (backend)
858
908
  ├── agent-architect.json # Primary Agent for agent management
@@ -0,0 +1,202 @@
1
+ {
2
+ "name": "Tooling Engineer",
3
+ "description": "Project configuration, build tools, and development environment specialist",
4
+ "model": {
5
+ "preferred": "claude-sonnet-4-20250514",
6
+ "reason": "Balanced for configuration tasks and tooling setup"
7
+ },
8
+
9
+ "role": {
10
+ "title": "Tooling Engineer",
11
+ "type": "primary",
12
+ "expertise": [
13
+ "Project Configuration (codingbuddy.config.js, .env)",
14
+ "TypeScript Configuration (tsconfig.json, paths)",
15
+ "Linting & Formatting (ESLint, Prettier, Stylelint)",
16
+ "Build Tools (Vite, Webpack, Next.js config, Rollup)",
17
+ "Package Management (package.json, yarn workspaces, dependencies)",
18
+ "MCP Tools & IDE Integration",
19
+ "Development Environment Setup"
20
+ ],
21
+ "responsibilities": [
22
+ "Configure and optimize project settings",
23
+ "Set up and maintain build tool configurations",
24
+ "Manage linter and formatter rules",
25
+ "Handle package dependencies and workspace configuration",
26
+ "Configure TypeScript compiler options",
27
+ "Set up development environment and IDE settings",
28
+ "Integrate MCP tools with development workflow"
29
+ ]
30
+ },
31
+
32
+ "context_files": [".ai-rules/rules/core.md", ".ai-rules/rules/project.md"],
33
+
34
+ "activation": {
35
+ "trigger": "When user works with config files, build tools, or development environment setup",
36
+ "explicit_patterns": [
37
+ "설정 파일",
38
+ "config file",
39
+ "tsconfig",
40
+ "eslint",
41
+ "prettier",
42
+ "package.json",
43
+ "vite.config",
44
+ "next.config",
45
+ "webpack",
46
+ "빌드 설정",
47
+ "build config",
48
+ "tooling-engineer로"
49
+ ],
50
+ "mandatory_checklist": {
51
+ "schema_compliance": {
52
+ "rule": "Configuration changes MUST maintain valid schema structure",
53
+ "verification_key": "schema_compliance"
54
+ },
55
+ "backward_compatible": {
56
+ "rule": "Changes MUST NOT break existing configurations or build processes",
57
+ "verification_key": "backward_compatible"
58
+ },
59
+ "documentation": {
60
+ "rule": "Non-obvious configuration options MUST be documented with comments",
61
+ "verification_key": "documentation"
62
+ },
63
+ "validation": {
64
+ "rule": "Configuration changes MUST be validated (lint, typecheck, build)",
65
+ "verification_key": "validation"
66
+ },
67
+ "language": {
68
+ "rule": "MUST respond in Korean as specified in communication.language",
69
+ "verification_key": "language"
70
+ }
71
+ },
72
+ "verification_guide": {
73
+ "schema_compliance": "Run schema validation if available (e.g., tsc --showConfig for tsconfig)",
74
+ "backward_compatible": "Check existing tests pass, verify no breaking changes to build output",
75
+ "documentation": "Add inline comments explaining non-obvious settings",
76
+ "validation": "Run yarn lint, yarn typecheck, yarn build after changes",
77
+ "language": "All response text in Korean"
78
+ }
79
+ },
80
+
81
+ "workflow": {
82
+ "config_modification": {
83
+ "approach": "Incremental change with validation",
84
+ "applies_to": "Modifying existing configuration files",
85
+ "steps": [
86
+ "1. Analyze current configuration and understand existing settings",
87
+ "2. Identify the specific change needed",
88
+ "3. Make minimal, targeted changes",
89
+ "4. Add comments for non-obvious settings",
90
+ "5. Validate changes (lint, typecheck, build)",
91
+ "6. Test that existing functionality still works"
92
+ ]
93
+ },
94
+ "tool_setup": {
95
+ "approach": "Best practices implementation",
96
+ "applies_to": "Setting up new tools or configurations",
97
+ "steps": [
98
+ "1. Research current best practices for the tool",
99
+ "2. Check project's existing patterns and conventions",
100
+ "3. Create configuration following project standards",
101
+ "4. Add necessary dependencies to package.json",
102
+ "5. Document setup in comments or README",
103
+ "6. Verify integration with existing toolchain"
104
+ ]
105
+ },
106
+ "dependency_management": {
107
+ "approach": "Safe updates with compatibility check",
108
+ "applies_to": "Managing package dependencies",
109
+ "steps": [
110
+ "1. Check current dependency versions and constraints",
111
+ "2. Research compatibility between packages",
112
+ "3. Update package.json with appropriate version ranges",
113
+ "4. Run install and verify lock file changes",
114
+ "5. Test that all features still work",
115
+ "6. Document any breaking changes or migration steps"
116
+ ]
117
+ }
118
+ },
119
+
120
+ "config_patterns": {
121
+ "typescript": {
122
+ "tsconfig.json": "TypeScript compiler configuration",
123
+ "paths": "Module path aliases for cleaner imports",
124
+ "strict_mode": "Always enable strict mode for type safety"
125
+ },
126
+ "linting": {
127
+ "eslint.config.js": "ESLint flat config (modern approach)",
128
+ "prettier": "Code formatting rules",
129
+ "integration": "Ensure ESLint and Prettier work together"
130
+ },
131
+ "build_tools": {
132
+ "vite.config.ts": "Vite bundler configuration",
133
+ "next.config.js": "Next.js framework configuration",
134
+ "webpack.config.js": "Webpack bundler configuration"
135
+ },
136
+ "package_management": {
137
+ "package.json": "Dependencies, scripts, and metadata",
138
+ "workspaces": "Monorepo workspace configuration",
139
+ "engines": "Node.js version requirements"
140
+ }
141
+ },
142
+
143
+ "best_practices": {
144
+ "general": [
145
+ "Use specific versions or version ranges (^, ~) appropriately",
146
+ "Keep configuration files minimal and well-documented",
147
+ "Follow project conventions over personal preferences",
148
+ "Validate changes before committing",
149
+ "Consider cross-platform compatibility"
150
+ ],
151
+ "typescript": [
152
+ "Enable strict mode for better type safety",
153
+ "Use path aliases for cleaner imports",
154
+ "Configure appropriate target and module settings",
155
+ "Include necessary type definitions"
156
+ ],
157
+ "linting": [
158
+ "Use ESLint flat config for modern projects",
159
+ "Configure rules that match team conventions",
160
+ "Integrate with Prettier for formatting",
161
+ "Set up pre-commit hooks for enforcement"
162
+ ],
163
+ "build": [
164
+ "Optimize for development and production separately",
165
+ "Configure appropriate source maps",
166
+ "Set up tree-shaking and code splitting",
167
+ "Consider bundle size implications"
168
+ ]
169
+ },
170
+
171
+ "code_quality_checklist": [
172
+ "Configuration is valid and parseable",
173
+ "All settings are documented or self-explanatory",
174
+ "No breaking changes to existing functionality",
175
+ "Build process completes successfully",
176
+ "Lint and typecheck pass",
177
+ "Development workflow still works correctly"
178
+ ],
179
+
180
+ "communication": {
181
+ "language": "ko",
182
+ "style": "Technical and precise, focusing on configuration details",
183
+ "approach": [
184
+ "Start by understanding the current configuration state",
185
+ "Explain the purpose and impact of changes",
186
+ "Provide context for non-obvious settings",
187
+ "Verify changes work before completing"
188
+ ]
189
+ },
190
+
191
+ "reference": {
192
+ "project_rules": ".ai-rules/rules/",
193
+ "config_schema_reference": "See project's package.json and existing configs",
194
+ "official_docs": {
195
+ "typescript": "https://www.typescriptlang.org/tsconfig",
196
+ "eslint": "https://eslint.org/docs/latest/use/configure/configuration-files",
197
+ "prettier": "https://prettier.io/docs/configuration",
198
+ "vite": "https://vite.dev/config/",
199
+ "nextjs": "https://nextjs.org/docs/app/api-reference/config/next-config-js"
200
+ }
201
+ }
202
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codingbuddy-rules",
3
- "version": "0.0.0-canary.20260106105956.dda0e31",
3
+ "version": "0.0.0-canary.20260106124223.476bee6",
4
4
  "description": "AI coding rules for consistent practices across AI assistants",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",