• Will Chen's avatar
    Update pr-push to add files more aggressively (#2530) · edef1c18
    Will Chen 提交于
    ## Summary
    - Update pr-push skill to default to staging files when in doubt, rather
    than being overly cautious
    - Narrow the exclusion list to only true secrets/artifacts (`.env`,
    keys, `node_modules`, etc.)
    - Remove vague exclusion language about "temporary files" and "personal
    configuration"
    
    #skip-bugbot
    
    ## Test plan
    - Run `/dyad:pr-push` and verify the updated behavior stages files more
    aggressively
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2530"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Make /dyad:pr-push stage and commit files more aggressively with a tight
    exclude list, while improving safety and reliability of the push flow.
    Blocks pushes to main, runs checks/tests, tracks tasks, and detects the
    right remote.
    
    - **New Features**
    - Stage most changes by default; only exclude true secrets/artifacts
    (.env, keys, .DS_Store, node_modules, *.log).
      - Remove vague exclusions for “temporary files” or personal configs.
    - Prevent pushing on main/master; auto-create and switch to a feature
    branch when needed.
    - Inline checks: run fmt, lint --fix, type-check, and npm test; amend if
    tools change files.
    - Use TaskCreate/TaskUpdate to track progress and provide a clear
    summary.
    - Capture session learnings before lint; commit AGENTS.md updates when
    present.
    - Auto-detect the correct remote (handles forks), set upstream; push
    with --force-with-lease; never pull/rebase from a fork—only from
    upstream.
    - If no PR exists, create one and add cc:request for non-trivial
    changes.
    
    <sup>Written for commit fc6933aeb2e26e743805e65b4e0e92462d8eb7c2.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    ---------
    Co-authored-by: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    edef1c18
名称
最后提交
最后更新
..
commands 正在载入提交数据...
hooks 正在载入提交数据...
skills 正在载入提交数据...
README.md 正在载入提交数据...
run-e2e-update.sh 正在载入提交数据...
settings.json 正在载入提交数据...