mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-23 03:45:13 +00:00
Link skills to SKILL.md files instead of directories
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
This commit is contained in:
@@ -181,7 +181,7 @@ function generateLlmsTxt() {
|
|||||||
if (fs.existsSync(skillPath)) {
|
if (fs.existsSync(skillPath)) {
|
||||||
const name = extractName(skillDirPath, "skill");
|
const name = extractName(skillDirPath, "skill");
|
||||||
const description = extractDescription(skillDirPath, "skill");
|
const description = extractDescription(skillDirPath, "skill");
|
||||||
const url = getRelativeUrl(skillDirPath, ROOT_FOLDER);
|
const url = getRelativeUrl(skillPath, ROOT_FOLDER);
|
||||||
|
|
||||||
content += `- [${name}](${url}): ${description}\n`;
|
content += `- [${name}](${url}): ${description}\n`;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user