A developer tool that uses IBM Bob AI to automatically detect which files are affected when a backend model field is renamed — saving time and reducing bugs during refactors.
When a field is renamed on the backend (e.g., fullName → name on the User model), this tool:
- Sends a prompt to Bob AI via the CLI
- Bob scans the project and identifies affected files (components, API docs, tests)
- Returns a structured JSON list of affected files with reasons
Bridge Forge/
├── Classify.py # Core classifier — calls Bob AI to find affected files
├── UserCard.jsx # Example React component using the User model
├── user.test.js # Tests for UserCard component
├── API.md # API documentation for the User object
└── README.md # This file
- IBM Bob CLI installed and configured
- Python 3.x
- Node.js (for frontend/tests)
python Classify.pyThis runs a test case: renaming fullName → name on the User model and prints the affected files.
{
"affected_files": [
{ "path": "UserCard.jsx", "reason": "Uses user.name from the User model" },
{ "path": "user.test.js", "reason": "Tests the UserCard component with user.name" },
{ "path": "API.md", "reason": "Documents the User object fields" }
]
}npm testTests are written using React Testing Library and cover the UserCard component.
| Layer | Technology |
|---|---|
| AI Engine | IBM Bob AI (CLI) |
| Backend | Python 3 |
| Frontend | React (JSX) |
| Testing | Jest + React Testing Library |
| Docs | Markdown |
See API.md for the User object schema.
- Fork the repo
- Create a new branch:
git checkout -b my-feature - Commit your changes:
git commit -m "Add my feature" - Push to the branch:
git push origin my-feature - Open a Pull Request
GitHub: https://github.com/binarylaiba/Bridge-Forage-hackathon