Conversation
Reviewer's GuideAdds Trae and Codex agent support to the bb-llms CLI and refactors agent discovery templates to be external embedded Markdown files instead of inline C# strings. Sequence diagram for bb_llms_install with Trae and Codex supportsequenceDiagram
actor User
participant BbLlmsCli
participant Scaffolder
participant TemplatesAssembly
participant FileSystem
User->>BbLlmsCli: bb-llms install --client codex --scope project
BbLlmsCli->>Scaffolder: Install(client, scope, target, force)
Scaffolder->>Scaffolder: client.ToLowerInvariant()
Scaffolder->>Scaffolder: scope.ToLowerInvariant()
Scaffolder->>Scaffolder: switch(client)
alt client == "claude" or "trae"
Scaffolder->>Scaffolder: SkillMarkdown
Scaffolder->>TemplatesAssembly: ReadTemplate("SKILL.md")
TemplatesAssembly-->>Scaffolder: templateContent
Scaffolder->>FileSystem: File.WriteAllText(path, templateContent)
else client == "cursor"
Scaffolder->>Scaffolder: CursorRule
Scaffolder->>TemplatesAssembly: ReadTemplate("bootstrapblazor.mdc")
TemplatesAssembly-->>Scaffolder: templateContent
Scaffolder->>FileSystem: File.WriteAllText(path, templateContent)
else client == "codex"
Scaffolder->>Scaffolder: GenericSnippet
Scaffolder->>TemplatesAssembly: ReadTemplate("instructions.md")
TemplatesAssembly-->>Scaffolder: templateContent
Scaffolder->>FileSystem: File.Exists(AGENTS.md)
alt [file missing or force]
Scaffolder->>FileSystem: File.WriteAllText(AGENTS.md, templateContent)
else [file exists and !force]
Scaffolder-->>BbLlmsCli: no write
end
end
Scaffolder-->>BbLlmsCli: return status
BbLlmsCli-->>User: exit code
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Link issues
fixes #1049
Summary By Copilot
Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Add Trae and Codex agent support and move CLI discovery templates into editable embedded Markdown files.
New Features:
Enhancements: