forge-workflow 1.3.0 → 1.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.
package/docs/TOOLCHAIN.md CHANGED
@@ -393,9 +393,10 @@ The system SHALL support optional 2FA
393
393
 
394
394
  Context7 provides current documentation that may be more recent than the AI's training data.
395
395
 
396
- **Installation (Claude Code)**:
396
+ **Installation**:
397
+
398
+ **Claude Code**: Add to `.mcp.json` in your project root:
397
399
 
398
- Add to `.mcp.json` in your project root:
399
400
 
400
401
  ```json
401
402
  {
@@ -420,6 +421,28 @@ Add to `.mcp.json` in your project root:
420
421
  }
421
422
  ```
422
423
 
424
+ **Cline (VSCode)**:
425
+ 1. Open VSCode Settings
426
+ 2. Search for "Cline MCP"
427
+ 3. Add Context7 server configuration
428
+
429
+ **Continue**: Add to `.continue/config.json`:
430
+
431
+ ```json
432
+ {
433
+ "mcpServers": {
434
+ "context7": {
435
+ "command": "npx",
436
+ "args": ["-y", "@upstash/context7-mcp@latest"]
437
+ }
438
+ }
439
+ }
440
+ ```
441
+
442
+ **Cursor**: Check Cursor Settings → MCP Servers for configuration options
443
+
444
+ **Other agents**: If your agent supports MCP, configure using the JSON format above
445
+
423
446
  **Usage**:
424
447
  ```
425
448
  # The AI will automatically use Context7 when you ask about libraries
@@ -434,6 +457,72 @@ Add to `.mcp.json` in your project root:
434
457
  - To verify API signatures and patterns
435
458
  - For current best practices
436
459
 
460
+ ### grep.app - Code Search
461
+
462
+ **Package**: `@ai-tools-all/grep_app_mcp` (recommended) or `@galprz/grep-mcp`
463
+ **Website**: [grep.app](https://grep.app)
464
+ **Purpose**: Search across 1M+ public GitHub repositories for real-world code examples
465
+ **Used in**: `/research` stage, finding implementation patterns
466
+
467
+ grep.app provides code search across public GitHub repositories to find real-world examples and patterns.
468
+
469
+ **Installation (Claude Code)**:
470
+
471
+ Add to `.mcp.json` in your project root:
472
+
473
+ ```json
474
+ {
475
+ "mcpServers": {
476
+ "context7": {
477
+ "command": "npx",
478
+ "args": ["-y", "@upstash/context7-mcp@latest"]
479
+ },
480
+ "grep-app": {
481
+ "command": "npx",
482
+ "args": ["-y", "@ai-tools-all/grep_app_mcp"]
483
+ }
484
+ }
485
+ }
486
+ ```
487
+
488
+ **Or with bunx**:
489
+ ```json
490
+ {
491
+ "mcpServers": {
492
+ "context7": {
493
+ "command": "bunx",
494
+ "args": ["--bun", "@upstash/context7-mcp@latest"]
495
+ },
496
+ "grep-app": {
497
+ "command": "bunx",
498
+ "args": ["--bun", "@ai-tools-all/grep_app_mcp"]
499
+ }
500
+ }
501
+ }
502
+ ```
503
+
504
+ **Usage**:
505
+ ```
506
+ # The AI will use grep.app when you need real-world examples
507
+ "Find examples of React useEffect cleanup patterns"
508
+ "Show me how others implement JWT authentication in Express"
509
+ "Search for rate limiting implementations in Node.js"
510
+ ```
511
+
512
+ **When to use grep.app**:
513
+
514
+ - Finding real-world implementation examples
515
+ - Discovering coding patterns in production code
516
+ - Validating implementation approaches
517
+ - Learning from open source projects
518
+
519
+ **Context7 vs grep.app**:
520
+
521
+ | Tool | Purpose | Use When |
522
+ |----------------|--------------------------------|-------------------------------------------|
523
+ | **Context7** | Official library documentation | You need API reference, official patterns |
524
+ | **grep.app** | Real code in the wild | You want to see how others solve problems |
525
+
437
526
  ---
438
527
 
439
528
  ## External Services
@@ -658,7 +747,7 @@ gh issue create --title "..." --body "..."
658
747
  | Stage | Tools Used |
659
748
  |-------|------------|
660
749
  | `/status` | `bd ready`, `bd list`, `git status`, `openspec list` |
661
- | `/research` | Parallel AI, codebase exploration |
750
+ | `/research` | Parallel AI, Context7, grep.app, codebase exploration |
662
751
  | `/plan` | `bd create`, `openspec` (if strategic), `git checkout -b` |
663
752
  | `/dev` | Tests, code, `bd update`, `/tasks save` |
664
753
  | `/check` | Type check, lint, tests, SonarCloud |
package/docs/WORKFLOW.md CHANGED
@@ -237,6 +237,29 @@ bd sync && git push
237
237
 
238
238
  ---
239
239
 
240
+ ## Recovery: Rollback
241
+
242
+ If something goes wrong, use rollback to safely revert changes:
243
+
244
+ ```bash
245
+ npx forge rollback
246
+ ```
247
+
248
+ **Rollback methods**:
249
+
250
+ - **Last commit**: Quick undo of most recent change
251
+ - **Specific commit**: Target any commit by hash
252
+ - **Merged PR**: Revert an entire PR merge
253
+ - **Specific files**: Restore only certain files
254
+ - **Branch range**: Revert multiple commits
255
+ - **Dry run**: Preview changes without executing
256
+
257
+ All USER sections and custom commands are preserved during rollback.
258
+
259
+ See [.claude/commands/rollback.md](../.claude/commands/rollback.md) for complete documentation.
260
+
261
+ ---
262
+
240
263
  ## Tips & Best Practices
241
264
 
242
265
  1. **Always TDD**: Write tests BEFORE implementation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forge-workflow",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "9-stage TDD workflow for ALL AI coding agents (Claude, Cursor, Windsurf, Kilo, OpenCode, Copilot, Cline, Roo, Aider, Continue, Antigravity)",
5
5
  "bin": {
6
6
  "forge": "bin/forge.js"
@@ -44,6 +44,8 @@
44
44
  ".claude/",
45
45
  "docs/",
46
46
  "install.sh",
47
- "AGENTS.md"
47
+ "AGENTS.md",
48
+ "CLAUDE.md",
49
+ ".mcp.json.example"
48
50
  ]
49
51
  }