create-universal-ai-context 2.2.2 → 2.4.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.
@@ -0,0 +1,116 @@
1
+ {{!-- Continue Configuration Template --}}
2
+ {
3
+ "$schema": "https://continue.dev/schema.json",
4
+ "projectTitle": "{{project.name}}",
5
+ "description": "{{project.description}}",
6
+ "techstack": "{{join project.tech_stack ", "}}",
7
+
8
+ "context": {
9
+ "providers": [
10
+ {
11
+ "name": "codebase",
12
+ "description": "Project codebase context"
13
+ }
14
+ ],
15
+ "rules": [
16
+ {
17
+ "description": "Project Communication Style",
18
+ "type": "markdown",
19
+ "content": "<communication>\n- Speak to me in a professional, technical manner\n- Provide clear explanations for code changes\n- Reference specific files and line numbers when discussing changes\n- Ask clarifying questions when requirements are ambiguous\n</communication>"
20
+ },
21
+ {
22
+ "description": "Filesystem Rules",
23
+ "type": "markdown",
24
+ "content": "<filesystem>\n{{#if key_files.entry_points}}- Key project files: {{join key_files.entry_points ", "}}\n{{/if}}- Models directory: {{#each architecture.layers}}{{#if (ifEquals name 'models')}}{{path}}{{/if}}{{/each}}\n- Migrations directory: {{#each architecture.layers}}{{#if (ifEquals name 'migrations')}}{{path}}{{/if}}{{/each}}\n- Treat node_modules, build, dist as read-only\n</filesystem>"
25
+ },
26
+ {
27
+ "description": "Coding Guidelines",
28
+ "type": "markdown",
29
+ "content": "<coding>\n- Primary language: {{project.primary_language}}\n- Framework: {{#each architecture.layers}}{{#if (ifEquals name 'framework')}}{{name}}{{/if}}{{/each}}\n- Testing framework: jest\n- Follow existing code style and patterns\n- Add type hints/annotations for all functions\n- Write tests for new functionality (target: 80% coverage)\n- Use early returns when possible\n- Avoid deep nesting (>4 levels)\n- Keep functions focused and small (<50 lines)\n</coding>"
30
+ },
31
+ {
32
+ "description": "Commands",
33
+ "type": "table",
34
+ "content": "| Command | Purpose |\n|---------|---------|\n| {{commands.install}} | Install dependencies |\n| {{commands.dev}} | Start development server |\n| {{commands.test}} | Run tests |\n| {{commands.build}} | Build for production |"
35
+ },
36
+ {
37
+ "description": "Architecture",
38
+ "type": "markdown",
39
+ "content": "<architecture>\n{{project.description}}\n\nKey patterns:\n- {{architecture.pattern}}\n{{#each architecture.layers}}\n- {{name}}: {{purpose}}\n{{/each}}\n</architecture>"
40
+ }
41
+ ]
42
+ },
43
+
44
+ "slashCommands": [
45
+ {
46
+ "name": "test",
47
+ "description": "Run tests",
48
+ "run": "{{commands.test}}"
49
+ },
50
+ {
51
+ "name": "build",
52
+ "description": "Build project",
53
+ "run": "{{commands.build}}"
54
+ },
55
+ {
56
+ "name": "dev",
57
+ "description": "Start development server",
58
+ "run": "{{commands.dev}}"
59
+ }
60
+ ],
61
+
62
+ "models": [
63
+ {
64
+ "title": "GPT-4",
65
+ "provider": "openai",
66
+ "model": "gpt-4"
67
+ },
68
+ {
69
+ "title": "Claude 3 Opus",
70
+ "provider": "anthropic",
71
+ "model": "claude-3-opus-20240229"
72
+ }
73
+ ],
74
+
75
+ "tabAutocompleteModel": {
76
+ "title": "DeepSeek V2",
77
+ "provider": "deepseek",
78
+ "model": "deepseek-coder"
79
+ },
80
+
81
+ "customCommands": [
82
+ {
83
+ "name": "explain",
84
+ "prompt": "Explain the selected code in detail, including its purpose and how it works."
85
+ },
86
+ {
87
+ "name": "refactor",
88
+ "prompt": "Refactor the selected code to improve readability and maintainability."
89
+ },
90
+ {
91
+ "name": "docs",
92
+ "prompt": "Generate JSDoc/TypeDoc documentation for the selected code."
93
+ }
94
+ ],
95
+
96
+ "allowYaml": true,
97
+
98
+ "maxContextTokens": 8000,
99
+
100
+ "temperature": 0.2,
101
+
102
+ "regexDenylist": [
103
+ ".*\\.min\\.js",
104
+ ".*\\.min\\.css",
105
+ "node_modules/.*",
106
+ "build/.*",
107
+ "dist/.*"
108
+ ],
109
+
110
+ "_comment": "Generated by create-universal-ai-context v{{metadata.generator_version}}",
111
+ "_generatedAt": "{{metadata.timestamp}}",
112
+ "_toolCoordination": {
113
+ "universalContext": ".ai-context/",
114
+ "regenerateCommand": "npx create-ai-context generate --ai continue"
115
+ }
116
+ }
@@ -127,5 +127,4 @@
127
127
 
