mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-11 17:59:41 +02:00
feat(templates): new cases' CLAUDE.md asks for absolute file paths and points at the codeman skill
Codeman turns absolute paths in the terminal into links that open the file viewer, but agents usually report created files as relative paths, which cannot be clicked. The generated CLAUDE.md now asks for the full absolute path of every created file in the final reply, and says why relative, ~/ and markdown-link forms do not work. It also tells the agent about the codeman skill (start, prompt, wait on and clean up worker sessions) when the skill is available, and how the user can install it when it is not. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -61,6 +61,20 @@ describe('generateClaudeMd', () => {
|
||||
expect(result).toContain('CODEMAN_MUX=1');
|
||||
});
|
||||
|
||||
it('should tell the agent to print absolute paths of files it creates', () => {
|
||||
const result = generateClaudeMd('my-project');
|
||||
|
||||
expect(result).toContain('full absolute path');
|
||||
expect(result).toContain('clickable');
|
||||
});
|
||||
|
||||
it('should point the agent at the codeman skill', () => {
|
||||
const result = generateClaudeMd('my-project');
|
||||
|
||||
expect(result).toContain('`codeman` skill');
|
||||
expect(result).toContain('codeman skill install');
|
||||
});
|
||||
|
||||
it('should include workflow rules', () => {
|
||||
const result = generateClaudeMd('my-project');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user