https://github.com/holasoymalva/flowdev
Automating tasks for developers from prompts
https://github.com/holasoymalva/flowdev
developer-tools development
Last synced: 2 months ago
JSON representation
Automating tasks for developers from prompts
- Host: GitHub
- URL: https://github.com/holasoymalva/flowdev
- Owner: holasoymalva
- License: mit
- Created: 2025-06-23T04:19:11.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-23T04:24:25.000Z (12 months ago)
- Last Synced: 2025-09-17T18:41:22.974Z (9 months ago)
- Topics: developer-tools, development
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π§ FLOWDEV β Automate Developer Tasks with AI Prompts
What if you could just **type a prompt** and FLOWDEV did the boring dev work for you?
Refactor code. Generate unit tests. Add logging. Scaffold API endpoints. All from one CLI + VSCode plugin β powered by GPT-4.
FLOWDEV turns your prompt into production-ready code, directly in your repo.
Itβs like having a senior dev on standby, 24/7.
---
## β‘ Features
- π **Refactor your code** via prompt
β `flowdev "Refactor this controller to clean architecture"`
- π§ͺ **Generate unit tests**
β `flowdev "Write Jest tests for this service"`
- π§° **Add logging** (Pino, Winston, etc.)
β `flowdev "Add logging to these API handlers"`
- π **Add input validation**
β `flowdev "Add Zod validation to this endpoint"`
- π **Generate documentation**
β `flowdev "Generate Swagger docs for this file"`
- π§ Works with:
- JavaScript / TypeScript
- Angular, React, Node.js
- More coming soon...
---
## π Quick Start
### 1. Install the CLI
```bash
npm install -g flowdev
````
### 2. Authenticate
```bash
flowdev auth
```
> Requires an OpenAI API Key or Gemini API Key.
### 3. Run on your code
```bash
flowdev "Write unit tests for this file" --file src/api/user.ts
```
You can also pipe code directly:
```bash
cat service.ts | flowdev "Refactor this to use dependency injection"
```
Or use with Git staged files:
```bash
git diff --cached | flowdev "Add comments and logs"
```
---
## π§© Integrations
* β
VS Code Extension (optional)
* β
GitHub Actions (coming soon)
* β
Git pre-commit hook (`.flowdevrc`)
* β
Output to file or terminal
* β
Custom prompt templates
---
## π‘ Use Cases
| Prompt | What it does |
| ------------------------------------------------ | -------------------------------------- |
| `"Add logging to all routes"` | Adds `logger.info()` or Pino to routes |
| `"Generate Swagger for this controller"` | Generates OpenAPI spec |
| `"Write tests"` | Creates Jest or Vitest test file |
| `"Explain this regex"` | Outputs a plain-English explanation |
| `"Translate this Angular service to React hook"` | Converts Angular logic to React |
---
## π Security
* Code never leaves your local machine unless explicitly allowed.
* Supports local models (coming soon).
* Add `.flowdevignore` to skip sensitive files.
---
## π οΈ Roadmap
* [ ] GitHub PR suggestions
* [ ] GPT-based code review
* [ ] Custom model support (Claude, Mistral, etc.)
* [ ] Local inference mode (Ollama)
---
## π¨βπ» Created by Developers, for Developers
FLOWDEV was built by devs tired of repetitive tasks and long refactor sessions.
If you live in TypeScript, CLI tools, and unit tests β this is for you.
---
## π« Join the Dev Beta
Get early access, report issues, or request features:
* [x] GitHub Issues
* [x] Discord Community (coming soon)
* [x] Twitter: [@flowdev\_ai](https://twitter.com/flowdev_ai)
* [x] Site: [flowdev.tools](https://flowdev.tools)
---
## π§ͺ Sample Prompt
```bash
flowdev "Add Zod validation to this route handler" --file routes/user.ts
```
Before:
```ts
app.post("/user", async (req, res) => {
const user = req.body;
saveUser(user);
});
```
After:
```ts
import { z } from "zod";
const UserSchema = z.object({
name: z.string(),
email: z.string().email(),
});
app.post("/user", async (req, res) => {
const parseResult = UserSchema.safeParse(req.body);
if (!parseResult.success) return res.status(400).json(parseResult.error);
saveUser(parseResult.data);
});
```
---
## π License
MIT License Β© 2025 β [@holasoymalva](https://github.com/holasoymalva)