Skip to content

zpratt/lousy-agents

Repository files navigation

Lousy Agents

Turn "lousy" AI outputs into production-grade code.

Demo

TL;DR

A CLI tool that scaffolds projects with the structure AI coding assistants need to be effective. Run npx lousy-agents init to create a new project with testing, linting, and GitHub Copilot configuration. Run npx lousy-agents copilot-setup in existing projects to generate a workflow that gives Copilot your environment context.


Lousy Agents is a CLI scaffolding tool that sets up your projects with the structure, instructions, and feedback loops that AI coding assistants need to be effective. One command gives you a production-ready development environment with testing, linting, and AI assistant configuration.

Quick Start

# Scaffold a new webapp project (no install required)
npx lousy-agents init --kind webapp

# Or use interactive mode to choose your project type
npx lousy-agents init

# Generate GitHub Copilot setup workflow from your project configuration
npx lousy-agents copilot-setup

Table of Contents

Who This Is For

  • Software Engineers: Frustrated by inconsistent AI output and looking for proven patterns to improve results.
  • Curious Beginners: Interested in AI-assisted coding but unsure how to set things up for success.
  • Team Leads: Exploring how to standardize AI tooling across a team or project.
  • Platform Engineers: Need to automate project scaffolding in scripts or CI/CD pipelines.

No prior experience with coding agents is required—just curiosity and a willingness to experiment.

Why This Exists

AI coding assistants work best when given clear constraints. Without structure, they guess—and often guess wrong. Lousy Agents provides the scaffolding they need to succeed:

  • Instructions & Specs: Templates that clearly communicate your intent, so agents produce code that matches your vision.
  • Feedback Loops: Pre-configured testing (Vitest) and linting (Biome) that let agents catch and fix their own mistakes immediately.
  • Copilot Configuration: Settings and workflows that ground AI assistants in your specific engineering standards.

Features

CLI Commands

  • init - Scaffold new projects with testing, linting, and Copilot configuration
  • copilot-setup - Generate GitHub Actions workflows for Copilot environment setup

MCP Server

  • MCP Server - Model Context Protocol server for AI assistant integration

Spec-Driven Development

A methodology where you write clear specifications first, giving agents precise requirements to implement—rather than vague prompts. Each scaffolded project includes instruction files for writing specs and tests.

Non-Interactive Mode

Use the --kind flag to skip prompts and integrate into scripts or automation:

npx lousy-agents init --kind webapp  # No prompts, perfect for CI/CD

Installation

No installation required! Use npx to run directly:

npx lousy-agents init

For frequent use, install globally:

npm install -g lousy-agents

Usage

For detailed documentation on each command, see:

Quick Examples

Create a new webapp:

npx lousy-agents init --kind webapp

Generate Copilot setup workflow:

npx lousy-agents copilot-setup

Roadmap

Feature Status
Scaffolding for webapps In Progress
Scaffolding for CLI Not Started
Scaffolding for REST APIs Not Started
Scaffolding for GraphQL APIs Not Started
MCP server package ✅ Complete

Documentation

Reference Example

The ui/copilot-with-react directory contains a fully working reference implementation demonstrating these patterns in action. It's a Next.js + TypeScript project with:

  • Pre-configured testing (Vitest) and linting (Biome)
  • GitHub Copilot instructions and specs
  • Dev Container configuration for GitHub Codespaces

Launch a GitHub Codespace to instantly spin up this environment and experiment with spec-driven development.

About

reference collection of copilot and other coding agent instructions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published