بنقرة واحدة
add-feature-to-framework
Comprehensive checklist ensuring all new features are integrated into the framework correctly
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Comprehensive checklist ensuring all new features are integrated into the framework correctly
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Experiment orchestration framework with traffic allocation, statistical analysis, and early stopping detection. Use to test routing changes, model upgrades, and role assignments with Welch's t-test significance testing.
DEPRECATED — This skill is no longer maintained. Prometheus and Grafana infrastructure was never implemented. Use local JSON metrics analysis instead.
Scaffolds new SPEC-compliant agentic-engineers agents with a single call. Generates SKILL.md frontmatter, test scaffolds (TDD RED-phase), __init__.py, scripts/ layout, and DELEGATE/HANDBACK protocol templates. Use when creating any new automation agent, task handler, or operational tool. Validates role, model, effort, naming, and dependency graphs (circular dep detection) before writing files. Supports dry-run mode for planning without side effects.
Routine maintenance for Codex sessions: monitor queue state, close completed sub-agents, resume or escalate active work, and keep agent capacity available.
Automated cross-validation of protocol queue integrity. Scans all DELEGATEs/HANDBACKs, validates schema compliance, detects cycles, checks rate limits, generates compliance report. Enables self-referential protocol improvements.
Consolidates provider-specific AI costs into unified metrics across Anthropic, OpenAI, Google Gemini, GitHub Copilot, and Ollama. Enables apples-to-apples cost comparison and savings analysis.
| name | add-feature-to-framework |
| description | Comprehensive checklist ensuring all new features are integrated into the framework correctly |
| type | meta |
| role | senior-engineer |
| category | integration-checklist |
| version | 1 |
| maturity | draft |
| applies_to | every new feature, SKILL, agent, decorator, validation gate |
| effort_estimate | 2-4h additional for full framework integration (on top of implementation) |
name: add-feature-to-framework
type: meta
role: senior-engineer
category: integration-checklist
version: 1.0
maturity: draft
applies_to: every new feature, SKILL, agent, decorator, validation gate
effort_estimate: 2-4h additional for full framework integration (on top of implementation)
Provide a comprehensive checklist ensuring every new feature/SKILL/agent:
Use this checklist EVERY TIME you add:
Task is clearly defined
Framework alignment verified
Design reviewed by appropriate role
Code written with quality standards
Unit tests written FIRST (TDD)
Integration tests verify framework connections
Local environment testing
make test passes (all unit + integration tests)make validate-spec passes (compliance with SPEC.md)docker run ... make testblack, pylint, mypy --strictbandit, detect-secretsCode documentation complete
User-facing documentation updated
SPEC.md updated (if behavior changed)
Framework documentation updated
src/AGENTS.md: Role definitions (if role-specific)src/SKILLS.md: SKILL documentation (if new SKILL).githooks/README.md: Hook documentation (if new hook)Makefile: New targets documentedHooks integrated (if applicable)
.githooks/pre-commit.githooks/pre-push.githooks/post-mergemake setupDecorators/Validators applied (if applicable)
@enforce_delegate_requirement)validate_queue_path())SPEC.md compliance verified
make validate-specProtocol compliance verified (if DELEGATE/HANDBACK involved)
protocol-core-v1.0.yamlAll tests pass
make test passes (full suite)make test-integration passesmake validate-spec passesCI pipeline passes
Regression testing
Manual testing completed (for UI/API changes)
Code review checklist
PR preparation
[AREA] TASK-ID: Feature descriptionCloses #123 formatPost-merge process
Before claiming "done", verify these framework connections:
# ✅ Correct: Feature respects @enforce_delegate_requirement
@enforce_delegate_requirement
def route_task(task: Dict) -> Result:
# Implementation uses feature
pass
# ❌ Wrong: Feature implemented but decorator not applied
def route_task(task: Dict) -> Result:
# Implementation uses feature, but no decorator = can be bypassed
pass
Test:
pytest tests/test_decorator_enforcement.py -v -k "enforce_delegate"
# ✅ Correct: Feature validates inputs before use
def validate_feature_input(path: Path) -> bool:
assert isinstance(path, Path), f"Expected Path, got {type(path)}"
assert path.exists(), f"Path does not exist: {path}"
return True
# ❌ Wrong: No validation, silent failure on wrong input
def use_feature(path):
# Might fail mysteriously if path is wrong type
pass
Test:
pytest tests/test_feature_validation.py -v
# ✅ Correct: New constraint added to SPEC.md
constraints:
- All queue paths must be validated with validate_queue_path()
- All DELEGATEs must use decorator @enforce_delegate_requirement
# ❌ Wrong: Feature implemented but SPEC not updated
# (Later, someone implements similar feature differently = inconsistency)
Test:
make validate-spec
# ✅ Correct: AGENTS.md updated with new role
## Quality Engineer (New Role)
- Responsibility: Run enhanced test environment simulation
- Tools: Docker, pytest, container environment
- Authority: Can trigger pre-push gate validations
# ❌ Wrong: Feature implemented but AGENTS.md not updated
# (Team doesn't know about new role = bottleneck)
Test: Grep for role in AGENTS.md
grep "Quality Engineer" src/AGENTS.md
🚩 Red Flag 1: "Tests pass locally but fail in CI"
🚩 Red Flag 2: "Feature works but breaks existing tests"
🚩 Red Flag 3: "Feature implemented but SPEC.md not updated"
🚩 Red Flag 4: "Feature has no tests"
🚩 Red Flag 5: "Feature uses wrong decorator or validator"
For quick reference, these are the must-haves:
code-hygiene-git-workflow: Pre-commit/pre-push workflowspec-validator: SPEC.md compliance verificationprotocol-validator: DELEGATE/HANDBACK protocol validationspec-management: Managing SPEC.md changesFollows: add-feature-to-framework + code-hygiene-git-workflow
Follows: add-feature-to-framework + skill-creator + code-hygiene-git-workflow
skill-creator to scaffold SKILL structuresrc/AGENTS.md, update related decoratorsThis checklist is aspirational and comprehensive. In practice:
The goal is consistency + completeness, not perfection.