@sylphx/flow 1.0.5 → 1.0.6

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,39 @@
1
+ ---
2
+ description: Review code for quality, security, and best practices
3
+ ---
4
+
5
+ # Code Review
6
+
7
+ ## Context
8
+
9
+ $ARGUMENTS
10
+
11
+ ## Your Task
12
+
13
+ Review the code above (or at the specified location) and provide feedback on:
14
+
15
+ 1. **Code Quality**
16
+ - Readability and maintainability
17
+ - Code organization and structure
18
+ - Naming conventions
19
+ - Comments and documentation
20
+
21
+ 2. **Security**
22
+ - Potential vulnerabilities
23
+ - Input validation
24
+ - Authentication/authorization issues
25
+ - Data exposure risks
26
+
27
+ 3. **Performance**
28
+ - Algorithmic efficiency
29
+ - Resource usage
30
+ - Potential bottlenecks
31
+ - Scalability concerns
32
+
33
+ 4. **Best Practices**
34
+ - Language-specific idioms
35
+ - Design patterns
36
+ - Error handling
37
+ - Testing coverage
38
+
39
+ Provide specific, actionable suggestions for improvement.
@@ -0,0 +1,30 @@
1
+ ---
2
+ description: Write comprehensive tests for code
3
+ ---
4
+
5
+ # Write Tests
6
+
7
+ ## Context
8
+
9
+ $ARGUMENTS
10
+
11
+ ## Your Task
12
+
13
+ Write comprehensive tests for the code above (or at the specified location) that include:
14
+
15
+ 1. **Unit Tests**
16
+ - Test individual functions/methods
17
+ - Cover edge cases and boundary conditions
18
+ - Test error handling
19
+
20
+ 2. **Integration Tests** (if applicable)
21
+ - Test component interactions
22
+ - Test with realistic data
23
+
24
+ 3. **Test Coverage**
25
+ - Aim for high coverage of critical paths
26
+ - Include positive and negative test cases
27
+ - Test validation and error conditions
28
+
29
+ Use the project's existing testing framework and follow its conventions.
30
+ Ensure tests are readable, maintainable, and properly documented.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/flow",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "AI-powered development workflow automation with autonomous loop mode and smart configuration",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,7 +14,8 @@
14
14
  "start": "bun src/index.ts",
15
15
  "test": "vitest run",
16
16
  "test:watch": "vitest",
17
- "type-check": "tsc --noEmit"
17
+ "type-check": "tsc --noEmit",
18
+ "prepublishOnly": "rm -rf assets && cp -r ../../assets assets"
18
19
  },
19
20
  "dependencies": {
20
21
  "commander": "^14.0.2",
@@ -38,6 +39,7 @@
38
39
  },
39
40
  "files": [
40
41
  "src",
42
+ "assets",
41
43
  "README.md",
42
44
  "CHANGELOG.md",
43
45
  "LOOP_MODE.md",