بنقرة واحدة
refactor
Behavior-preserving refactoring guidance for burndown-chart with layered architecture and safety gates
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Behavior-preserving refactoring guidance for burndown-chart with layered architecture and safety gates
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Retrieve up-to-date library documentation with Context7 MCP and ground code changes. Use when tasks involve external APIs, version-sensitive behavior, migrations, deprecations, setup/configuration decisions, or framework/library best-practice questions.
Install and configure optional development tools for repository contributors. Use when asked to install ripgrep, rg, jq, yq, GitHub Copilot CLI, copilot, or any command-line dev tool. Also use when a tool is reported as "not found", when the user wants to set up their development workstation, or when searching / log-inspection tools are needed. Provides platform-specific install commands for Windows (winget, no admin required), macOS (Homebrew), and Linux (apt/rpm).
Optimally use rg (ripgrep), fd, jq, and yq for code exploration, file discovery, and structured data querying in any repository. Use when asked to search code, find files, grep for patterns, explore a codebase structure, parse JSON or YAML configs, inspect package.json or pyproject.toml, extract API response data, find all usages of a function or variable, or filter results across file types. Works with any language, framework, or project structure.
Create new Agent Skills for GitHub Copilot from prompts or by duplicating this template. Use when asked to "create a skill", "make a new skill", "scaffold a skill", or when building specialized AI capabilities with bundled resources. Generates SKILL.md files with proper frontmatter, directory structure, and optional scripts/references/assets folders.
Improve quality and reliability of Python backend changes in burndown-chart
Execute release preparation and changelog updates safely. Use when drafting release notes, preparing version bumps, validating release prerequisites, or checking release workflow completeness before tagging or publishing.
| name | refactor |
| description | Behavior-preserving refactoring guidance for burndown-chart with layered architecture and safety gates |
Use this skill for targeted cleanup of existing code where behavior must remain the same.
data/.get_errors, then targeted tests).callbacks/: route events only; delegate business logic.data/: calculations, orchestration, persistence-facing logic.ui/: component construction and layout assembly.visualization/: Plotly chart generation/transforms.If refactoring crosses layers, move logic to the correct layer rather than adding cross-layer shortcuts.
get_errors on changed files (must be zero)data/ modules..venv/Scripts/python.exe -c "from callbacks import register_all_callbacks; print('OK')"
.venv/Scripts/python.exe -m ruff check . --select PLC0415
Both must pass before declaring the refactor complete.# noqa.
Fix the import topology. Consult the circular-import-safety skill.data/jira/*.py ↔ data.persistence, data/jira/*.py → configuration,
data/metrics_snapshots.py ↔ data.metrics_calculator, ui/metric_cards/_helpers.py ↔ ui.flow_metrics_dashboard.get_errors returns zero errors for changed files.When this skill is used by a delegated subagent, return the following packet to the parent agent:
refactor.github/instructions/python-dash-layering.instructions.md.github/instructions/testing-quality.instructions.md.github/instructions/review-gate.instructions.md.github/prompts/safe-refactor-python.prompt.md.github/agents/layering-enforcer.agent.md