Addressing feedback

This commit is contained in:
Aaron Powell
2026-02-02 14:01:22 +11:00
parent da3ef449a6
commit 54ce5c5603
11 changed files with 26 additions and 25 deletions

View File

@@ -12,8 +12,8 @@ This folder hosts short, practical recipes for using the GitHub Copilot SDK with
## Contributing
Add a new recipe by creating a markdown file in this folder and linking it above. Follow repository guidance in [CONTRIBUTING.md](../../CONTRIBUTING.md).
Add a new recipe by creating a markdown file in this folder and linking it above. Follow repository guidance in [CONTRIBUTING.md](../../../CONTRIBUTING.md).
## Status
This README is a scaffold; recipe files are placeholders until populated.
These recipes are complete and ready to use; new contributions and additional recipes are welcome.

View File

@@ -27,13 +27,13 @@ pip install copilot-sdk
```bash
# Auto-detect from current git repo
python pr_breakdown.py
python pr_visualization.py
# Specify a repo explicitly
python pr_breakdown.py --repo github/copilot-sdk
python pr_visualization.py --repo github/copilot-sdk
```
## Full example: pr_breakdown.py
## Full example: pr_visualization.py
```python
#!/usr/bin/env python3
@@ -192,6 +192,7 @@ The current working directory is: {os.getcwd()}
session.send(prompt=user_input)
session.wait_for_idle()
session.destroy()
client.stop()
if __name__ == "__main__":

View File

@@ -48,13 +48,13 @@ python managing_local_files.py
## Local SDK Development
The `requirements.txt` installs the local Copilot SDK using `-e ../..` (editable install). This means:
The `requirements.txt` installs the Copilot SDK package from PyPI. This means:
- Changes to the SDK source are immediately available
- No need to publish or install from PyPI
- Perfect for testing and development
- You get the latest stable release of the SDK
- No need to build from source
- Perfect for using the SDK in your projects
If you modify the SDK source, Python will automatically use the updated code (no rebuild needed).
If you want to use a local development version, edit requirements.txt to use `-e ../..` for editable mode development.
## Python Best Practices