128
128
  ---
129
129
 
130
- *Auto-generated by AI Context Engineering v{{metadata.generator_version}}*
131
- *Regenerate with: `npx create-ai-context generate --ai copilot`*
130
+ {{{coordination.footer}}}
@@ -1,3 +1,3 @@
1
- {{!-- Reusable header partial --}}
1
+ {{!-- Reusable header partial with tool coordination --}}
2
2
  {{{metadata.header}}}
3
3
  <!-- Generated: {{metadata.timestamp}} | Version: {{metadata.generator_version}} -->
@@ -0,0 +1,69 @@
1
+ {{!-- Windsurf Cascade Rules Template --}}
2
+ # {{project.name}} - Windsurf Cascade Rules
3
+
4
+ **Tech Stack:** {{join project.tech_stack ", "}}
5
+ **Status:** Active
6
+
7
+ <communication>
8
+ - Speak to me in a professional, technical manner
9
+ - Provide clear explanations for code changes
10
+ - Reference specific files and line numbers when discussing changes
11
+ - Ask clarifying questions when requirements are ambiguous
12
+ </communication>
13
+
14
+ <filesystem>
15
+ {{#if key_files.entry_points}}
16
+ - Key project files: {{join key_files.entry_points ", "}}
17
+ {{/if}}
18
+ - Models directory: {{#each architecture.layers}}{{#if (ifEquals name 'models')}}{{path}}{{/if}}{{/each}}
19
+ - Migrations directory: {{#each architecture.layers}}{{#if (ifEquals name 'migrations')}}{{path}}{{/if}}{{/each}}
20
+ - Treat node_modules, build, dist as read-only
21
+ </filesystem>
22
+
23
+ <coding>
24
+ - Primary language: {{project.primary_language}}
25
+ - Framework: {{#each architecture.layers}}{{#if (ifEquals name 'framework')}}{{name}}{{/if}}{{/each}}
26
+ - Testing framework: jest
27
+ - Follow existing code style and patterns
28
+ - Add type hints/annotations for all functions
29
+ - Write tests for new functionality (target: 80% coverage)
30
+ - Use early returns when possible
31
+ - Avoid deep nesting (>4 levels)
32
+ - Keep functions focused and small (<50 lines)
33
+ </coding>
34
+
35
+ <commands>
36
+ | Command | Purpose |
37
+ |---------|---------|
38
+ | {{commands.install}} | Install dependencies |
39
+ | {{commands.dev}} | Start development server |
40
+ | {{commands.test}} | Run tests |
41
+ | {{commands.build}} | Build for production |
42
+ </commands>
43
+
44
+ <architecture>
45
+ {{project.description}}
46
+
47
+ Key patterns:
48
+ - {{architecture.pattern}}
49
+ {{#each architecture.layers}}
50
+ - {{name}}: {{purpose}}
51
+ {{/each}}
52
+ </architecture>
53
+
54
+ <testing>
55
+ - Write tests before implementing features
56
+ - Use jest for mocking
57
+ - Test edge cases and error conditions
58
+ - Keep tests independent and fast
59
+ </testing>
60
+
61
+ <security>
62
+ - Never commit secrets or API keys
63
+ - Validate all user inputs
64
+ - Use parameterized queries to prevent injection
65
+ - Follow OWASP security guidelines
66
+ </security>
67
+
68
+ ---
69
+ {{{coordination.footer}}}