Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/cortex-prompt-harness/src/prompts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
//! - [`review`]: Code review prompts
//! - [`tools`]: Tool-specific prompts (subagent executor, mentions)
//! - [`generation`]: Agent generation prompts
//! - [`top_agent`]: Top-agent style prompts (autonomous, backup-first philosophy)
//!
//! # Usage
//!
Expand All @@ -33,6 +34,10 @@
//!
//! // Get task prompts
//! let summary = prompts::tasks::SUMMARIZATION_PROMPT;
//!
//! // Use top-agent style prompts
//! let top_agent = prompts::top_agent::TOP_AGENT_SYSTEM_PROMPT;
//! let coding = prompts::top_agent::TopAgentPresets::coding_assistant();
//! ```

pub mod agents;
Expand All @@ -41,6 +46,7 @@ pub mod generation;
pub mod review;
pub mod tasks;
pub mod tools;
pub mod top_agent;

// Re-export commonly used prompts for convenience
pub use agents::{
Expand All @@ -54,3 +60,6 @@ pub use core::{
SECTION_RESPONSE_PATTERNS, SECTION_TOOLKIT, TUI_SYSTEM_PROMPT_TEMPLATE,
};
pub use tasks::{COMPACTION_PROMPT, SUMMARIZATION_PROMPT};
pub use top_agent::{
TOP_AGENT_SECTION_NAMES, TOP_AGENT_SYSTEM_PROMPT, TopAgentPresets, TopAgentPromptBuilder,
};
Loading
Loading