--- name: find-why-builds-across-linked-repos-are-slow description: "Slow builds across many repos are hard to trace by hand. Your AI reads your logs and points to the steps that cost the most time. Use for: Find why builds across linked repos are slow." --- # Find why builds across linked repos are slow Slow builds across many repos are hard to trace by hand. Your AI reads your logs and points to the steps that cost the most time. ## What you need from the user - Build logs with timings - How your repos depend on each other - Which tests and scans must stay ## What to give back A short list of the slowest build steps, with the log lines behind each and the next test to run. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me find why our builds are slow across several repos. Build logs with timings (secrets removed): [paste] How the repos depend on each other: [paste graph or list] Cache and runner details for each run: [describe] Tests and security scans that must stay: [list] 1. Find the steps that cost the most time and quote the log lines. 2. Only compare runs with the same cache state and setup. Flag the ones that don't match. 3. Give two or three likely causes for each slow step. 4. Suggest one measurement to confirm each cause before we change anything. Don't suggest dropping required tests or scans. Propose any CI change as a diff; I'll review and roll it out. ``` ## Rules - BotCurrent rates this job "Reads only". Only read and report. Do not change, send or delete anything. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Remove tokens and secrets from logs before you paste them. A speedup isn't real until you measure it. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/optimize-builds-across-connected-repositories-e4a0e1ce2ef2/ Original report: https://openai.com/index/cisco/ BotCurrent has not tested this skill. Check the result before you use it.