Skip to content

Commit ccd91ce

Browse files
committed
feat(prompts): integrate top_agent module from PR #20
- Add top_agent.rs with TopAgentPromptBuilder, TopAgentPresets, and ~20 section constants - Update mod.rs to include top_agent module and re-export public types - Integrates PR #20's top-agent prompts into PR #21's skill-based architecture
1 parent 115f3db commit ccd91ce

File tree

2 files changed

+1793
-0
lines changed

2 files changed

+1793
-0
lines changed

src/cortex-prompt-harness/src/prompts/mod.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
//! - [`review`]: Code review prompts
2020
//! - [`tools`]: Tool-specific prompts (subagent executor, mentions)
2121
//! - [`generation`]: Agent generation prompts
22+
//! - [`top_agent`]: Top-agent style prompts (autonomous, backup-first philosophy)
2223
//!
2324
//! # Usage
2425
//!
@@ -34,6 +35,10 @@
3435
//!
3536
//! // Get task prompts
3637
//! let summary = prompts::tasks::SUMMARIZATION_PROMPT;
38+
//!
39+
//! // Use top-agent style prompts
40+
//! let top_agent = prompts::top_agent::TOP_AGENT_SYSTEM_PROMPT;
41+
//! let coding = prompts::top_agent::TopAgentPresets::coding_assistant();
3742
//! ```
3843
3944
pub mod agents;
@@ -44,6 +49,7 @@ pub mod generation;
4449
pub mod review;
4550
pub mod tasks;
4651
pub mod tools;
52+
pub mod top_agent;
4753

4854
// Re-export commonly used prompts for convenience
4955
pub use agents::{
@@ -66,3 +72,6 @@ pub use builtin_skills::{
6672
list_builtin_skills,
6773
};
6874
pub use tasks::{COMPACTION_PROMPT, SUMMARIZATION_PROMPT};
75+
pub use top_agent::{
76+
TOP_AGENT_SECTION_NAMES, TOP_AGENT_SYSTEM_PROMPT, TopAgentPresets, TopAgentPromptBuilder,
77+
};

0 commit comments

Comments
 (0)