[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75WGH5XH8ZAMSTH6NW4ECF6":3,"skill-same:01M75WGH5XH8ZAMSTH6NW4ECF6":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":44},"01M75WGH5XH8ZAMSTH6NW4ECF6","start-local",null,"Start local development environment with auto-detected services in a persistent tmux session","stevengonsalvez\u002Fainb-toolkit","stevengonsalvez","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9320602?v=4","01M75W59QRYZYANWY3XG8CJB1P","Steven Gonsalvez","01M75W59RD5YW1RT67BDV0EAZF",1,"MIT","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fstart-local\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: start-local\ndescription: Start local development environment with auto-detected services in a persistent tmux session\nuser-invocable: true\n---\n\n# \u002Fstart-local - Start Local Development Environment in tmux\n\nStart local development environment with auto-detected services in a persistent tmux session.\n\n## Usage\n\n```bash\n\u002Fstart-local                 # Uses .env or .env.development\n\u002Fstart-local staging         # Uses .env.staging\n\u002Fstart-local production      # Uses .env.production\n```\n\n## Process\n\n### Step 1: Determine Environment\n\n```bash\nENVIRONMENT=${1:-development}\nENV_FILE=\".env.${ENVIRONMENT}\"\n\n# Fallback to .env if specific file doesn't exist\nif [ ! -f \"$ENV_FILE\" ] && [ \"$ENVIRONMENT\" = \"development\" ]; then\n    ENV_FILE=\".env\"\nfi\n\nif [ ! -f \"$ENV_FILE\" ]; then\n    echo \"❌ Environment file not found: $ENV_FILE\"\n    ls -1 .env* 2>\u002Fdev\u002Fnull\n    exit 1\nfi\n```\n\n### Step 2: Detect Project Type\n\n```bash\ndetect_project_type() {\n    if [ -f \"package.json\" ]; then\n        grep -q \"\\\"next\\\":\" package.json && echo \"nextjs\" && return\n        grep -q \"\\\"vite\\\":\" package.json && echo \"vite\" && return\n        grep -q \"\\\"react-scripts\\\":\" package.json && echo \"cra\" && return\n        grep -q \"\\\"@vue\u002Fcli\\\":\" package.json && echo \"vue\" && return\n        echo \"node\"\n    elif [ -f \"requirements.txt\" ] || [ -f \"pyproject.toml\" ]; then\n        grep -q \"django\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull && echo \"django\" && return\n        grep -q \"flask\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull && echo \"flask\" && return\n        echo \"python\"\n    elif [ -f \"Cargo.toml\" ]; then\n        echo \"rust\"\n    elif [ -f \"go.mod\" ]; then\n        echo \"go\"\n    else\n        echo \"unknown\"\n    fi\n}\n\nPROJECT_TYPE=$(detect_project_type)\n```\n\n### Step 3: Detect Required Services\n\n```bash\nNEEDS_SUPABASE=false\nNEEDS_POSTGRES=false\nNEEDS_REDIS=false\n\n[ -f \"supabase\u002Fconfig.toml\" ] && NEEDS_SUPABASE=true\ngrep -q \"postgres\" \"$ENV_FILE\" 2>\u002Fdev\u002Fnull && NEEDS_POSTGRES=true\ngrep -q \"redis\" \"$ENV_FILE\" 2>\u002Fdev\u002Fnull && NEEDS_REDIS=true\n```\n\n### Step 4: Generate Random Port\n\n```bash\nDEV_PORT=$(shuf -i 3000-9999 -n 1)\n\nwhile lsof -i :$DEV_PORT >\u002Fdev\u002Fnull 2>&1; do\n    DEV_PORT=$(shuf -i 3000-9999 -n 1)\ndone\n```\n\n### Step 5: Create tmux Session\n\n```bash\nPROJECT_NAME=$(basename \"$(pwd)\")\nBRANCH=$(git branch --show-current 2>\u002Fdev\u002Fnull || echo \"main\")\nTIMESTAMP=$(date +%s)\nSESSION=\"dev-${PROJECT_NAME}-${TIMESTAMP}\"\n\ntmux new-session -d -s \"$SESSION\" -n servers\n```\n\n### Step 6: Start Services\n\n```bash\nPANE_COUNT=0\n\n# Main dev server\ncase $PROJECT_TYPE in\n    nextjs|vite|cra|vue)\n        tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"PORT=$DEV_PORT npm run dev 2>&1 | tee dev-server-${DEV_PORT}.log\" C-m\n        ;;\n    django)\n        tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"python manage.py runserver $DEV_PORT 2>&1 | tee dev-server-${DEV_PORT}.log\" C-m\n        ;;\n    flask)\n        tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"FLASK_RUN_PORT=$DEV_PORT flask run 2>&1 | tee dev-server-${DEV_PORT}.log\" C-m\n        ;;\n    *)\n        tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"PORT=$DEV_PORT npm run dev 2>&1 | tee dev-server-${DEV_PORT}.log\" C-m\n        ;;\nesac\n\n# Additional services (if needed)\nif [ \"$NEEDS_SUPABASE\" = true ]; then\n    PANE_COUNT=$((PANE_COUNT + 1))\n    tmux split-window -v -t \"$SESSION:servers\"\n    tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"supabase start\" C-m\nfi\n\nif [ \"$NEEDS_POSTGRES\" = true ] && [ \"$NEEDS_SUPABASE\" = false ]; then\n    PANE_COUNT=$((PANE_COUNT + 1))\n    tmux split-window -v -t \"$SESSION:servers\"\n    tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"docker-compose up postgres\" C-m\nfi\n\nif [ \"$NEEDS_REDIS\" = true ]; then\n    PANE_COUNT=$((PANE_COUNT + 1))\n    tmux split-window -v -t \"$SESSION:servers\"\n    tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"redis-server\" C-m\nfi\n\ntmux select-layout -t \"$SESSION:servers\" tiled\n```\n\n### Step 7: Create Additional Windows\n\n```bash\n# Logs window\ntmux new-window -t \"$SESSION\" -n logs\ntmux send-keys -t \"$SESSION:logs\" \"tail -f dev-server-${DEV_PORT}.log 2>\u002Fdev\u002Fnull || sleep infinity\" C-m\n\n# Work window\ntmux new-window -t \"$SESSION\" -n work\n\n# Git window\ntmux new-window -t \"$SESSION\" -n git\ntmux send-keys -t \"$SESSION:git\" \"git status\" C-m\n```\n\n### Step 8: Save Metadata\n\n```bash\ncat > .tmux-dev-session.json \u003C\u003CEOF\n{\n  \"session\": \"$SESSION\",\n  \"project_name\": \"$PROJECT_NAME\",\n  \"branch\": \"$BRANCH\",\n  \"type\": \"$PROJECT_TYPE\",\n  \"environment\": \"$ENVIRONMENT\",\n  \"env_file\": \"$ENV_FILE\",\n  \"dev_port\": $DEV_PORT,\n  \"created\": \"$(date -Iseconds)\"\n}\nEOF\n```\n\n### Step 9: Display Summary\n\n```bash\necho \"\"\necho \"✨ Dev Environment Started: $SESSION\"\necho \"\"\necho \"Environment: $ENVIRONMENT ($ENV_FILE)\"\necho \"Dev Server: http:\u002F\u002Flocalhost:$DEV_PORT\"\n[ \"$NEEDS_SUPABASE\" = true ] && echo \"Supabase: http:\u002F\u002Flocalhost:54321\"\necho \"\"\necho \"Attach: tmux attach -t $SESSION\"\necho \"Detach: Ctrl+a d\"\necho \"Status: \u002Ftmux-status\"\necho \"\"\n```\n\n## Notes\n\n- Auto-detects framework\u002Fstack from project files\n- Auto-detects services from .env and config files\n- Random ports prevent conflicts\n- Session persists across disconnects\n- Metadata saved to `.tmux-dev-session.json`\n","# \u002Fstart-local - Start Local Development Environment in tmux\n\nStart local development environment with auto-detected services in a persistent tmux session.\n\n## Usage\n\n```bash\n\u002Fstart-local                 # Uses .env or .env.development\n\u002Fstart-local staging         # Uses .env.staging\n\u002Fstart-local production      # Uses .env.production\n```\n\n## Process\n\n### Step 1: Determine Environment\n\n```bash\nENVIRONMENT=${1:-development}\nENV_FILE=\".env.${ENVIRONMENT}\"\n\n# Fallback to .env if specific file doesn't exist\nif [ ! -f \"$ENV_FILE\" ] && [ \"$ENVIRONMENT\" = \"development\" ]; then\n    ENV_FILE=\".env\"\nfi\n\nif [ ! -f \"$ENV_FILE\" ]; then\n    echo \"❌ Environment file not found: $ENV_FILE\"\n    ls -1 .env* 2>\u002Fdev\u002Fnull\n    exit 1\nfi\n```\n\n### Step 2: Detect Project Type\n\n```bash\ndetect_project_type() {\n    if [ -f \"package.json\" ]; then\n        grep -q \"\\\"next\\\":\" package.json && echo \"nextjs\" && return\n        grep -q \"\\\"vite\\\":\" package.json && echo \"vite\" && return\n        grep -q \"\\\"react-scripts\\\":\" package.json && echo \"cra\" && return\n        grep -q \"\\\"@vue\u002Fcli\\\":\" package.json && echo \"vue\" && return\n        echo \"node\"\n    elif [ -f \"requirements.txt\" ] || [ -f \"pyproject.toml\" ]; then\n        grep -q \"django\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull && echo \"django\" && return\n        grep -q \"flask\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull && echo \"flask\" && return\n        echo \"python\"\n    elif [ -f \"Cargo.toml\" ]; then\n        echo \"rust\"\n    elif [ -f \"go.mod\" ]; then\n        echo \"go\"\n    else\n        echo \"unknown\"\n    fi\n}\n\nPROJECT_TYPE=$(detect_project_type)\n```\n\n### Step 3: Detect Required Services\n\n```bash\nNEEDS_SUPABASE=false\nNEEDS_POSTGRES=false\nNEEDS_REDIS=false\n\n[ -f \"supabase\u002Fconfig.toml\" ] && NEEDS_SUPABASE=true\ngrep -q \"postgres\" \"$ENV_FILE\" 2>\u002Fdev\u002Fnull && NEEDS_POSTGRES=true\ngrep -q \"redis\" \"$ENV_FILE\" 2>\u002Fdev\u002Fnull && NEEDS_REDIS=true\n```\n\n### Step 4: Generate Random Port\n\n```bash\nDEV_PORT=$(shuf -i 3000-9999 -n 1)\n\nwhile lsof -i :$DEV_PORT >\u002Fdev\u002Fnull 2>&1; do\n    DEV_PORT=$(shuf -i 3000-9999 -n 1)\ndone\n```\n\n### Step 5: Create tmux Session\n\n```bash\nPROJECT_NAME=$(basename \"$(pwd)\")\nBRANCH=$(git branch --show-current 2>\u002Fdev\u002Fnull || echo \"main\")\nTIMESTAMP=$(date +%s)\nSESSION=\"dev-${PROJECT_NAME}-${TIMESTAMP}\"\n\ntmux new-session -d -s \"$SESSION\" -n servers\n```\n\n### Step 6: Start Services\n\n```bash\nPANE_COUNT=0\n\n# Main dev server\ncase $PROJECT_TYPE in\n    nextjs|vite|cra|vue)\n        tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"PORT=$DEV_PORT npm run dev 2>&1 | tee dev-server-${DEV_PORT}.log\" C-m\n        ;;\n    django)\n        tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"python manage.py runserver $DEV_PORT 2>&1 | tee dev-server-${DEV_PORT}.log\" C-m\n        ;;\n    flask)\n        tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"FLASK_RUN_PORT=$DEV_PORT flask run 2>&1 | tee dev-server-${DEV_PORT}.log\" C-m\n        ;;\n    *)\n        tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"PORT=$DEV_PORT npm run dev 2>&1 | tee dev-server-${DEV_PORT}.log\" C-m\n        ;;\nesac\n\n# Additional services (if needed)\nif [ \"$NEEDS_SUPABASE\" = true ]; then\n    PANE_COUNT=$((PANE_COUNT + 1))\n    tmux split-window -v -t \"$SESSION:servers\"\n    tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"supabase start\" C-m\nfi\n\nif [ \"$NEEDS_POSTGRES\" = true ] && [ \"$NEEDS_SUPABASE\" = false ]; then\n    PANE_COUNT=$((PANE_COUNT + 1))\n    tmux split-window -v -t \"$SESSION:servers\"\n    tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"docker-compose up postgres\" C-m\nfi\n\nif [ \"$NEEDS_REDIS\" = true ]; then\n    PANE_COUNT=$((PANE_COUNT + 1))\n    tmux split-window -v -t \"$SESSION:servers\"\n    tmux send-keys -t \"$SESSION:servers.${PANE_COUNT}\" \"redis-server\" C-m\nfi\n\ntmux select-layout -t \"$SESSION:servers\" tiled\n```\n\n### Step 7: Create Additional Windows\n\n```bash\n# Logs window\ntmux new-window -t \"$SESSION\" -n logs\ntmux send-keys -t \"$SESSION:logs\" \"tail -f dev-server-${DEV_PORT}.log 2>\u002Fdev\u002Fnull || sleep infinity\" C-m\n\n# Work window\ntmux new-window -t \"$SESSION\" -n work\n\n# Git window\ntmux new-window -t \"$SESSION\" -n git\ntmux send-keys -t \"$SESSION:git\" \"git status\" C-m\n```\n\n### Step 8: Save Metadata\n\n```bash\ncat > .tmux-dev-session.json \u003C\u003CEOF\n{\n  \"session\": \"$SESSION\",\n  \"project_name\": \"$PROJECT_NAME\",\n  \"branch\": \"$BRANCH\",\n  \"type\": \"$PROJECT_TYPE\",\n  \"environment\": \"$ENVIRONMENT\",\n  \"env_file\": \"$ENV_FILE\",\n  \"dev_port\": $DEV_PORT,\n  \"created\": \"$(date -Iseconds)\"\n}\nEOF\n```\n\n### Step 9: Display Summary\n\n```bash\necho \"\"\necho \"✨ Dev Environment Started: $SESSION\"\necho \"\"\necho \"Environment: $ENVIRONMENT ($ENV_FILE)\"\necho \"Dev Server: http:\u002F\u002Flocalhost:$DEV_PORT\"\n[ \"$NEEDS_SUPABASE\" = true ] && echo \"Supabase: http:\u002F\u002Flocalhost:54321\"\necho \"\"\necho \"Attach: tmux attach -t $SESSION\"\necho \"Detach: Ctrl+a d\"\necho \"Status: \u002Ftmux-status\"\necho \"\"\n```\n\n## Notes\n\n- Auto-detects framework\u002Fstack from project files\n- Auto-detects services from .env and config files\n- Random ports prevent conflicts\n- Session persists across disconnects\n- Metadata saved to `.tmux-dev-session.json`\n",{"name":5,"description":7,"user-invocable":24},true,"main","9cf32d1e636db09530158af14ba301bfa5d401e9","skills\u002Fstart-local","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez","stevengonsalvez.com","2026-11-12 00:50:59",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":24},[34,37,40],{"tool":35,"command":36},"npx","npx skills add stevengonsalvez\u002Fainb-toolkit --skill start-local",{"tool":38,"command":39},"bunx","bunx skills add stevengonsalvez\u002Fainb-toolkit --skill start-local",{"tool":41,"command":42},"pnpm","pnpm dlx skills add stevengonsalvez\u002Fainb-toolkit --skill start-local","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fstart-local\u002FSKILL.md",[],[46,53,60,66,73,80],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M75WK9B8DKVJBJJ4CX2QMJMX","well-formed","Fixture skill that satisfies every mechanical rule, used to prove the conformance check passes a clean tree instead of failing everything.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fclean\u002Fwell-formed\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M75WK6ZGDXJJN8879K49QEYG","underscore-tools","Fixture skill that spells the tool allowlist key with an underscore instead of the hyphen the spec requires.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Funderscore-tools\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M75WK524MVT2H9E27ZCEA3HR","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Fno-frontmatter\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M75WJWZBMKR8R60PG3T3MCCC","long-description","Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Flong-description\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M75WJVRH3J22WKED7E5D01S8","some-other-name","Fixture skill whose frontmatter name does not match its parent directory name.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Fdir-mismatch\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M75WJTC7H5FRP6S129VBSMZC","bad_Name","Fixture skill whose name uses an underscore and a capital letter, so it violates the agentskills.io name pattern.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Fbad_Name\u002FSKILL.md",[],[]]