forge-workflow 1.0.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.
package/install.sh ADDED
@@ -0,0 +1,88 @@
1
+ #!/bin/bash
2
+ # Forge - 9-Stage TDD-First Workflow Installer
3
+ # https://github.com/harshanandak/forge
4
+
5
+ set -e
6
+
7
+ REPO="harshanandak/forge"
8
+ BRANCH="main"
9
+ BASE_URL="https://raw.githubusercontent.com/$REPO/$BRANCH"
10
+
11
+ echo ""
12
+ echo " ___ "
13
+ echo " | _|___ _ _ ___ ___ "
14
+ echo " | _| . || '_|| . || -_|"
15
+ echo " |_| |___||_| |_ ||___|"
16
+ echo " |___| "
17
+ echo ""
18
+ echo "Installing Forge - 9-Stage TDD-First Workflow..."
19
+ echo ""
20
+
21
+ # Create directories
22
+ echo "Creating directories..."
23
+ mkdir -p .claude/commands
24
+ mkdir -p .claude/rules
25
+ mkdir -p .claude/skills/parallel-ai
26
+ mkdir -p .claude/skills/sonarcloud
27
+ mkdir -p .claude/scripts
28
+ mkdir -p docs/research
29
+
30
+ # Download commands
31
+ echo "Downloading workflow commands..."
32
+ for cmd in status research plan dev check ship review merge verify; do
33
+ curl -fsSL "$BASE_URL/.claude/commands/$cmd.md" -o ".claude/commands/$cmd.md"
34
+ echo " ✓ $cmd.md"
35
+ done
36
+
37
+ # Download rules
38
+ echo "Downloading workflow rules..."
39
+ curl -fsSL "$BASE_URL/.claude/rules/workflow.md" -o ".claude/rules/workflow.md"
40
+ echo " ✓ workflow.md"
41
+
42
+ # Download skills
43
+ echo "Downloading skills..."
44
+ for file in SKILL.md README.md api-reference.md quick-reference.md research-workflows.md; do
45
+ curl -fsSL "$BASE_URL/.claude/skills/parallel-ai/$file" -o ".claude/skills/parallel-ai/$file" 2>/dev/null || true
46
+ done
47
+ echo " ✓ parallel-ai"
48
+
49
+ curl -fsSL "$BASE_URL/.claude/skills/sonarcloud/SKILL.md" -o ".claude/skills/sonarcloud/SKILL.md" 2>/dev/null || true
50
+ echo " ✓ sonarcloud"
51
+
52
+ # Download scripts
53
+ echo "Downloading scripts..."
54
+ curl -fsSL "$BASE_URL/.claude/scripts/load-env.sh" -o ".claude/scripts/load-env.sh"
55
+ chmod +x .claude/scripts/load-env.sh
56
+ echo " ✓ load-env.sh"
57
+
58
+ # Download documentation
59
+ echo "Downloading documentation..."
60
+ curl -fsSL "$BASE_URL/docs/WORKFLOW.md" -o "docs/WORKFLOW.md"
61
+ echo " ✓ WORKFLOW.md"
62
+
63
+ curl -fsSL "$BASE_URL/docs/research/TEMPLATE.md" -o "docs/research/TEMPLATE.md"
64
+ echo " ✓ research/TEMPLATE.md"
65
+
66
+ echo ""
67
+ echo "✅ Forge installed successfully!"
68
+ echo ""
69
+ echo "┌─────────────────────────────────────────────────────────┐"
70
+ echo "│ GET STARTED │"
71
+ echo "├─────────────────────────────────────────────────────────┤"
72
+ echo "│ /status - Check current context │"
73
+ echo "│ /research - Start researching a feature │"
74
+ echo "│ /plan - Create implementation plan │"
75
+ echo "│ /dev - Start TDD development │"
76
+ echo "│ /check - Run validation │"
77
+ echo "│ /ship - Create pull request │"
78
+ echo "│ /review - Address PR feedback │"
79
+ echo "│ /merge - Merge and cleanup │"
80
+ echo "│ /verify - Final documentation check │"
81
+ echo "├─────────────────────────────────────────────────────────┤"
82
+ echo "│ Full guide: docs/WORKFLOW.md │"
83
+ echo "│ Research template: docs/research/TEMPLATE.md │"
84
+ echo "└─────────────────────────────────────────────────────────┘"
85
+ echo ""
86
+ echo "Optional: Install Beads for issue tracking"
87
+ echo " See: https://github.com/beads-ai/beads-cli"
88
+ echo ""
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "forge-workflow",
3
+ "version": "1.0.0",
4
+ "description": "9-stage TDD-first workflow for Claude Code",
5
+ "bin": {
6
+ "forge": "./bin/forge.js"
7
+ },
8
+ "scripts": {
9
+ "postinstall": "node ./bin/forge.js"
10
+ },
11
+ "keywords": [
12
+ "claude",
13
+ "claude-code",
14
+ "tdd",
15
+ "workflow",
16
+ "development",
17
+ "testing",
18
+ "ai"
19
+ ],
20
+ "author": "Harsha Nandak",
21
+ "license": "MIT",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/harshanandak/forge.git"
25
+ },
26
+ "homepage": "https://github.com/harshanandak/forge#readme",
27
+ "bugs": {
28
+ "url": "https://github.com/harshanandak/forge/issues"
29
+ },
30
+ "files": [
31
+ "bin/",
32
+ ".claude/",
33
+ "docs/",
34
+ "install.sh"
35
+ ]
36
+ }