goose/scripts/test-subrecipes-examples/project_analyzer.yaml
Amed Rodriguez d9633ff1d9
Some checks are pending
Canary / bundle-desktop-windows (push) Blocked by required conditions
Canary / Prepare Version (push) Waiting to run
Canary / build-cli (push) Blocked by required conditions
Canary / Upload Install Script (push) Blocked by required conditions
Canary / bundle-desktop (push) Blocked by required conditions
Canary / bundle-desktop-linux (push) Blocked by required conditions
Canary / Release (push) Blocked by required conditions
CI / changes (push) Waiting to run
CI / Check Rust Code Format (push) Blocked by required conditions
CI / Build and Test Rust Project (push) Blocked by required conditions
CI / Test and Lint Electron Desktop App (push) Blocked by required conditions
CI / bundle-desktop-unsigned (push) Blocked by required conditions
Deploy Documentation / deploy (push) Waiting to run
Documentation Site Preview / deploy (push) Waiting to run
Publish Docker Image / docker (push) Waiting to run
Change Recipes Test Script (#5457)
2025-10-30 16:00:25 -07:00

36 lines
1.2 KiB
YAML

version: 1.0.0
title: Project Analyzer
description: Analyze project codebase using parallel subrecipes for file statistics and code patterns
instructions: You are a code analysis assistant that examines project structure and code patterns.
parameters:
- key: target_directory
input_type: string
requirement: optional
default: "."
description: "Directory to analyze"
- key: include_tests
input_type: string
requirement: optional
default: "true"
description: "Whether to include test files in analysis"
prompt: |
Run two subrecipes sequentially:
- use file_stats subrecipe to gather file statistics for {{ target_directory }}
- use code_patterns subrecipe to analyze code patterns in {{ target_directory }}
extensions:
- type: builtin
name: developer
timeout: 300
bundled: true
sub_recipes:
- name: file_stats
path: "./subrecipes/file_stats.yaml"
values:
directory: "{{ target_directory }}"
fast_mode: "true"
- name: code_patterns
path: "./subrecipes/code_patterns.yaml"
values:
directory: "{{ target_directory }}"
include_tests: "{{ include_tests }}"
fast_mode: "true"