Use XML tags for long context prompting using Claude's multi-document structure.
Project description
Welcome to files-to-claude-xml 👋
Use XML tags for long context prompting using Claude's multi-document structure.
See notes and examples here: https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/long-context-tips
Write up
:memo: See my blog post, I released files-to-claude-xml and new development workflows for more details.
:rocket: Usage
$ uv run files-to-claude-xml.py \
filename1.py \
filename2.py \
filename3.py
Now create a new Claude Project and drag and drop the generated _claude.xml
file into your "Project knowledge" section.
Author
👤 Jeff Triplett
- Website: https://jefftriplett.com
- Micro Blog: https://micro.webology.dev
- Mastodon: @webology@mastodon.social
- Xwitter: @webology
- GitHub: @jefftriplett
- Hire me: revsys
🌟 Community Projects
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for files_to_claude_xml-2024.10.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8bbf7f686cb738a3558baf76000a8cd56af1e70ff5b50f67aa9e596fa6f140a |
|
MD5 | 0a326a9c4e476942ccbf7c1e4d0283ee |
|
BLAKE2b-256 | 868b2cac250739ca26f38262367c29dec8d4443d4c74dafe58069f36253259f1 |
Hashes for files_to_claude_xml-2024.10.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bdd01af2b9d438c0b0231229bc2cf7bc9af77772b1e6f3bb6d92ca7df20975e |
|
MD5 | 092808b2fc62cd8bb44a3f7a9a51dd77 |
|
BLAKE2b-256 | a3c47b280c902ba4423c57a8200c8409998115bc8c7427a0e0037617133fd5e0 |