update readme

This commit is contained in:
2026-01-27 12:25:05 -08:00
parent f4059b17e7
commit ac4593cc71
2 changed files with 19 additions and 18 deletions
+7 -11
View File
@@ -1,16 +1,12 @@
# Agent Skills by @rodydavis # Agent Skills by @rodydavis
### flutter-control-and-screenshot Install skills with https://skills.sh/
Guide on how to control a Flutter app using flutter_driver via MCP and capture screenshots.
```bash ```
npx skills add rodydavis/flutter-control-and-screenshot npx skills add rodydavis/skills
```
### install-flutter-from-git
Install Flutter SDK via git clone and configure for all platforms
```bash
npx skills add rodydavis/install-flutter-from-git
``` ```
| Skill | Description | Command |
|---|---|---|
| [flutter-control-and-screenshot](./skills/flutter_driver_control/SKILL.md) | Guide on how to control a Flutter app using flutter_driver via MCP and capture screenshots. | `npx skills add rodydavis/flutter-control-and-screenshot` |
| [install-flutter-from-git](./skills/install-flutter-from-git/SKILL.md) | Install Flutter SDK via git clone and configure for all platforms | `npx skills add rodydavis/install-flutter-from-git` |
+12 -7
View File
@@ -60,6 +60,10 @@ let readmeContent = `# Agent Skills by @rodydavis
Install skills with https://skills.sh/ Install skills with https://skills.sh/
\`\`\`
npx skills add rodydavis/skills
\`\`\`
`; `;
function main() { function main() {
@@ -67,21 +71,22 @@ function main() {
const skillFiles = findSkillFiles(skillsDir); const skillFiles = findSkillFiles(skillsDir);
readmeContent += '| Skill | Description | Command |\n';
readmeContent += '|---|---|---|\n';
skillFiles.forEach(file => { skillFiles.forEach(file => {
const content = fs.readFileSync(file, 'utf8'); const content = fs.readFileSync(file, 'utf8');
const frontmatter = parseFrontmatter(content); const frontmatter = parseFrontmatter(content);
if (frontmatter && frontmatter.name) { if (frontmatter && frontmatter.name) {
console.log(`Found skill: ${frontmatter.name}`); console.log(`Found skill: ${frontmatter.name}`);
const relativePath = path.relative(path.dirname(readmePath), file);
readmeContent += `### ${frontmatter.name}\n`; // Escape pipes in description just in case
if (frontmatter.description) { const description = (frontmatter.description || '').replace(/\|/g, '\\|');
readmeContent += `${frontmatter.description}\n\n`;
}
readmeContent += '```bash\n'; readmeContent += `| [${frontmatter.name}](./${relativePath}) | ${description} | \`npx skills add rodydavis/${frontmatter.name}\` |\n`;
readmeContent += `npx skills add rodydavis/${frontmatter.name}\n`;
readmeContent += '```\n\n';
} }
}); });