Conversation
…ve domain knowledge - CREATE_EXPERT_INSTRUCTION: Replace numbered workflow steps with delegate descriptions and context passing guidance - INTEGRATION_MANAGER_INSTRUCTION: Replace numbered workflow with role description and responsibilities - EXPERT_TESTER_INSTRUCTION: Replace step-by-step testing process with domain knowledge sections This aligns with Best Practice #2 "Trust the LLM, Define Domain Knowledge" by: - Defining what each expert knows and can do, not how to do it step-by-step - Trusting the LLM to figure out the execution details - Keeping instructions declarative (policies not procedures) Closes #376 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Converts procedural step-by-step instructions in create-expert's internal experts to declarative domain knowledge, aligning with Best Practice #2 "Trust the LLM, Define Domain Knowledge".
Changes
Before (procedural)
After (declarative)
Closes #376
Test plan
Note
Refactors instruction text to be declarative and policy-driven across the create-expert ecosystem.
CREATE_EXPERT_INSTRUCTIONwith delegate roles, context passing, quality standards, and architectureINTEGRATION_MANAGER_INSTRUCTIONto describe parallel delegation, trade-off analysis, integration verification, and scoring with a defined report formatEXPERT_TESTER_INSTRUCTIONto emphasize black-boxexectesting, parallel test execution, stage-specific domain knowledge, and clear evaluation criteriaFUNCTIONAL_MANAGER_INSTRUCTIONandUSABILITY_MANAGER_INSTRUCTIONaligned with declarative testing categories and outputsapps/create-expert/src/lib/create-expert-toml.tsplus a patch changeset; no runtime or logic modificationsWritten by Cursor Bugbot for commit 9613e35. This will update automatically on new commits. Configure here.