بنقرة واحدة
context-pack-core-worker
Implement ContextPack model, assembly/ranking/capping logic, and export formatting contracts.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implement ContextPack model, assembly/ranking/capping logic, and export formatting contracts.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implement a bounded OpenBurnBar Windows parity milestone from reviewed VAL contracts with main-app composition, focused tests, baseline discipline, and Windows-host evidence preparation.
Runs a long-running mission using the Zenith continuous-improvement harness to dynamically orchestrate workers, testing, and stopping discipline.
Design consultation: understands your product, researches the landscape, proposes a complete design system (aesthetic, typography, color, layout, spacing, motion), and generates font+color preview pages. Creates DESIGN.md as your project's design source of truth. For existing sites, use /plan-design-review to infer the system instead. Use when asked to "design system", "brand guidelines", or "create DESIGN.md".
Use when asked about AI-agent spend, token usage, session history, workflow patterns, or cost investigations. Grounds all answers in OpenBurnBar/BurnBar local data via prompt context and MCP tools.
Run OpenBurnBar functional QA and write qa-results/report.md plus supporting artifacts.
Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".
| name | context-pack-core-worker |
| description | Implement ContextPack model, assembly/ranking/capping logic, and export formatting contracts. |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
Use for Context Pack domain/service work:
ContextPack model and export target typesNone.
mission.md, validation-contract.md, AGENTS.md) and list target assertion IDs from fulfills..factory/services.yaml.{
"salientSummary": "Implemented ContextPack core assembly and export envelopes with deterministic ranking/capping behavior. Added service/export tests for heuristics, caps, and envelope correctness; all scoped and required validators passed.",
"whatWasImplemented": "Added ContextPack domain types and ContextPackService with same-project boost, 7-day weighted recency, summary/signal ranking factors, deterministic tie-breaks, dedupe-before-rank, 5-session cap, and 12k-char oldest-first trimming. Implemented target export envelopes for claude/hermes/codex/cursor/markdown while preserving shared-body semantics.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{
"command": "xcodebuild test -project OpenBurnBar.xcodeproj -scheme OpenBurnBar -destination \"platform=macOS,arch=arm64\" -only-testing:\"OpenBurnBarTests/ContextPackServiceTests\" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO",
"exitCode": 0,
"observation": "ContextPackServiceTests passed."
},
{
"command": "xcodebuild test -project OpenBurnBar.xcodeproj -scheme OpenBurnBar -destination \"platform=macOS,arch=arm64\" -only-testing:\"OpenBurnBarTests/ContextPackExportTests\" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO",
"exitCode": 0,
"observation": "ContextPackExportTests passed."
},
{
"command": "scripts/test-openburnbar-swift.sh",
"exitCode": 0,
"observation": "Swift/package validation passed."
}
],
"interactiveChecks": []
},
"tests": {
"added": [
{
"file": "AgentLensTests/Active/ContextPackServiceTests.swift",
"cases": [
{
"name": "test_rankingOrdersByScoreDescending",
"verifies": "ranking order and deterministic tie-breaks"
},
{
"name": "test_overflowTrimsOldestIncludedFirst",
"verifies": "12k cap overflow trims oldest included sessions first"
}
]
}
]
},
"discoveredIssues": []
}