|
1 | | -# AI-Assisted Development |
2 | | - |
3 | | -This project uses an AI-first development workflow. Most features, bug fixes, and improvements are implemented through AI coding agents (Claude Code, GitHub Copilot, OpenAI Codex) working from structured issue descriptions. |
4 | | - |
5 | | -## How It Works |
6 | | - |
7 | | -1. **Issues are the starting point** — Every task begins as a GitHub issue with a structured format: an overview, a human-readable plan, a detailed implementation plan (in a collapsible block), and optionally the original prompt that generated the issue. |
8 | | - |
9 | | -2. **AI agents pick up issues** — Issues can be assigned to AI coding agents (e.g. GitHub Copilot) which read the issue description, `AGENTS.md`, and `CLAUDE.md` for context, then implement the changes autonomously. |
10 | | - |
11 | | -3. **Human review** — All AI-generated pull requests are reviewed by maintainers before merging. |
12 | | - |
13 | | -## Maintainer Workflow |
14 | | - |
15 | | -Maintainer-driven dev work starts as a prompt file in |
16 | | -**[PyAutoPrompt](https://github.com/PyAutoLabs/PyAutoPrompt)** — the public |
17 | | -workflow repo that hosts the PyAuto task registry and the prompt-coupled |
18 | | -Claude Code skills. The pipeline: |
19 | | - |
20 | | -1. Write the task as `PyAutoPrompt/<category>/<name>.md` (free-form markdown |
21 | | - describing what to do, with `@RepoName/path/to/file.py` references). |
22 | | -2. `/start_dev <category>/<name>.md` — reads the prompt, audits the code, |
23 | | - drafts the GitHub issue you see in this repo, and files it. |
24 | | -3. `/start_library` or `/start_workspace` — opens a feature worktree under |
25 | | - `~/Code/PyAutoLabs-wt/<task-name>/`. |
26 | | -4. `/ship_library` / `/ship_workspace` — runs tests, opens the PR, and |
27 | | - tracks state in `PyAutoPrompt/active.md`. |
28 | | - |
29 | | -External contributors don't need PyAutoPrompt access — open an issue using |
30 | | -the templates in this repo and the same machinery handles it on our end. |
31 | | - |
32 | | -## Creating an Issue |
33 | | - |
34 | | -When opening an issue, please use the provided issue templates. The **Feature / Task Request** template follows our standard format: |
35 | | - |
36 | | -- **Overview** — What and why, in 2-4 sentences |
37 | | -- **Plan** — High-level bullet points (human-readable) |
38 | | -- **Detailed implementation plan** — File paths, steps, key files (in a collapsible block) |
39 | | -- **Original Prompt** — If you used an AI to help draft the issue, include the original prompt |
40 | | - |
41 | | -If your feature involves a specific calculation, algorithm, or small piece of functionality — **include example code**. Even a rough script, a working prototype, or a snippet showing the existing behaviour you want to change makes a huge difference. Code examples give AI agents and human contributors concrete context to work from, and dramatically reduce misunderstandings about what you're asking for. |
42 | | - |
43 | | -This structure ensures that both human contributors and AI agents can understand and act on the issue effectively. |
44 | | - |
45 | | -## Contributing Without AI |
46 | | - |
47 | | -Traditional contributions are equally welcome! If you prefer to work without AI tools, simply follow the development setup and pull request guidelines below. The issue templates are helpful for any contributor, AI or human. |
48 | | - |
49 | | ---- |
50 | | - |
51 | | -## Community Guidelines |
52 | | - |
53 | | -We strive to maintain a welcoming, respectful, and inclusive community. All contributors—whether opening issues, submitting pull requests, reviewing code, or participating in discussions—are expected to follow these guidelines. |
54 | | - |
55 | | -- Be respectful and considerate of others. |
56 | | -- Assume good intent and be patient, especially with newcomers. |
57 | | -- Keep feedback constructive and focused on the work, not the person. |
58 | | -- Communicate clearly and professionally. |
59 | | -- Respect maintainers’ time and decisions. |
60 | | - |
61 | | -Harassment, discrimination, or abusive behavior of any kind will not be tolerated. |
62 | | - |
63 | | -This project follows our [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you agree to uphold it. |
64 | | - |
65 | | -### Reporting concerns |
66 | | -If you experience or witness behavior that violates these guidelines or the Code of Conduct, please contact the project maintainers privately. |
67 | | - |
68 | | - |
69 | | -# Contributing |
70 | | - |
71 | | -Contributions are welcome and greatly appreciated! |
72 | | - |
73 | | -## Types of Contributions |
74 | | - |
75 | | -### Report Bugs |
76 | | - |
77 | | -Report bugs at https://github.com/PyAutoLabs/PyAutoLens/issues |
78 | | - |
79 | | -If you are playing with the PyAutoLens library and find a bug, please |
80 | | -reporting it including: |
81 | | - |
82 | | -* Your operating system name and version. |
83 | | -* Any details about your Python environment. |
84 | | -* Detailed steps to reproduce the bug. |
85 | | - |
86 | | -### Propose New Features |
87 | | - |
88 | | -The best way to send feedback is to open an issue at |
89 | | -https://github.com/PyAutoLabs/PyAutoLens |
90 | | -with tag *enhancement*. |
91 | | - |
92 | | -If you are proposing a nnew feature: |
93 | | - |
94 | | -* Explain in detail how it should work. |
95 | | -* Keep the scope as narrow as possible, to make it easier to implement. |
96 | | - |
97 | | -### Implement Features |
98 | | -Look through the Git issues for operator or feature requests. |
99 | | -Anything tagged with *enhancement* is open to whoever wants to |
100 | | -implement it. |
101 | | - |
102 | | -### Add Examples or improve Documentation |
103 | | -Writing new features is not the only way to get involved and |
104 | | -contribute. Create examples with existing features as well |
105 | | -as improving the documentation of existing operators is as important |
106 | | -as making new non-linear searches and very much encouraged. |
107 | | - |
108 | | - |
109 | | -## Getting Started to contribute |
110 | | - |
111 | | -Ready to contribute? |
112 | | - |
113 | | -1. Follow the installation instructions for installing **PyAutoLens** (and parent projects) from source root |
114 | | -on our [readthedocs](https://pyautolens.readthedocs.io/en/latest/installation/source.html). |
115 | | - |
116 | | -2. Create a feature branch for local development (for **PyAutoLens** and every parent project where changes are implemented): |
117 | | - ``` |
118 | | - git checkout -b feature/name-of-your-branch |
119 | | - ``` |
120 | | - Now you can make your changes locally. |
121 | | -
|
122 | | -3. When you're done making changes, check that old and new tests pass successfully: |
123 | | - ``` |
124 | | - cd PyAutoLens/test_autolens |
125 | | - python3 -m pytest |
126 | | - ``` |
127 | | -
|
128 | | -4. Commit your changes and push your branch to GitHub:: |
129 | | - ``` |
130 | | - git add . |
131 | | - git commit -m "Your detailed description of your changes." |
132 | | - git push origin feature/name-of-your-branch |
133 | | - ``` |
134 | | - Remember to add ``-u`` when pushing the branch for the first time. |
135 | | -
|
136 | | -5. Submit a pull request through the GitHub website. |
137 | | -
|
138 | | -
|
139 | | -### Pull Request Guidelines |
140 | | -
|
141 | | -Before you submit a pull request, check that it meets these guidelines: |
142 | | -
|
143 | | -1. The pull request should include new tests for all the core routines that have been developed. |
144 | | -2. If the pull request adds functionality, the docs should be updated accordingly. |
| 1 | +# AI-Assisted Development |
| 2 | + |
| 3 | +This project uses an AI-first development workflow. Most features, bug fixes, and improvements are implemented through AI coding agents (Claude Code, GitHub Copilot, OpenAI Codex) working from structured issue descriptions. |
| 4 | + |
| 5 | +## How It Works |
| 6 | + |
| 7 | +1. **Issues are the starting point** — Every task begins as a GitHub issue with a structured format: an overview, a human-readable plan, a detailed implementation plan (in a collapsible block), and optionally the original prompt that generated the issue. |
| 8 | + |
| 9 | +2. **AI agents pick up issues** — Issues can be assigned to AI coding agents (e.g. GitHub Copilot) which read the issue description, `AGENTS.md`, and `CLAUDE.md` for context, then implement the changes autonomously. |
| 10 | + |
| 11 | +3. **Human review** — All AI-generated pull requests are reviewed by maintainers before merging. |
| 12 | + |
| 13 | +## Maintainer Workflow |
| 14 | + |
| 15 | +Maintainer-driven dev work starts as a prompt file in |
| 16 | +**[PyAutoPrompt](https://github.com/PyAutoLabs/PyAutoPrompt)** — the public |
| 17 | +workflow repo that hosts the PyAuto task registry and the prompt-coupled |
| 18 | +Claude Code skills. The pipeline: |
| 19 | + |
| 20 | +1. Write the task as `PyAutoPrompt/<category>/<name>.md` (free-form markdown |
| 21 | + describing what to do, with `@RepoName/path/to/file.py` references). |
| 22 | +2. `/start_dev <category>/<name>.md` — reads the prompt, audits the code, |
| 23 | + drafts the GitHub issue you see in this repo, and files it. |
| 24 | +3. `/start_library` or `/start_workspace` — opens a feature worktree under |
| 25 | + `~/Code/PyAutoLabs-wt/<task-name>/`. |
| 26 | +4. `/ship_library` / `/ship_workspace` — runs tests, opens the PR, and |
| 27 | + tracks state in `PyAutoPrompt/active.md`. |
| 28 | + |
| 29 | +External contributors don't need PyAutoPrompt access — open an issue using |
| 30 | +the templates in this repo and the same machinery handles it on our end. |
| 31 | + |
| 32 | +## Creating an Issue |
| 33 | + |
| 34 | +When opening an issue, please use the provided issue templates. The **Feature / Task Request** template follows our standard format: |
| 35 | + |
| 36 | +- **Overview** — What and why, in 2-4 sentences |
| 37 | +- **Plan** — High-level bullet points (human-readable) |
| 38 | +- **Detailed implementation plan** — File paths, steps, key files (in a collapsible block) |
| 39 | +- **Original Prompt** — If you used an AI to help draft the issue, include the original prompt |
| 40 | + |
| 41 | +If your feature involves a specific calculation, algorithm, or small piece of functionality — **include example code**. Even a rough script, a working prototype, or a snippet showing the existing behaviour you want to change makes a huge difference. Code examples give AI agents and human contributors concrete context to work from, and dramatically reduce misunderstandings about what you're asking for. |
| 42 | + |
| 43 | +This structure ensures that both human contributors and AI agents can understand and act on the issue effectively. |
| 44 | + |
| 45 | +## Contributing Without AI |
| 46 | + |
| 47 | +Traditional contributions are equally welcome! If you prefer to work without AI tools, simply follow the development setup and pull request guidelines below. The issue templates are helpful for any contributor, AI or human. |
| 48 | + |
| 49 | +--- |
| 50 | + |
| 51 | +## Community Guidelines |
| 52 | + |
| 53 | +We strive to maintain a welcoming, respectful, and inclusive community. All contributors—whether opening issues, submitting pull requests, reviewing code, or participating in discussions—are expected to follow these guidelines. |
| 54 | + |
| 55 | +- Be respectful and considerate of others. |
| 56 | +- Assume good intent and be patient, especially with newcomers. |
| 57 | +- Keep feedback constructive and focused on the work, not the person. |
| 58 | +- Communicate clearly and professionally. |
| 59 | +- Respect maintainers’ time and decisions. |
| 60 | + |
| 61 | +Harassment, discrimination, or abusive behavior of any kind will not be tolerated. |
| 62 | + |
| 63 | +This project follows our [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you agree to uphold it. |
| 64 | + |
| 65 | +### Reporting concerns |
| 66 | +If you experience or witness behavior that violates these guidelines or the Code of Conduct, please contact the project maintainers privately. |
| 67 | + |
| 68 | + |
| 69 | +# Contributing |
| 70 | + |
| 71 | +Contributions are welcome and greatly appreciated! |
| 72 | + |
| 73 | +## Types of Contributions |
| 74 | + |
| 75 | +### Report Bugs |
| 76 | + |
| 77 | +Report bugs at https://github.com/PyAutoLabs/PyAutoLens/issues |
| 78 | + |
| 79 | +If you are playing with the PyAutoLens library and find a bug, please |
| 80 | +reporting it including: |
| 81 | + |
| 82 | +* Your operating system name and version. |
| 83 | +* Any details about your Python environment. |
| 84 | +* Detailed steps to reproduce the bug. |
| 85 | + |
| 86 | +### Propose New Features |
| 87 | + |
| 88 | +The best way to send feedback is to open an issue at |
| 89 | +https://github.com/PyAutoLabs/PyAutoLens |
| 90 | +with tag *enhancement*. |
| 91 | + |
| 92 | +If you are proposing a nnew feature: |
| 93 | + |
| 94 | +* Explain in detail how it should work. |
| 95 | +* Keep the scope as narrow as possible, to make it easier to implement. |
| 96 | + |
| 97 | +### Implement Features |
| 98 | +Look through the Git issues for operator or feature requests. |
| 99 | +Anything tagged with *enhancement* is open to whoever wants to |
| 100 | +implement it. |
| 101 | + |
| 102 | +### Add Examples or improve Documentation |
| 103 | +Writing new features is not the only way to get involved and |
| 104 | +contribute. Create examples with existing features as well |
| 105 | +as improving the documentation of existing operators is as important |
| 106 | +as making new non-linear searches and very much encouraged. |
| 107 | + |
| 108 | + |
| 109 | +## Getting Started to contribute |
| 110 | + |
| 111 | +Ready to contribute? |
| 112 | + |
| 113 | +1. Follow the installation instructions for installing **PyAutoLens** (and parent projects) from source root |
| 114 | +on our [readthedocs](https://pyautolens.readthedocs.io/en/latest/installation/source.html). |
| 115 | + |
| 116 | +2. Create a feature branch for local development (for **PyAutoLens** and every parent project where changes are implemented): |
| 117 | + ``` |
| 118 | + git checkout -b feature/name-of-your-branch |
| 119 | + ``` |
| 120 | + Now you can make your changes locally. |
| 121 | +
|
| 122 | +3. When you're done making changes, check that old and new tests pass successfully: |
| 123 | + ``` |
| 124 | + cd PyAutoLens/test_autolens |
| 125 | + python3 -m pytest |
| 126 | + ``` |
| 127 | +
|
| 128 | +4. Commit your changes and push your branch to GitHub:: |
| 129 | + ``` |
| 130 | + git add . |
| 131 | + git commit -m "Your detailed description of your changes." |
| 132 | + git push origin feature/name-of-your-branch |
| 133 | + ``` |
| 134 | + Remember to add ``-u`` when pushing the branch for the first time. |
| 135 | +
|
| 136 | +5. Submit a pull request through the GitHub website. |
| 137 | +
|
| 138 | +
|
| 139 | +### Pull Request Guidelines |
| 140 | +
|
| 141 | +Before you submit a pull request, check that it meets these guidelines: |
| 142 | +
|
| 143 | +1. The pull request should include new tests for all the core routines that have been developed. |
| 144 | +2. If the pull request adds functionality, the docs should be updated accordingly. |
0 commit comments