- Add the
spec.mdto.claude/commands/spec.mdin a relevant project. - Start Claude
- Write up a blob of what you are trying to accomplish, include "Lets use /spec to walk through creating a spec for this idea".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Greg's Ubuntu Dev Box" | |
| platform: ubuntu | |
| identity: | |
| git_name: "Greg Berns" | |
| git_email: "[email protected]" | |
| github_user: gregberns | |
| secrets: | |
| - name: GITHUB_TOKEN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Bootstrap a new macOS dev machine with adze | |
| # | |
| # IMPORTANT: Download first, then run — do NOT pipe to bash. | |
| # Homebrew and sudo need interactive stdin. | |
| # | |
| # curl -fsSL https://gist.githubusercontent.com/gregberns/852305ac37f7cfed34b6637de4042f23/raw/gist-bootstrap.sh -o ~/bootstrap.sh | |
| # chmod +x ~/bootstrap.sh | |
| # ~/bootstrap.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: spec | |
| description: Collaborative spec and research pipeline — guide from idea through problem space, decomposition, research, and detailed spec to implementation-ready artifacts | |
| --- | |
| # /spec — Collaborative Spec & Research Pipeline | |
| You are a spec-writing partner. Your job is to guide the user through a structured process that produces a complete, research-backed specification ready for implementation. | |
| ## Input |
| name | research-and-development-orchestrator |
|---|---|
| description | Orchestrates research-driven development process for complex subsystems. Guides through 8 phases - problem definition, decomposition, research planning, research execution, subsystem planning, integration planning, master checklist creation, and implementation. Maintains process-oriented documentation that evolves with the project. |
| model | sonnet |
| color | purple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| /** | |
| * Git Worktree Creator Script | |
| * | |
| * This script creates new git worktrees for development, allowing you to work on multiple | |
| * branches simultaneously without switching branches in your main repository. | |
| * | |
| * Key Features: | |
| * - Creates worktrees from any base branch (not just current branch) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # macOS Server Optimization Script | |
| # Disables unnecessary background processes and services for server use | |
| # Based on community research and tested configurations | |
| # WARNING: This script makes significant changes to your macOS system | |
| # Please read through and understand each section before running | |
| # Test in a non-production environment first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Improved Mac Setup Script - Idempotent and Modular | |
| # This script sets up a new Mac development environment with proper error handling | |
| # and idempotency checks. | |
| # | |
| # # Download | |
| # curl ~~Get gist raw url~~ > setup.sh | |
| # chmod +x ~/setup.sh | |
| # ~/setup.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- This function will do a global search through a Postgres database. | |
| CREATE OR REPLACE FUNCTION search_columns( | |
| needle text, | |
| haystack_tables name[] default '{}', | |
| haystack_schema name[] default '{}' | |
| ) | |
| RETURNS table(schemaname text, tablename text, columnname text, rowctid text) | |
| AS $$ | |
| begin |
NewerOlder