Your daily prompt framework - organized AI prompts with smart auto-filling and git workflow integration
- Smart Mode (default): Asks for tags, task, and auto-fills context from your project
- Quick Mode (
--quickor-q): Minimal questions, fast prompt creation - Finish Command: Complete your work with structured commit tracking and file change documentation
- Project Structure Generation: Auto-generates project tree with customizable ignore patterns
- Auto-detection: Reads package.json to fill tools, versions, and environment
- History Tracking: Keeps track of what you've been working on
- Date & Counter: Automatic YYYYMMDD_NN naming
- Git Integration: Automatically adds
.promptsto.gitignore(if file exists)
npm install -g create-promptOr use the short alias:
pcreate-prompt
# or
pAsks you:
- Prompt name/title
- Tags (optional, comma-separated)
- Task/goal (optional)
Then auto-fills:
- Date
- Environment (OS)
- Tools (from package.json)
- Project structure
- History
create-prompt --quick
# or
p -qOnly asks the essential questions (last thing + prompt name).
create-prompt --no-history
# or combine with quick mode
p -q --no-historySkips the history question and sets it to "N/A". Useful when you want to jump straight to creating prompts.
create-prompt finish
# or
p finishComplete your work session with an organized workflow:
- Asks what you did (mandatory)
- Shows git status
- Asks for file-by-file change descriptions (press Enter 3 times to skip)
- Creates/updates
.prompts/latest_commit.mdwith detailed changes - Updates
.prompts/base_prompt.mdwith latest commit info - Performs git commit automatically
File descriptions:
- If you provide a description: it's added to the table
- If you press Enter: adds "No description provided" to the table
- Press Enter 3 times in a row: finishes and commits
create-prompt project-structure
# or shortcut
p psCreates .prompts/project_structure.md with your project tree and updates .prompts/base_prompt.md.
Customizable ignore patterns:
- Respects
.gitignorepatterns - Create
.prompts/ignore_files.txtto add custom ignore patterns:public/images public/css *.log dist/
create-prompt files-markdown
# or shortcut
p fmCreates .prompts/requested_files.md containing the content of files listed in .prompts/requested_files.txt. Perfect for sharing multiple files with AI tools or for documentation purposes.
How it works:
- Create/edit
.prompts/requested_files.txtwith file paths (one per line) - Run
p fmto generate the markdown output - Example
requested_files.txt:src/index.js src/components/Header.jsx README.md
The tool creates a .prompts directory in your project with:
base_prompt.md- Your base template (auto-updated with project structure, history, and latest commit)YYYYMMDD_NN_slug.md- Individual prompts created withpcommandlatest_commit.md- Most recent commit details with file changes tableproject_structure.md- Current project structure treeignore_files.txt- Custom patterns to ignore in project structure (optional)requested_files.txt- List of file paths to include in markdown output (optional)requested_files.md- Generated markdown with file contents
Edit .prompts/base_prompt.md to customize your prompt template. Changes will apply to all new prompts.
create-prompt/
├── bin/
│ └── create-prompt
├── templates/
│ └── base_prompt.md
├── package.json
└── README.md
| Command | Shortcut | Description |
|---|---|---|
create-prompt |
p |
Create a new prompt (smart mode) |
create-prompt --quick |
p -q |
Create a new prompt (quick mode) |
create-prompt --no-history |
- | Skip history question |
create-prompt finish |
p finish |
Finish work, create commit with file tracking |
create-prompt project-structure |
p ps |
Generate project structure |
create-prompt files-markdown |
p fm |
Generate markdown from file list |
# 1. Start your work session
p
# 2. Work on your code...
# 3. Generate updated project structure
p ps
# 4. Generate markdown from specific files
p fm
# 5. Finish and commit with detailed tracking
p finish- Profile presets (coding, architecture, debugging)
- Custom placeholders via config file
- Integration with AI tools
- Prompt versioning
- Search/filter prompts by tags
MIT