Docs: Add Goose Recipes Cookbook Page (#2998)

This commit is contained in:
Ebony Louis
2025-06-20 16:46:27 -04:00
committed by GitHub
parent b241fbb8b4
commit 5d6784d612
12 changed files with 908 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
name: Auto-reply to Recipe Submissions
on:
issues:
types: [opened]
jobs:
thank-you-comment:
if: contains(github.event.issue.title, '[Recipe]')
runs-on: ubuntu-latest
steps:
- name: Add thank-you comment
uses: actions/github-script@v7
with:
script: |
const commentBody = [
"🎉 Thanks for submitting your Goose recipe to the Cookbook!",
"",
"We appreciate you sharing your workflow with the community — our team will review your submission soon.",
"If accepted, itll be added to the [Goose Recipes Cookbook](https://block.github.io/goose/recipes) and youll receive LLM credits as a thank-you!",
"",
"Stay tuned — and keep those recipes coming 🧑‍🍳🔥"
].join('\n');
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: commentBody
});

View File

@@ -0,0 +1,51 @@
name: 🧑‍🍳 Submit a Recipe to the Goose Cookbook
description: Share a reusable Goose session (aka a recipe) to help the community!
title: "[Recipe] <your recipe title here>"
labels: ["recipe submission"]
body:
- type: markdown
attributes:
value: |
Thanks for contributing to the Goose Cookbook! 🍳
Recipes are reusable sessions created in Goose Desktop or CLI and shared with the community to help others vibe-code faster.
📌 **How to Submit**
- Create your recipe using Goose (“Make Agent from this session”)
- Fill out the JSON below using the format provided
- Paste it into the field and submit the issue — well review and add it to the Cookbook!
🪄 **What Happens After?**
- If accepted, well publish your recipe to the [Goose Recipes Cookbook](https://block.github.io/goose/recipes)
- Youll receive LLM credits as a thank-you!
- Your GitHub handle will be displayed and linked on the recipe card
- type: textarea
id: recipe-json
attributes:
label: Paste Your Recipe JSON Below
description: Use the structure below and be sure to include your GitHub handle.
placeholder: |
{
"id": "pr-generator",
"title": "PR Generator",
"description": "Generate pull request descriptions based on staged changes and git history.",
"action": "Generate PR",
"category": "Developer",
"extensions": ["GitHub MCP", "Memory"],
"activities": ["Summarize changes", "Create PR branch", "Push PR"],
"recipeUrl": "https://goose.block.xyz/recipe/pr-generator",
"author": "your-github-handle"
}
validations:
required: true
- type: markdown
attributes:
value: |
🛠 **Recipe Field Tips**
- `"id"` should be lowercase, hyphenated, and unique (e.g. `my-awesome-recipe`)
- `"action"` describes the core purpose of the recipe (e.g., `Generate Docs`)
- `"category"` is the type of user this recipe is for (e.g., `Developer`, `Entertainment`)
- `"extensions"` are the Goose tools this recipe uses
- `"recipeUrl"` is from Goose Desktop/CLI
- `"author"` is your GitHub handle — well link to your profile in the Cookbook