用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/oyi77/1ai-skills --skill git-master命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Android and mobile application security testing — emulators, rooting, traffic interception, dynamic instrumentation. Use when testing mobile apps for vulnerabilities, reversing APKs, or bypassing security controls on Android.
Self-reflection + Self-criticism + Auto-learning from corrections + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when working with self improving.
Plan and execute a comprehensive red team engagement covering reconnaissance through post-exploitation using MITRE ATT&CK-aligned TTPs to evaluate an organization's detection and response capabilities. Use when working with conducting full scope red team engagement.
基于 SOC 职业分类
正在显示 SKILL.md
| name | git-master |
| description | Handles advanced Git workflows. Use when rebasing, squashing, bisecting, or managing complex branch histories. |
| domain | development |
| author | oyi77 |
| license | Apache-2.0 |
| subdomain | software-development |
| tags | ["coding","git","master","software-engineering","testing","workflow"] |
| version | 1.0.0 |
Advanced Git operations beyond basic commit and push, including history rewriting, branch management, and complex workflow resolution.
This skill covers advanced Git operations that require deeper understanding of Git's internals and history management. It enables safe history rewriting, complex branch merges, and detailed history analysis while maintaining team coordination standards.
| Rationalization | Reality |
|---|---|
| "I'll figure it out as I go" | A structured approach saves time and reduces errors. Follow the workflow in this skill rather than improvising. |
| "I already know this topic" | Familiarity breeds shortcuts. Use the checklist to verify you haven't missed critical steps. |
| "This doesn't apply to my situation" | The patterns here generalize across contexts. Adapt, don't skip — the underlying principles hold. |
| "One more tool will fix it" | Adding complexity rarely solves process gaps. Master the core workflow first. |
Trigger phrases:
"git master"
"Rebase operations: When you need to reorganize commit history, fix commit or"
"Squash operations: When you need to combine multiple commits into a single l"
"Bisect operations: When you need to find the specific commit that introduced"
Rebase operations: When you need to reorganize commit history, fix commit order, or integrate with updated base branches
Squash operations: When you need to combine multiple commits into a single logical commit for cleaner history
Bisect operations: When you need to find the specific commit that introduced a bug
History cleanup: When you need to clean up commit history before merging or sharing
Merge conflict resolution: When you need to resolve complex merge conflicts with history awareness
History analysis: When you need to understand when and why specific changes were introduced
Assess the situation
Choose the correct operation
git rebase -i) for rewriting history, non-interactive for linear historygit rebase -i with squash or fixup commandsgit bisect start with binary search protocolgit rebase -i or git filter-branch for extensive cleanupExecute safely
--no-ff for merges to preserve merge history when neededVerify history
git log to confirm the intended history structuregit diff to verify the correct changes are included"I can just use force push to fix this quickly"
"I'll deal with history cleanup later"
"Bisecting is too time-consuming"
| Situation | Risk |
|---|---|
| Force pushing to shared branches | Breaking history for other team members |
| Rebasing without understanding consequences | Losing commits or introducing conflicts |
| Squashing without verifying final state | Combining unrelated changes |
| Bisect without testing after each step | Missing the actual commit |
| Rewriting public history without coordination | Team confusion and lost work |
After completing Git operations, verify:
git log shows the intended commit structuregit reflog to confirm no important commits were dropped# Example: TDD workflow
def test_user_creation():
user = create_user(name="Alice", email="alice@example.com")
assert user.name == "Alice"
assert user.email == "alice@example.com"
assert user.created_at is not None
def test_user_creation_invalid_email():
with pytest.raises(ValidationError):
create_user(name="Alice", email="invalid")