cc-devflow 2.4.2 → 2.4.5

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 (28) hide show
  1. package/.claude/agents/bug-analyzer.md +0 -1
  2. package/.claude/agents/compatibility-checker.md +0 -1
  3. package/.claude/agents/impact-analyzer.md +0 -1
  4. package/.claude/commands/flow-fix.md +1 -1
  5. package/.claude/commands/flow-new.md +2 -3
  6. package/.claude/commands/git-commit.md +425 -0
  7. package/.claude/docs/guides/NEW_TROUBLESHOOTING.md +4 -4
  8. package/.claude/docs/templates/NEW_ORCHESTRATION_TEMPLATE.md +2 -3
  9. package/.claude/rules/devflow-conventions.md +3 -6
  10. package/.claude/scripts/generate-status-report.sh +7 -7
  11. package/.claude/scripts/recover-workflow.sh +18 -12
  12. package/.claude/skills/npm-release/SKILL.md +314 -0
  13. package/.claude/skills/writing-skills/SKILL.md +655 -0
  14. package/.claude/skills/writing-skills/anthropic-best-practices.md +1150 -0
  15. package/.claude/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
  16. package/.claude/skills/writing-skills/graphviz-conventions.dot +172 -0
  17. package/.claude/skills/writing-skills/persuasion-principles.md +187 -0
  18. package/.claude/skills/writing-skills/render-graphs.js +168 -0
  19. package/.claude/skills/writing-skills/testing-skills-with-subagents.md +384 -0
  20. package/.claude/tsc-cache/748c64fa-9e5f-4a1d-9db8-efb8415a6183/affected-repos.txt +1 -0
  21. package/.claude/tsc-cache/748c64fa-9e5f-4a1d-9db8-efb8415a6183/edited-files.log +1 -0
  22. package/.claude/tsc-cache/f903e5df-3c39-4958-b26b-724808f32956/affected-repos.txt +1 -0
  23. package/.claude/tsc-cache/f903e5df-3c39-4958-b26b-724808f32956/edited-files.log +2 -0
  24. package/CHANGELOG.md +72 -7
  25. package/README.md +12 -0
  26. package/README.zh-CN.md +12 -0
  27. package/bin/cc-devflow-cli.js +4 -4
  28. package/package.json +1 -1
@@ -109,10 +109,10 @@ function copyIncremental(src, dest) {
109
109
  const destContent = fs.readFileSync(dest);
110
110
 
111
111
  if (!srcContent.equals(destContent)) {
112
- // Content differs - Create .new version
113
- const newFile = `${dest}.new`;
114
- fs.copyFileSync(src, newFile);
115
- console.log(`[UPDATE] ${path.relative(process.cwd(), newFile)} (conflict detected)`);
112
+ // Content differs - Overwrite original
113
+ fs.unlinkSync(dest);
114
+ fs.copyFileSync(src, dest);
115
+ console.log(`[UPDATE] ${path.relative(process.cwd(), dest)}`);
116
116
  }
117
117
  // else: Content identical - Silent skip
118
118
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-devflow",
3
- "version": "2.4.2",
3
+ "version": "2.4.5",
4
4
  "description": "DevFlow CLI tool",
5
5
  "main": "bin/cc-devflow.js",
6
6
  "bin": {