Skip to content

Commit dda6d33

Browse files
authored
Add AI-assisted code exploration tools section (#562)
- Add new section covering repository packing tools for LLM analysis - Document Repomix with CLI usage examples - Include uithub.com as quick browser alternative - Add licensing and responsible use guidelines Fixes #311
1 parent 5815ef7 commit dda6d33

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

  • s2_organisation_and_version_control

s2_organisation_and_version_control/git.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,3 +334,31 @@ https://github.dev/username/repository
334334
```
335335
336336
Try it out on your newly created repository.
337+
338+
## 🤖 AI-Assisted Code Exploration
339+
340+
As AI tools like ChatGPT, Claude, and Gemini become increasingly popular for code understanding and development,
341+
having your entire repository in a format that's easy to share with Large Language Models (LLMs) can be very helpful.
342+
These tools allow you to pack an entire repository into a single file that can be fed into AI systems for code review,
343+
documentation generation, refactoring suggestions, or learning about unfamiliar codebases.
344+
345+
[Repomix](https://github.com/yamadashy/repomix) is a powerful tool that packs your entire repository into a single
346+
AI-friendly file with support for multiple output formats and token counting. You can use it via CLI or through the
347+
web interface at [repomix.com](https://repomix.com):
348+
349+
```bash
350+
# Quick usage without installation (packs current directory)
351+
npx repomix
352+
353+
# Pack a remote repository directly
354+
npx repomix --remote https://github.com/username/repository
355+
```
356+
357+
For a quick browser-based alternative, [uithub.com](https://uithub.com) lets you view any public GitHub repository
358+
as raw text with token counts. Simply replace `github.com` with `uithub.com` in any repository URL.
359+
360+
!!! note "Licensing and Responsible Use"
361+
362+
When using these tools to explore and share code with AI systems, always ensure you have the proper licenses
363+
and permissions to use the code. Respect intellectual property rights and only share code that you have
364+
the right to analyze or that is under permissive open-source licenses.

0 commit comments

Comments
 (0)