You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: claude/files-to-prompt.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ My workflow is usually this:
19
19
2.`pip install files-to-prompt`
20
20
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
21
21
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
23
23
6. Copy the output and paste it at the bottom of the `prompt.md`
24
24
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.
25
25
8. My prompt is usually something like "Read `prompt.md` and follow the instructions."
@@ -46,6 +46,7 @@ Some options to consider:
46
46
47
47
-`--ignore <pattern>`: Specify a pattern to ignore. This could be useful in getting whole apps but excluding everything in `migrations/`.
48
48
-`--ignore-ditignore`: Ignore the `gitignore`, and include all files.
49
+
-`-e/--extension <extension>`: Only retrieve files with a certain extension.
0 commit comments