ワンクリックで
pull-request
// Authoring pull requests for sccn/eeglab. Use when creating or updating a PR, and whenever changing a branch that is already associated with a PR.
// Authoring pull requests for sccn/eeglab. Use when creating or updating a PR, and whenever changing a branch that is already associated with a PR.
End-to-end workflow for fixing a GitHub issue in sccn/eeglab. Use when asked to fix, investigate, or resolve a GitHub issue.
Review a pull request for correctness, MATLAB/Octave behavior, EEGLAB data-structure consistency, GUI/history regressions, and repository convention compliance in sccn/eeglab.
| name | pull-request |
| description | Authoring pull requests for sccn/eeglab. Use when creating or updating a PR, and whenever changing a branch that is already associated with a PR. |
This skill defines the PR format and pre-push expectations for EEGLAB work. Follow it when creating or updating a PR.
Read first:
@AGENTS.md
The PR description should be plain text and short.
Title: Short imperative sentence. Optional scope tag in brackets.
Body: 1-3 sentences stating what changed and why. End with an issue link if one exists.
Hard rules:
## Summary, ## Test plan, or section labels.Example:
Title: [EEG] Fix event latency update after selection
Body:
Keep event latencies consistent when selecting a trailing continuous-data
window. Adds a sample-data regression command covering first and last event
latencies.
Fixes #1234
Use Fixes #NNNN only when the change resolves a pre-existing issue. Use
Part of #NNNN for partial work. Omit issue links for user-directed work with
no issue.
Run the narrowest meaningful validation before pushing:
Core smoke:
matlab -batch "cd('/path/to/eeglab'); eeglab('nogui'); EEG = pop_loadset('filename', 'eeglab_data.set', 'filepath', 'sample_data/'); EEG = eeg_checkset(EEG);"
Octave smoke when MATLAB is unavailable:
octave --quiet --eval "cd('/path/to/eeglab'); eeglab('nogui'); EEG = pop_loadset('filename', 'eeglab_data.set', 'filepath', 'sample_data/'); EEG = eeg_checkset(EEG);"
Focused test or command for the function, plugin, import path, GUI path, or STUDY path that changed.
If validation cannot run because MATLAB, Octave, a display, a license, or test data are unavailable, say that clearly in the PR body or final status.
Unless the user says otherwise, push directly to a branch on sccn/eeglab when
permissions allow. Do not push to a fork unless direct push is unavailable or
requested.
Use:
gh pr create \
--title "<title>" \
--body "<plain text body>"
Add the agent-generated label only when repository automation creates the PR.
Do not add it when a human asks an interactive agent to open or update a PR.
.agents/skills/fix-issue/.agents/skills/github-pr-review/AGENTS.md