recreate-fob 1.0.1 → 2.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/.claude/agents/.gitkeep +0 -0
- package/.claude/commands/FOB/.gitkeep +0 -0
- package/.claude/commands/FOB/experts/codebase/self-improve.md +191 -0
- package/.claude/commands/FOB/init_project.md +135 -0
- package/.claude/commands/FOB/iterate_spec.md +59 -0
- package/.claude/commands/FOB/plan_project.md +142 -0
- package/.claude/skills/.gitkeep +0 -0
- package/.codex/agents/.gitkeep +0 -0
- package/.codex/commands/.gitkeep +0 -0
- package/.codex/commands/FOB/.gitkeep +0 -0
- package/.codex/commands/FOB/experts/codebase/self-improve.md +191 -0
- package/.codex/commands/FOB/init_project.md +135 -0
- package/.codex/commands/FOB/iterate_spec.md +59 -0
- package/.codex/commands/FOB/plan_project.md +142 -0
- package/.codex/skills/.gitkeep +0 -0
- package/.opencode/agents/.gitkeep +0 -0
- package/.opencode/commands/.gitkeep +0 -0
- package/.opencode/commands/FOB/.gitkeep +0 -0
- package/.opencode/commands/FOB/experts/codebase/self-improve.md +191 -0
- package/.opencode/commands/FOB/init_project.md +135 -0
- package/.opencode/commands/FOB/iterate_spec.md +59 -0
- package/.opencode/commands/FOB/plan_project.md +142 -0
- package/.opencode/skills/.gitkeep +0 -0
- package/forward-operating-base/VERSION +1 -1
- package/package.json +1 -1
- package/.claude/agents/FOB-planner.md +0 -57
- package/.claude/agents/FOB-reviewer.md +0 -61
- package/.claude/commands/FOB/changelog.md +0 -24
- package/.claude/commands/FOB/help.md +0 -32
- package/.claude/commands/FOB/scan.md +0 -48
- package/.claude/commands/FOB/status.md +0 -47
- package/.claude/skills/FOB-diagnostics/skill.md +0 -36
- package/.claude/skills/FOB-project-setup/skill.md +0 -68
- package/.codex/agents/FOB-planner.md +0 -57
- package/.codex/agents/FOB-reviewer.md +0 -61
- package/.codex/commands/FOB/changelog.md +0 -24
- package/.codex/commands/FOB/help.md +0 -32
- package/.codex/commands/FOB/scan.md +0 -48
- package/.codex/commands/FOB/status.md +0 -47
- package/.codex/skills/FOB-diagnostics/skill.md +0 -36
- package/.codex/skills/FOB-project-setup/skill.md +0 -68
- package/.opencode/agents/FOB-planner.md +0 -57
- package/.opencode/agents/FOB-reviewer.md +0 -61
- package/.opencode/commands/FOB/changelog.md +0 -24
- package/.opencode/commands/FOB/help.md +0 -32
- package/.opencode/commands/FOB/scan.md +0 -48
- package/.opencode/commands/FOB/status.md +0 -47
- package/.opencode/skills/FOB-diagnostics/skill.md +0 -36
- package/.opencode/skills/FOB-project-setup/skill.md +0 -68
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# FOB Reviewer Agent
|
|
2
|
-
|
|
3
|
-
You are a code review specialist focused on quality, maintainability, and best practices.
|
|
4
|
-
|
|
5
|
-
## Core Responsibilities
|
|
6
|
-
|
|
7
|
-
1. **Code Correctness**
|
|
8
|
-
- Verify logic is correct and handles all cases
|
|
9
|
-
- Check for potential bugs and edge cases
|
|
10
|
-
- Ensure error handling is appropriate
|
|
11
|
-
|
|
12
|
-
2. **Code Quality**
|
|
13
|
-
- Assess readability and maintainability
|
|
14
|
-
- Check for consistent coding style
|
|
15
|
-
- Identify opportunities for simplification
|
|
16
|
-
|
|
17
|
-
3. **Best Practices**
|
|
18
|
-
- Verify adherence to project conventions
|
|
19
|
-
- Check for security considerations
|
|
20
|
-
- Ensure performance is reasonable
|
|
21
|
-
|
|
22
|
-
## Review Checklist
|
|
23
|
-
|
|
24
|
-
When reviewing code, check:
|
|
25
|
-
|
|
26
|
-
- [ ] **Logic** - Does the code do what it's supposed to?
|
|
27
|
-
- [ ] **Edge Cases** - Are boundary conditions handled?
|
|
28
|
-
- [ ] **Error Handling** - Are errors caught and handled appropriately?
|
|
29
|
-
- [ ] **Readability** - Is the code easy to understand?
|
|
30
|
-
- [ ] **Naming** - Are variables and functions named clearly?
|
|
31
|
-
- [ ] **DRY** - Is there unnecessary duplication?
|
|
32
|
-
- [ ] **Security** - Are there any security concerns?
|
|
33
|
-
- [ ] **Performance** - Are there obvious performance issues?
|
|
34
|
-
|
|
35
|
-
## Output Format
|
|
36
|
-
|
|
37
|
-
When providing review feedback:
|
|
38
|
-
|
|
39
|
-
```markdown
|
|
40
|
-
## Summary
|
|
41
|
-
[Overall assessment: Approved / Needs Changes / Needs Discussion]
|
|
42
|
-
|
|
43
|
-
## Strengths
|
|
44
|
-
- [What's done well]
|
|
45
|
-
|
|
46
|
-
## Issues
|
|
47
|
-
1. **[Severity: Critical/Major/Minor]** - [File:Line]
|
|
48
|
-
[Description of the issue]
|
|
49
|
-
Suggestion: [How to fix]
|
|
50
|
-
|
|
51
|
-
## Suggestions
|
|
52
|
-
- [Optional improvements that aren't blocking]
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## Behavior Guidelines
|
|
56
|
-
|
|
57
|
-
- Be constructive, not critical
|
|
58
|
-
- Focus on the code, not the author
|
|
59
|
-
- Explain the "why" behind suggestions
|
|
60
|
-
- Prioritize issues by severity
|
|
61
|
-
- Acknowledge good work as well as issues
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# FOB Changelog
|
|
2
|
-
|
|
3
|
-
Display the version history and recent changes for FOB.
|
|
4
|
-
|
|
5
|
-
## Current Version
|
|
6
|
-
|
|
7
|
-
Check `.fob-version` in the project root for the installed version.
|
|
8
|
-
|
|
9
|
-
## Changelog
|
|
10
|
-
|
|
11
|
-
### v1.0.1
|
|
12
|
-
- Added `/FOB:changelog` command
|
|
13
|
-
- Added `FOB-diagnostics` skill
|
|
14
|
-
- Updated FOB-planner agent with version tracking
|
|
15
|
-
|
|
16
|
-
### v1.0.0
|
|
17
|
-
- Initial release
|
|
18
|
-
- Core commands: `/FOB:help`, `/FOB:status`, `/FOB:scan`
|
|
19
|
-
- Agents: `FOB-planner`, `FOB-reviewer`
|
|
20
|
-
- Skills: `FOB-project-setup`
|
|
21
|
-
|
|
22
|
-
## Updating
|
|
23
|
-
|
|
24
|
-
Run `npx recreate-fob --local` to update to the latest version.
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: FOB:help
|
|
3
|
-
description: Display available Forward Operating Base commands
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# FOB Help
|
|
7
|
-
|
|
8
|
-
Display all available Forward Operating Base (FOB) commands and their descriptions.
|
|
9
|
-
|
|
10
|
-
## Available Commands
|
|
11
|
-
|
|
12
|
-
| Command | Description |
|
|
13
|
-
|---------|-------------|
|
|
14
|
-
| `/FOB:help` | Display this help message |
|
|
15
|
-
| `/FOB:status` | Check FOB installation status and version |
|
|
16
|
-
| `/FOB:scan` | Scan project for FOB integration opportunities |
|
|
17
|
-
|
|
18
|
-
## Agents
|
|
19
|
-
|
|
20
|
-
The following FOB agents are available for use with the Task tool:
|
|
21
|
-
|
|
22
|
-
- **FOB-planner** - Strategic planning agent for project organization
|
|
23
|
-
- **FOB-reviewer** - Code review agent focused on quality and best practices
|
|
24
|
-
|
|
25
|
-
## Skills
|
|
26
|
-
|
|
27
|
-
- **FOB-project-setup** - Initialize projects with FOB-standard structure
|
|
28
|
-
|
|
29
|
-
## More Information
|
|
30
|
-
|
|
31
|
-
FOB assets are managed centrally and deployed via `npx recreate-fob`.
|
|
32
|
-
To update FOB assets, run the installer again in your project directory.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: FOB:scan
|
|
3
|
-
description: Scan project for FOB integration opportunities
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# FOB Scan
|
|
7
|
-
|
|
8
|
-
Analyze the current project and suggest FOB integrations that could improve workflow.
|
|
9
|
-
|
|
10
|
-
## Instructions
|
|
11
|
-
|
|
12
|
-
1. **Scan Project Structure**
|
|
13
|
-
- Look for existing `.claude/`, `.opencode/`, `.codex/` directories
|
|
14
|
-
- Identify the project type (Node.js, Python, Go, etc.)
|
|
15
|
-
- Check for existing commands, agents, and skills
|
|
16
|
-
|
|
17
|
-
2. **Analyze Existing Configuration**
|
|
18
|
-
- Read any existing `@claude.md` or similar config files
|
|
19
|
-
- Identify custom commands that might benefit from FOB patterns
|
|
20
|
-
- Look for repeated patterns that could be extracted into agents
|
|
21
|
-
|
|
22
|
-
3. **Generate Recommendations**
|
|
23
|
-
Based on the project type and existing setup, suggest:
|
|
24
|
-
- FOB commands that could help with common tasks
|
|
25
|
-
- Agents that could automate recurring workflows
|
|
26
|
-
- Skills that could streamline project operations
|
|
27
|
-
|
|
28
|
-
## Output Format
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
FOB Scan Results
|
|
32
|
-
================
|
|
33
|
-
|
|
34
|
-
Project Type: [detected type]
|
|
35
|
-
Existing Frameworks: [list of .claude, .opencode, .codex if present]
|
|
36
|
-
|
|
37
|
-
Recommendations:
|
|
38
|
-
1. [Recommendation with explanation]
|
|
39
|
-
2. [Recommendation with explanation]
|
|
40
|
-
3. [Recommendation with explanation]
|
|
41
|
-
|
|
42
|
-
Quick Start:
|
|
43
|
-
Run: npx recreate-fob --local
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
## Reference
|
|
47
|
-
|
|
48
|
-
For available FOB assets, see: @~/.claude/forward-operating-base/templates/
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: FOB:status
|
|
3
|
-
description: Check Forward Operating Base installation status and version
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# FOB Status
|
|
7
|
-
|
|
8
|
-
Check the current Forward Operating Base installation status and version.
|
|
9
|
-
|
|
10
|
-
## Instructions
|
|
11
|
-
|
|
12
|
-
1. Look for `.fob-version` file in the project root to determine installed version
|
|
13
|
-
2. List all FOB-prefixed commands in `.claude/commands/FOB/`
|
|
14
|
-
3. List all FOB-prefixed agents (files matching `FOB-*.md` in `.claude/agents/`)
|
|
15
|
-
4. List all FOB-prefixed skills (directories matching `FOB-*` in `.claude/skills/`)
|
|
16
|
-
5. Check if `forward-operating-base/` shared assets directory exists
|
|
17
|
-
|
|
18
|
-
## Output Format
|
|
19
|
-
|
|
20
|
-
Provide a structured status report:
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
FOB Status Report
|
|
24
|
-
=================
|
|
25
|
-
Version: [version from .fob-version or "Not installed"]
|
|
26
|
-
|
|
27
|
-
Commands:
|
|
28
|
-
- FOB:help
|
|
29
|
-
- FOB:status
|
|
30
|
-
- FOB:scan
|
|
31
|
-
|
|
32
|
-
Agents:
|
|
33
|
-
- FOB-planner
|
|
34
|
-
- FOB-reviewer
|
|
35
|
-
|
|
36
|
-
Skills:
|
|
37
|
-
- FOB-project-setup
|
|
38
|
-
|
|
39
|
-
Shared Assets: [Installed / Not found]
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Troubleshooting
|
|
43
|
-
|
|
44
|
-
If FOB is not installed or partially installed, suggest running:
|
|
45
|
-
```bash
|
|
46
|
-
npx recreate-fob --local
|
|
47
|
-
```
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# FOB Diagnostics Skill
|
|
2
|
-
|
|
3
|
-
Diagnose and troubleshoot FOB installation issues.
|
|
4
|
-
|
|
5
|
-
## Capabilities
|
|
6
|
-
|
|
7
|
-
1. **Version Check** - Verify installed FOB version matches expected
|
|
8
|
-
2. **File Integrity** - Check all FOB files are present and valid
|
|
9
|
-
3. **Configuration Audit** - Review FOB configuration for issues
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
When asked to diagnose FOB issues:
|
|
14
|
-
|
|
15
|
-
1. Read `.fob-version` to check installed version
|
|
16
|
-
2. List files in `.opencode/commands/FOB/` to verify commands
|
|
17
|
-
3. List files in `.opencode/agents/` to check for FOB-* agents
|
|
18
|
-
4. List files in `.opencode/skills/` to check for FOB-* skills
|
|
19
|
-
5. Report any missing or misconfigured items
|
|
20
|
-
|
|
21
|
-
## Output Format
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
FOB Diagnostics Report
|
|
25
|
-
======================
|
|
26
|
-
Version: [installed version]
|
|
27
|
-
Commands: [count] found
|
|
28
|
-
Agents: [count] found
|
|
29
|
-
Skills: [count] found
|
|
30
|
-
|
|
31
|
-
Issues:
|
|
32
|
-
- [list any problems found]
|
|
33
|
-
|
|
34
|
-
Recommendations:
|
|
35
|
-
- [suggested fixes]
|
|
36
|
-
```
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: FOB-project-setup
|
|
3
|
-
description: Initialize projects with FOB-standard structure
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# FOB Project Setup Skill
|
|
7
|
-
|
|
8
|
-
This skill helps initialize new projects with a standardized FOB structure and configuration.
|
|
9
|
-
|
|
10
|
-
## Trigger
|
|
11
|
-
|
|
12
|
-
Activated by mentioning "FOB setup", "FOB init", or "initialize FOB".
|
|
13
|
-
|
|
14
|
-
## Process
|
|
15
|
-
|
|
16
|
-
### 1. Analyze Project Type
|
|
17
|
-
|
|
18
|
-
First, detect the project type and existing configuration:
|
|
19
|
-
- Check for package.json (Node.js)
|
|
20
|
-
- Check for requirements.txt or pyproject.toml (Python)
|
|
21
|
-
- Check for go.mod (Go)
|
|
22
|
-
- Check for Cargo.toml (Rust)
|
|
23
|
-
- Look for existing .claude/, .opencode/, .codex/ directories
|
|
24
|
-
|
|
25
|
-
### 2. Create Structure
|
|
26
|
-
|
|
27
|
-
Based on the project type, create appropriate directories:
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
project/
|
|
31
|
-
├── .claude/
|
|
32
|
-
│ ├── commands/
|
|
33
|
-
│ │ └── [project-specific commands]
|
|
34
|
-
│ └── agents/
|
|
35
|
-
│ └── [project-specific agents]
|
|
36
|
-
└── forward-operating-base/ (if not already present)
|
|
37
|
-
└── [shared assets]
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### 3. Configure Integration
|
|
41
|
-
|
|
42
|
-
- Create or update @claude.md with project context
|
|
43
|
-
- Add project-specific commands based on detected framework
|
|
44
|
-
- Configure any relevant hooks
|
|
45
|
-
|
|
46
|
-
## Output
|
|
47
|
-
|
|
48
|
-
After setup, provide a summary:
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
FOB Project Setup Complete
|
|
52
|
-
==========================
|
|
53
|
-
|
|
54
|
-
Created:
|
|
55
|
-
- .claude/commands/
|
|
56
|
-
- .claude/agents/
|
|
57
|
-
|
|
58
|
-
Detected: [project type]
|
|
59
|
-
|
|
60
|
-
Next Steps:
|
|
61
|
-
1. Run /FOB:help to see available commands
|
|
62
|
-
2. Create project-specific commands in .claude/commands/
|
|
63
|
-
3. Add project context to @claude.md
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
## Templates
|
|
67
|
-
|
|
68
|
-
Reference: @~/forward-operating-base/templates/project.md
|