Observed since 20 Oct, 23:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Add your description here
⚠️ Important: If you're using AI coding assistants without rules, you're not maximizing their potential!
This repository contains a collection of custom rules for AI-assisted development that significantly enhance your productivity and code quality. These rules provide structure, automation, and consistency to your development process, regardless of which AI assistant you use.
It also includes a small application that helps you scaffold such rules, optimize them for your use case, and even offers tools for Cursor/Copilot to expand their toolkit.
Requirements: uv
You can use everything pilot-rules has to offer without installing anything else — just make sure uv is available on your system.
# For Cursor AI
uvx pilot-rules --cursor
# For GitHub Copilot
uvx pilot-rules --copilot
# Collect all .py files in the current directory and subdirectories
# Writes output to code.md in the current directory
uvx pilot-rules --collect
# which is the same as
uvx pilot-rules --collect \
--include "py:." \
--output repository_analysis.md
# Collect multiple file types from multiple roots
# Excludes paths containing 'external'
# syntax
# <file extensions>:<folder>
# *:.
# all files in all folders
# Writes output to .project/code.md
uvx pilot-rules --collect \
--include "py,js:." \
--exclude "*:external" \
--include "md:docs" \
--output .project/code.md
Instead of passing everything via CLI, you can define your sources and output in a simple .toml file.
Example pilot-rules.toml:
[[source]]
exts = ["py", "js"]
root = "."
exclude = ["external"]
[[source]]
exts = ["md"]
root = "docs"
output = ".project/code.md"
Then run:
uvx pilot-rules --collect --config pilot-rules.toml
Let your coding agents work with your rules — not against them.
# Install globally with pipx (recommended)
pipx install pilot-rules
# Then use from anywhere
pilot-rules --cursor
pilot-rules --copilot
The tool will:
AI is transforming software development, and these rules represent a significant leap forward in this evolution. This repository showcases a fundamental paradigm shift in how we build software:
From: Developers manually writing every line of code
To: Developers creating specifications that guide AI assistants to generate implementation
This approach fundamentally changes the developer's role from manual coding to:
By adopting this rules-based approach, developers can dramatically accelerate productivity while still maintaining control.
The AI-assisted development rules system is built on these foundational principles:
The rules system introduces a streamlined workflow:
Start by initializing your project structure:
.project/specs directory for specificationsSPECS.md index file for tracking specifications.project/tasks directory for task managementTASKS.md index file for tracking tasksCreate specifications based on your ideas or requirements that include:
.project/specs/Generate tasks for your development schedule that:
.project/tasks/ with unique IDs (TASK-YYYY-MM-DD-NN)The rules system organizes your project with this structure:
project-root/
├── .project/
│ ├── specs/ # Specification files
│ │ └── SPEC-NN-*.md # Individual specification files
│ ├── SPECS.md # Specification index and progress tracking
│ ├── tasks/ # Task files
│ │ └── TASK-*.md # Individual task files
│ └── TASKS.md # Task index and tracking
└── src/ # Your source code
Specifications follow a standardized format:
- [ ] Requirement 1.1 [HIGH]: Authentication must use JWT
- [ ] Requirement 1.2 [MEDIUM]: Token expiration after 15 minutes
Tasks are structured for clarity and tracking:
Beyond the core workflow, the rules system offers:
The system intelligently manages git commits:
type(scope): description)The rules system provides numerous advantages:
Beyond the basic workflow, you can:
The rules system is continuously evolving with planned additions:
This structured AI development flow was inspired by Geoffrey Huntley's method of effectively using AI assistants. Huntley demonstrates how combining specifications with technical rules creates a powerful workflow that can dramatically increase development productivity.
As Huntley explains:
"When you use '/specs' method with the 'stdlib' method in conjunction with a programming language that provides compiler soundness (driven by good types) and compiler errors, the results are incredible. You can drive hands-free output of N factor (entire weeks' worth) of co-workers in hours."
The rules system is designed to be extensible! You can create new rules that address your specific workflow needs. Check the tool-specific guides for details on how to implement custom rules with your chosen AI assistant.
MIT License - See LICENSE for details.
"If you want to build a ship, don't drum up people to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea." - Antoine de Saint-Exupéry
In the same way, effective AI systems don't just execute code, but operate within a framework of principles and specifications that guide them toward building solutions that fulfill the true vision of what we seek to create.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.9 | 30 Mar 2025 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 23:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:007923a92ad742e43f66835de7808f85cbe263bfe797b6364d031a60a44957f1