Skip to content

Commit 696b977

Browse files
authored
Update files-to-prompt.md
1 parent 85fc76c commit 696b977

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

claude/files-to-prompt.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ My workflow is usually this:
1919
2. `pip install files-to-prompt`
2020
3. Add an XML `<background>` tag with notes on the project, whatever background I want the AI to focus on, whatever expertise I want to reflect
2121
4. Add an XML `<instructions>` tag with very specific instructions on what I want to accomplish (Something like "Use a custom template for this view `MyView`" or "Write a test that the `MyView` endpoint returns a 200")
22-
5. Run `files-to-prompt -e py --cxml path/to/file1.py path/to/file2.py` and capture the output
22+
5. Run `files-to-prompt --cxml path/to/file1.py path/to/file2.py` and capture the output
2323
6. Copy the output and paste it at the bottom of the `prompt.md`
2424
7. Upload the `prompt.md` to [Claude Desktop](https://claude.ai/download), or pass it to whatever CLI tool (like [aider](https://aider.chat)) I am using to interact with Claude.
2525
8. My prompt is usually something like "Read `prompt.md` and follow the instructions."
@@ -46,6 +46,7 @@ Some options to consider:
4646

4747
- `--ignore <pattern>`: Specify a pattern to ignore. This could be useful in getting whole apps but excluding everything in `migrations/`.
4848
- `--ignore-ditignore`: Ignore the `gitignore`, and include all files.
49+
- `-e/--extension <extension>`: Only retrieve files with a certain extension.
4950
- `-c/--cxml`: Output in Claude XML
5051
- `-m/--markdown`: Output as Markdown
5152
- `-o/--output <file>`: Output to a file

0 commit comments

Comments
 (0)