INNER CODE UNIT · TypeScript
setupGuidance
HoangNguyen0403/agent-skills-standard · mcp/src/tools/index.ts:51
function setupGuidance(setup: SetupHint): string {
switch (setup.kind) {
case "no-agents-md":
return [
"No `AGENTS.md` was found by walking up from the current directory.",
"This MCP needs to be launched from inside a project initialized with agent-skills-standard.",
"",
"To set up:",
" 1. cd into your project root",
" 2. Run `npx agent-skills-standard@latest init` (creates .skillsrc)",
" 3. Run `npx agent-skills-standard@latest sync` (installs skills)",
" 4. Restart this MCP server",
].join("\n");
case "no-skills-dir":
return [
"No skills are installed in this project yet.",
"",
"To install skills:",