npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fge-cli

v1.0.4

Published

A CLI tool to initialize new projects with Gemini and PRD markdown files.

Downloads

10

Readme

fge-cli

A command-line tool to quickly create project folders, automatically initializing GEMINI.md (for AI collaboration notes) and PRD.md (Product Requirements Document). 🚀 Go from idea to actionable tasks faster with AI-driven project setup and task generation.


⭐ Features

  • One-Command Project Init: Rapidly create project folders with a specified name.
  • Automatic Git Repo Initialization: Your new project gets git init automatically.
  • GEMINI.md File Generation: Includes a starter template for collaboration with Gemini or other AI assistants.
  • PRD.md File Generation: Creates an empty PRD document for you to quickly start writing.
  • AI-Powered TASK.md Generation (NEW!): Automatically generate a structured TASK.md file with uncompleted tasks from your PRD.md using the Gemini API. This is perfect for immediate task breakdown and tracking.

📦 Global Installation

First, ensure you have Node.js and npm installed. Then, you can install fge-cli globally via npm:

Bash

npm install -g fge-cli


🚀 Quick Start: Kickstart Your Project with AI

1. Initialize Your Project (ge command)

Simply run the ge command in your terminal, providing the name for your desired project folder:

Bash

ge my-new-project

This will:

  1. Create a folder named my-new-project in your current directory.
  2. Initialize a Git repository (.git folder) inside it.
  3. Create a GEMINI.md file, complete with a template for AI collaboration.
  4. Create an empty PRD.md file, ready for your product requirements.

2. Generate Tasks from PRD (gt command - NEW!)

After you've defined your project's requirements in PRD.md, you can use the new gt command to instantly generate a detailed TASK.md file.

Prerequisites for gt:

  • Set your GEMINI_API_KEY: The gt command requires your Gemini API key to be set as an environment variable. Obtain your key from Google AI Studio.
    • For Zsh users (add to ~/.zshrc):
      Bash
      echo 'export GEMINI_API_KEY="YOUR_ACTUAL_GEMINI_API_KEY"' >> ~/.zshrc
      source ~/.zshrc

    • For Bash users (add to ~/.bashrc):
      Bash
      echo 'export GEMINI_API_KEY="YOUR_ACTUAL_GEMINI_API_KEY"' >> ~/.bashrc
      source ~/.bashrc

    • Remember to replace "YOUR_ACTUAL_GEMINI_API_KEY" with your real key!

Usage:

  1. Navigate into your project folder (the one containing PRD.md):
    Bash
    cd my-new-project

  2. Fill in your PRD.md with your project's requirements, user stories, and features.

  3. Run the gt command:
    Bash
    gt

This will analyze your PRD.md and generate a TASK.md file in the same directory, structured with tasks that look like this:

Markdown

# Project Tasks

## User Stories
* [ ] As a user, I can register for an account.
* [ ] As a user, I can log in with my credentials.

## Features
* [ ] Implement user authentication system.
* [ ] Develop a user profile management page.

## Technical Tasks
* [ ] Set up database schema for users.
* [ ] Configure API endpoints for user operations.


🤖 Integrating with Gemini / AI Assistants

fge-cli's core philosophy is to facilitate seamless collaboration with AI assistants.

  • The GEMINI.md file is specifically designed for you to set context, prompts, and notes for your AI interactions. Use it to:
    • Document your AI prompts and responses.
    • Store key AI-generated insights or code snippets.
    • Maintain a clear history of your AI collaboration.
  • The new gt command directly leverages the Gemini API to transform your high-level product requirements into actionable development tasks, instantly providing a structured starting point for your team or personal workflow.

By starting your projects with fge and integrating tools like Gemini, you can significantly accelerate your journey from idea to execution!


🤝 Contributing

Contributions are welcome! If you have any suggestions for improvements or bug reports, please feel free to submit a Pull Request or open an Issue.


📄 License

This project is licensed under the ISC License.