docs(cli): guide assistants to platform tools

This commit is contained in:
ViditOstwal
2026-09-18 19:30:00 +05:30
committed by GitHub
parent 0a8ecf30c1
commit aecdbfc7d7
6 changed files with 52 additions and 2 deletions

View File

@@ -1148,6 +1148,8 @@ def test_create_crew_scaffolds_assistant_instructions(tmp_path, monkeypatch):
assert "CrewAI Reference for AI Coding Assistants" in agents_md
claude_md = (project_root / "CLAUDE.md").read_text(encoding="utf-8")
assert "@AGENTS.md" in claude_md.splitlines()
cursor_md = (project_root / "CURSOR.md").read_text(encoding="utf-8")
assert "@AGENTS.md" in cursor_md.splitlines()
gemini_md = (project_root / "GEMINI.md").read_text(encoding="utf-8")
assert "@./AGENTS.md" in gemini_md.splitlines()
@@ -1207,5 +1209,7 @@ def test_json_create_scaffolds_assistant_instructions(tmp_path, monkeypatch):
assert "crew.jsonc" in agents_md
claude_md = (project_root / "CLAUDE.md").read_text(encoding="utf-8")
assert "@AGENTS.md" in claude_md.splitlines()
cursor_md = (project_root / "CURSOR.md").read_text(encoding="utf-8")
assert "@AGENTS.md" in cursor_md.splitlines()
gemini_md = (project_root / "GEMINI.md").read_text(encoding="utf-8")
assert "@./AGENTS.md" in gemini_md.splitlines()