@codemcp/workflows 6.3.0 → 6.3.1
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.
- package/package.json +2 -2
- package/packages/cli/package.json +1 -1
- package/packages/core/package.json +1 -1
- package/packages/docs/package.json +1 -1
- package/packages/mcp-server/package.json +1 -1
- package/packages/visualizer/package.json +1 -1
- package/packages/core/resources/templates/skills/application-design.md +0 -29
- package/packages/core/resources/templates/skills/architecture.md +0 -13
- package/packages/core/resources/templates/skills/coding.md +0 -35
- package/packages/core/resources/templates/skills/starting-project.md +0 -23
- package/packages/core/resources/templates/skills/task-handling.md +0 -19
- package/packages/core/resources/templates/skills/testing.md +0 -20
- package/packages/mcp-server/resources/templates/skills/application-design.md +0 -29
- package/packages/mcp-server/resources/templates/skills/architecture.md +0 -13
- package/packages/mcp-server/resources/templates/skills/coding.md +0 -35
- package/packages/mcp-server/resources/templates/skills/starting-project.md +0 -23
- package/packages/mcp-server/resources/templates/skills/task-handling.md +0 -19
- package/packages/mcp-server/resources/templates/skills/testing.md +0 -20
- package/resources/templates/skills/application-design.md +0 -29
- package/resources/templates/skills/architecture.md +0 -13
- package/resources/templates/skills/coding.md +0 -35
- package/resources/templates/skills/starting-project.md +0 -23
- package/resources/templates/skills/task-handling.md +0 -19
- package/resources/templates/skills/testing.md +0 -20
- /package/{packages/cli/resources/templates/skills → resources/skills/application-design}/application-design.md +0 -0
- /package/{packages/cli/resources/templates/skills/architecture.md → resources/skills/architecture/SKILL.md.md} +0 -0
- /package/{packages/cli/resources/templates/skills/coding.md → resources/skills/coding/SKILL.md} +0 -0
- /package/{packages/cli/resources/templates/skills/starting-project.md → resources/skills/starting-project/SKILL.md} +0 -0
- /package/{packages/cli/resources/templates/skills/task-handling.md → resources/skills/task-handling/SKILL.md} +0 -0
- /package/{packages/cli/resources/templates/skills/testing.md → resources/skills/testing/SKILL.md} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemcp/workflows",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.1",
|
|
4
4
|
"description": "A Model Context Protocol server that acts as an intelligent conversation state manager and development guide for LLMs, featuring comprehensive long-term memory with persistent project artifacts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "packages/cli/dist/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"typescript": "^5.9.3",
|
|
52
52
|
"vitepress": "^1.6.4",
|
|
53
53
|
"vitest": "4.0.18",
|
|
54
|
-
"@codemcp/workflows-core": "6.3.
|
|
54
|
+
"@codemcp/workflows-core": "6.3.1"
|
|
55
55
|
},
|
|
56
56
|
"lint-staged": {
|
|
57
57
|
"*.{ts,js,mts,cts,tsx,jsx}": [
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: application-design
|
|
3
|
-
description: General conventions when creating an application design
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
practices
|
|
7
|
-
|
|
8
|
-
# Application Design Conventions
|
|
9
|
-
|
|
10
|
-
**Organization:**
|
|
11
|
-
|
|
12
|
-
- Apply the Single Responsibility Principle
|
|
13
|
-
- Use packages with defined interfaces to apply open-close principle for components
|
|
14
|
-
|
|
15
|
-
**APIs:**
|
|
16
|
-
|
|
17
|
-
- Use RESTful conventions
|
|
18
|
-
- Handle 404s gracefully
|
|
19
|
-
|
|
20
|
-
**Validation:**
|
|
21
|
-
|
|
22
|
-
- Validate on client and server
|
|
23
|
-
- Provide immediate feedback
|
|
24
|
-
- Handle edge cases and malicious input
|
|
25
|
-
|
|
26
|
-
**Configurability**
|
|
27
|
-
|
|
28
|
-
- Only provide configurability if explicitly requested
|
|
29
|
-
- If needed, use the registry pattern
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: architecture
|
|
3
|
-
description: General practices to consider when setting up a new application or enhancing it structurally
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Architecture conventions
|
|
7
|
-
|
|
8
|
-
**Organization:**
|
|
9
|
-
|
|
10
|
-
- SRP, separation of concerns, dependency injection
|
|
11
|
-
- Fail fast with clear error messages
|
|
12
|
-
- Use packages with defined interfaces to apply open-close principle for components
|
|
13
|
-
- Start with simple, testable components
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: coding
|
|
3
|
-
description: General practices to consider when writing code
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Coding conventions
|
|
7
|
-
|
|
8
|
-
**Code Quality:**
|
|
9
|
-
|
|
10
|
-
- Write self-documenting code with clear names. Prefer verbose names over comments
|
|
11
|
-
- Comment the intend (why), do not describe the code (how)
|
|
12
|
-
- KISS
|
|
13
|
-
- DRY
|
|
14
|
-
- Prefer simplicity (understandability over elegance)
|
|
15
|
-
|
|
16
|
-
**Error Handling:**
|
|
17
|
-
|
|
18
|
-
- Handle errors explicitly
|
|
19
|
-
- Use explicit error types
|
|
20
|
-
- Provide context in messages
|
|
21
|
-
- Use structured logging and debugger over console.log
|
|
22
|
-
|
|
23
|
-
**Performance:**
|
|
24
|
-
|
|
25
|
-
- Avoid premature optimization
|
|
26
|
-
- Use appropriate data structures
|
|
27
|
-
- Consider memory usage
|
|
28
|
-
- Profile before optimizing
|
|
29
|
-
|
|
30
|
-
**Security:**
|
|
31
|
-
|
|
32
|
-
- Follow OWASP security guidelines and dependency scanning
|
|
33
|
-
- Validate and sanitize inputs
|
|
34
|
-
- Use parameterized queries
|
|
35
|
-
- Never hardcode secrets
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: starting-project
|
|
3
|
-
description: How to set-up the skeleton of a new application
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Starting Project conventions
|
|
7
|
-
|
|
8
|
-
**Check existing structure:**
|
|
9
|
-
|
|
10
|
-
- Look for README.md, package.json, or project files
|
|
11
|
-
- Identify tech stack
|
|
12
|
-
|
|
13
|
-
**Setup patterns:**
|
|
14
|
-
|
|
15
|
-
- Set up gitignore and linting tools
|
|
16
|
-
- Create basic test structure with common framework
|
|
17
|
-
- Add standard build scripts and CI/CD templates
|
|
18
|
-
- Document setup and contribution guidelines
|
|
19
|
-
|
|
20
|
-
**Mandatory user interaction:**
|
|
21
|
-
|
|
22
|
-
- Ask the user for preferences on starter templates
|
|
23
|
-
- Before you write any package or launch a generator, ALWAYS present it to the user and wait for confirmation!
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: task-handling
|
|
3
|
-
description: Important conventions on how to author and work on tasks
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Task Writing Methodology
|
|
7
|
-
|
|
8
|
-
**SMART Tasks:**
|
|
9
|
-
|
|
10
|
-
- Use task description for SMART criteria
|
|
11
|
-
- Include all context for new team members
|
|
12
|
-
- Include instructions to research known sources of knowledge
|
|
13
|
-
- Specify dependencies and prerequisites
|
|
14
|
-
|
|
15
|
-
**Task Completion:**
|
|
16
|
-
|
|
17
|
-
- Record results and key findings when completing
|
|
18
|
-
- Document "how it was done" - methods, approaches, decisions
|
|
19
|
-
- Update plan file with key results in addition
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: testing
|
|
3
|
-
description: General practices when writing and executing tests
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Testing Best Practices
|
|
7
|
-
|
|
8
|
-
**Test Authoring:**
|
|
9
|
-
|
|
10
|
-
- Test behavior, not implementation
|
|
11
|
-
- Use testing pyramid (many unit, some integration, few E2E)
|
|
12
|
-
- Test edge cases and error conditions
|
|
13
|
-
- Keep tests simple and fast
|
|
14
|
-
|
|
15
|
-
**Test Organization:**
|
|
16
|
-
|
|
17
|
-
- Group related tests
|
|
18
|
-
- Use descriptive test names
|
|
19
|
-
- Follow AAA pattern (Arrange, Act, Assert)
|
|
20
|
-
- Keep test data minimal
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: application-design
|
|
3
|
-
description: General conventions when creating an application design
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
practices
|
|
7
|
-
|
|
8
|
-
# Application Design Conventions
|
|
9
|
-
|
|
10
|
-
**Organization:**
|
|
11
|
-
|
|
12
|
-
- Apply the Single Responsibility Principle
|
|
13
|
-
- Use packages with defined interfaces to apply open-close principle for components
|
|
14
|
-
|
|
15
|
-
**APIs:**
|
|
16
|
-
|
|
17
|
-
- Use RESTful conventions
|
|
18
|
-
- Handle 404s gracefully
|
|
19
|
-
|
|
20
|
-
**Validation:**
|
|
21
|
-
|
|
22
|
-
- Validate on client and server
|
|
23
|
-
- Provide immediate feedback
|
|
24
|
-
- Handle edge cases and malicious input
|
|
25
|
-
|
|
26
|
-
**Configurability**
|
|
27
|
-
|
|
28
|
-
- Only provide configurability if explicitly requested
|
|
29
|
-
- If needed, use the registry pattern
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: architecture
|
|
3
|
-
description: General practices to consider when setting up a new application or enhancing it structurally
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Architecture conventions
|
|
7
|
-
|
|
8
|
-
**Organization:**
|
|
9
|
-
|
|
10
|
-
- SRP, separation of concerns, dependency injection
|
|
11
|
-
- Fail fast with clear error messages
|
|
12
|
-
- Use packages with defined interfaces to apply open-close principle for components
|
|
13
|
-
- Start with simple, testable components
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: coding
|
|
3
|
-
description: General practices to consider when writing code
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Coding conventions
|
|
7
|
-
|
|
8
|
-
**Code Quality:**
|
|
9
|
-
|
|
10
|
-
- Write self-documenting code with clear names. Prefer verbose names over comments
|
|
11
|
-
- Comment the intend (why), do not describe the code (how)
|
|
12
|
-
- KISS
|
|
13
|
-
- DRY
|
|
14
|
-
- Prefer simplicity (understandability over elegance)
|
|
15
|
-
|
|
16
|
-
**Error Handling:**
|
|
17
|
-
|
|
18
|
-
- Handle errors explicitly
|
|
19
|
-
- Use explicit error types
|
|
20
|
-
- Provide context in messages
|
|
21
|
-
- Use structured logging and debugger over console.log
|
|
22
|
-
|
|
23
|
-
**Performance:**
|
|
24
|
-
|
|
25
|
-
- Avoid premature optimization
|
|
26
|
-
- Use appropriate data structures
|
|
27
|
-
- Consider memory usage
|
|
28
|
-
- Profile before optimizing
|
|
29
|
-
|
|
30
|
-
**Security:**
|
|
31
|
-
|
|
32
|
-
- Follow OWASP security guidelines and dependency scanning
|
|
33
|
-
- Validate and sanitize inputs
|
|
34
|
-
- Use parameterized queries
|
|
35
|
-
- Never hardcode secrets
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: starting-project
|
|
3
|
-
description: How to set-up the skeleton of a new application
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Starting Project conventions
|
|
7
|
-
|
|
8
|
-
**Check existing structure:**
|
|
9
|
-
|
|
10
|
-
- Look for README.md, package.json, or project files
|
|
11
|
-
- Identify tech stack
|
|
12
|
-
|
|
13
|
-
**Setup patterns:**
|
|
14
|
-
|
|
15
|
-
- Set up gitignore and linting tools
|
|
16
|
-
- Create basic test structure with common framework
|
|
17
|
-
- Add standard build scripts and CI/CD templates
|
|
18
|
-
- Document setup and contribution guidelines
|
|
19
|
-
|
|
20
|
-
**Mandatory user interaction:**
|
|
21
|
-
|
|
22
|
-
- Ask the user for preferences on starter templates
|
|
23
|
-
- Before you write any package or launch a generator, ALWAYS present it to the user and wait for confirmation!
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: task-handling
|
|
3
|
-
description: Important conventions on how to author and work on tasks
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Task Writing Methodology
|
|
7
|
-
|
|
8
|
-
**SMART Tasks:**
|
|
9
|
-
|
|
10
|
-
- Use task description for SMART criteria
|
|
11
|
-
- Include all context for new team members
|
|
12
|
-
- Include instructions to research known sources of knowledge
|
|
13
|
-
- Specify dependencies and prerequisites
|
|
14
|
-
|
|
15
|
-
**Task Completion:**
|
|
16
|
-
|
|
17
|
-
- Record results and key findings when completing
|
|
18
|
-
- Document "how it was done" - methods, approaches, decisions
|
|
19
|
-
- Update plan file with key results in addition
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: testing
|
|
3
|
-
description: General practices when writing and executing tests
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Testing Best Practices
|
|
7
|
-
|
|
8
|
-
**Test Authoring:**
|
|
9
|
-
|
|
10
|
-
- Test behavior, not implementation
|
|
11
|
-
- Use testing pyramid (many unit, some integration, few E2E)
|
|
12
|
-
- Test edge cases and error conditions
|
|
13
|
-
- Keep tests simple and fast
|
|
14
|
-
|
|
15
|
-
**Test Organization:**
|
|
16
|
-
|
|
17
|
-
- Group related tests
|
|
18
|
-
- Use descriptive test names
|
|
19
|
-
- Follow AAA pattern (Arrange, Act, Assert)
|
|
20
|
-
- Keep test data minimal
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: application-design
|
|
3
|
-
description: General conventions when creating an application design
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
practices
|
|
7
|
-
|
|
8
|
-
# Application Design Conventions
|
|
9
|
-
|
|
10
|
-
**Organization:**
|
|
11
|
-
|
|
12
|
-
- Apply the Single Responsibility Principle
|
|
13
|
-
- Use packages with defined interfaces to apply open-close principle for components
|
|
14
|
-
|
|
15
|
-
**APIs:**
|
|
16
|
-
|
|
17
|
-
- Use RESTful conventions
|
|
18
|
-
- Handle 404s gracefully
|
|
19
|
-
|
|
20
|
-
**Validation:**
|
|
21
|
-
|
|
22
|
-
- Validate on client and server
|
|
23
|
-
- Provide immediate feedback
|
|
24
|
-
- Handle edge cases and malicious input
|
|
25
|
-
|
|
26
|
-
**Configurability**
|
|
27
|
-
|
|
28
|
-
- Only provide configurability if explicitly requested
|
|
29
|
-
- If needed, use the registry pattern
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: architecture
|
|
3
|
-
description: General practices to consider when setting up a new application or enhancing it structurally
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Architecture conventions
|
|
7
|
-
|
|
8
|
-
**Organization:**
|
|
9
|
-
|
|
10
|
-
- SRP, separation of concerns, dependency injection
|
|
11
|
-
- Fail fast with clear error messages
|
|
12
|
-
- Use packages with defined interfaces to apply open-close principle for components
|
|
13
|
-
- Start with simple, testable components
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: coding
|
|
3
|
-
description: General practices to consider when writing code
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Coding conventions
|
|
7
|
-
|
|
8
|
-
**Code Quality:**
|
|
9
|
-
|
|
10
|
-
- Write self-documenting code with clear names. Prefer verbose names over comments
|
|
11
|
-
- Comment the intend (why), do not describe the code (how)
|
|
12
|
-
- KISS
|
|
13
|
-
- DRY
|
|
14
|
-
- Prefer simplicity (understandability over elegance)
|
|
15
|
-
|
|
16
|
-
**Error Handling:**
|
|
17
|
-
|
|
18
|
-
- Handle errors explicitly
|
|
19
|
-
- Use explicit error types
|
|
20
|
-
- Provide context in messages
|
|
21
|
-
- Use structured logging and debugger over console.log
|
|
22
|
-
|
|
23
|
-
**Performance:**
|
|
24
|
-
|
|
25
|
-
- Avoid premature optimization
|
|
26
|
-
- Use appropriate data structures
|
|
27
|
-
- Consider memory usage
|
|
28
|
-
- Profile before optimizing
|
|
29
|
-
|
|
30
|
-
**Security:**
|
|
31
|
-
|
|
32
|
-
- Follow OWASP security guidelines and dependency scanning
|
|
33
|
-
- Validate and sanitize inputs
|
|
34
|
-
- Use parameterized queries
|
|
35
|
-
- Never hardcode secrets
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: starting-project
|
|
3
|
-
description: How to set-up the skeleton of a new application
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Starting Project conventions
|
|
7
|
-
|
|
8
|
-
**Check existing structure:**
|
|
9
|
-
|
|
10
|
-
- Look for README.md, package.json, or project files
|
|
11
|
-
- Identify tech stack
|
|
12
|
-
|
|
13
|
-
**Setup patterns:**
|
|
14
|
-
|
|
15
|
-
- Set up gitignore and linting tools
|
|
16
|
-
- Create basic test structure with common framework
|
|
17
|
-
- Add standard build scripts and CI/CD templates
|
|
18
|
-
- Document setup and contribution guidelines
|
|
19
|
-
|
|
20
|
-
**Mandatory user interaction:**
|
|
21
|
-
|
|
22
|
-
- Ask the user for preferences on starter templates
|
|
23
|
-
- Before you write any package or launch a generator, ALWAYS present it to the user and wait for confirmation!
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: task-handling
|
|
3
|
-
description: Important conventions on how to author and work on tasks
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Task Writing Methodology
|
|
7
|
-
|
|
8
|
-
**SMART Tasks:**
|
|
9
|
-
|
|
10
|
-
- Use task description for SMART criteria
|
|
11
|
-
- Include all context for new team members
|
|
12
|
-
- Include instructions to research known sources of knowledge
|
|
13
|
-
- Specify dependencies and prerequisites
|
|
14
|
-
|
|
15
|
-
**Task Completion:**
|
|
16
|
-
|
|
17
|
-
- Record results and key findings when completing
|
|
18
|
-
- Document "how it was done" - methods, approaches, decisions
|
|
19
|
-
- Update plan file with key results in addition
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: testing
|
|
3
|
-
description: General practices when writing and executing tests
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Testing Best Practices
|
|
7
|
-
|
|
8
|
-
**Test Authoring:**
|
|
9
|
-
|
|
10
|
-
- Test behavior, not implementation
|
|
11
|
-
- Use testing pyramid (many unit, some integration, few E2E)
|
|
12
|
-
- Test edge cases and error conditions
|
|
13
|
-
- Keep tests simple and fast
|
|
14
|
-
|
|
15
|
-
**Test Organization:**
|
|
16
|
-
|
|
17
|
-
- Group related tests
|
|
18
|
-
- Use descriptive test names
|
|
19
|
-
- Follow AAA pattern (Arrange, Act, Assert)
|
|
20
|
-
- Keep test data minimal
|
|
File without changes
|
|
File without changes
|
/package/{packages/cli/resources/templates/skills/coding.md → resources/skills/coding/SKILL.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{packages/cli/resources/templates/skills/testing.md → resources/skills/testing/SKILL.md}
RENAMED
|
File without changes
|