emdash-github-actions
Skill100 starsChanged 7 months agoMITView on GitHub
Sets up GitHub Actions CI/CD workflows for EmDash plugins — TypeScript type-checking, ESLint linting, Vitest testing, npm publishing, and automated releases. ALWAYS use this skill when a user wants to create, add, set up, or configure GitHub Actions, CI/CD, automated checks, or deployment workflows for an EmDash plugin — even if they don't use the exact phrase "GitHub Actions". This includes any request to: add automated type-checking or linting to an EmDash plugin repo; set up testing in CI for a plugin; auto-publish a plugin to npm from GitHub; add security scanning or dependency auditing to a plugin pipeline; or generally "add CI", "add automated checks", "set up workflows", or "automate" anything related to an EmDash plugin's GitHub repository. Also trigger when someone wants quality gates on PRs or is setting up a new EmDash plugin repo and wants best practices for automation. If the user is inside an EmDash plugin repository and mentions anything about automated testing, code quality, deployment, or GitHub workflows, use this skill.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- EngDawood/emdash-claude-skillsword for word, first seen Nov 1, 2026
- EngDawood/emdash-claude-pluginword for word, first seen Sep 30, 2026
Other versions2 projects use a version of this.
Word for word · 2
- EngDawood/emdash-claude-plugin★ 4100% same
- EngDawood/emdash-claude-skills★ 4100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- astro-seo/AGENTS.mdAGENTS.md
- github-profile/AGENTS.mdAGENTS.md
- github-repo/AGENTS.mdAGENTS.md
- static-seo/AGENTS.mdAGENTS.md
- wp-readme-optimizer/AGENTS.mdAGENTS.md
- wp-static-clone/AGENTS.mdAGENTS.md
- astro-github-actionsSkill
- astro-seoSkill
- content-seoSkill
- github-profileSkill
- github-repoSkill
- metadata-checkSkill
- readability-checkSkill
- static-seoSkill
- wp-github-actionsSkill
- wp-readme-optimizerSkill
- wp-static-cloneSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 3 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Read references/workflows.md for the detailed configuration of each workflow, including ready-to-use YAML templates and configuration files.
- Distinctive: line 29
Before writing any workflow files, figure out what you're working with:
- Very specific: line 31
What does the plugin do?: Check the package.json description and src/index.ts exports.
- Very specific: line 32
Does it have a React admin UI?: Check for .tsx files or admin.tsx.
- Very specific: line 33
Does it have tests?: Check for a tests/ or __tests__/ directory, or a vitest.config.ts.
- Very specific: line 34
What are its peer dependencies?: Check package.json for peerDependencies.
- Very specific: line 35
Does it use additional npm dependencies?: Check for dependencies in package.json.
- Very specific: line 36
Is it published to npm?: Check if the package name is scoped (e.g., @org/emdash-plugin-foo) and whether it has a publishConfig.
- Very specific: line 53
Create each workflow as a separate YAML file in .github/workflows/.
- Very specific: line 55
Use the templates from references/workflows.md as starting points, but adapt them to the specific plugin.
- Distinctive: line 72
If you're adding the npm publish workflow, remind the user that they need to configure a repository secret in GitHub:
- Distinctive: line 82
Use descriptive workflow file names that make it obvious what each one does:
- Very specific: line 92
Node.js version: Use Node.js 22 as the default.
- Very specific: line 96
The
--skipLibCheckflag: Use --skipLibCheck when running tsc in CI. - Very specific: line 98
The
findcommand for file discovery: Don't use shell globs like src//*.ts in CI commands — they fail when no files match at a given depth.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
EmDash Plugin GitHub Actions
This skill helps you set up a comprehensive CI/CD pipeline for EmDash plugins using GitHub Actions. EmDash is a full-stack TypeScript CMS based on Astro, so its plugin ecosystem is entirely TypeScript-based.
What this skill covers
There are several categories of workflows that a healthy EmDash plugin should have. Not every plugin needs all of them — the right mix depends on the plugin's complexity, whether it has a React admin UI, whether it has tests, etc. Your job is to figure out which ones are relevant and set them up.
The workflows fall into these categories:
- Type checking — TypeScript strict mode with emdash peer dependency
- Code quality — ESLint with TypeScript support
- Testing — Vitest or similar TypeScript-native test runner
- Security — npm audit for dependency vulnerabilities
- Deployment — Automated npm publish on tag/release
Read references/workflows.md for the detailed configuration of each workflow, including ready-to-use YAML templates and configuration files.
How to approach a request
Step 1: Understand the plugin
Before writing any workflow files, figure out what you're working with:
- What does the plugin do? Check the
package.jsondescription andsrc/index.tsexports. EmDash plugins typically hook intopage:metadata,page:fragment, content hooks, or provide admin UI. - Does it have a React admin UI? Check for
.tsxfiles oradmin.tsx. If yes, the type-check needs@types/reactand--jsx react-jsx. - Does it have tests? Check for a
tests/or__tests__/directory, or avitest.config.ts. If yes, set up the test workflow. If not, mention that adding tests would be valuable but don't force it. - What are its peer dependencies? Check
package.jsonforpeerDependencies. EmDash plugins always depend onemdashand may depend onreact,astro, etc. - Does it use additional npm dependencies? Check for
dependenciesinpackage.json. If yes, the CI needs annpm installstep. - Is it published to npm? Check if the package name is scoped (e.g.,
@org/emdash-plugin-foo) and whether it has apublishConfig. If yes, the deploy workflow is relevant.
Step 2: Recommend a set of workflows
Based on what you found, recommend which workflows to set up. A good default for most plugins:
- TypeScript type-check (almost always — this is the most valuable check)
- ESLint (if the plugin has more than a handful of files)
- npm audit (cheap security check, almost always worth it)
And conditionally:
- Vitest tests (if tests exist)
- npm publish (if the plugin is published to npm)
Step 3: Create the workflow files
Create each workflow as a separate YAML file in .github/workflows/. Using separate files rather than one monolithic workflow gives clearer feedback in PRs (each check shows independently) and makes it easier to enable/disable individual checks.
Use the templates from references/workflows.md as starting points, but adapt them to the specific plugin. Common adaptations include:
- Adding
@types/reactif the plugin has.tsxfiles - Adding additional peer dependencies that provide types
- Adjusting file paths for the type-check and lint commands
- Configuring the npm publish scope and access level
Step 4: Create supporting config files
Depending on which workflows you set up, you may also need:
tsconfig.json— TypeScript configuration (if not already present)eslint.config.js— ESLint flat config with TypeScript supportvitest.config.ts— Vitest configuration
Step 5: Set up secrets reminder
If you're adding the npm publish workflow, remind the user that they need to configure a repository secret in GitHub:
NPM_TOKEN— Their npm access token with publish permissions
Walk them through: Repository Settings > Secrets and variables > Actions > New repository secret.
For scoped packages (@org/package-name), the token must have access to the organization.
Naming conventions
Use descriptive workflow file names that make it obvious what each one does:
ci.yml— TypeScript type-checking (the primary CI check)lint.yml— ESLinttest.yml— Vitest/test runnersecurity.yml— npm auditpublish.yml— npm publish on release
Important details
Node.js version: Use Node.js 22 as the default. EmDash is built on modern TypeScript and Astro, so there's no need to support older Node versions. Use actions/checkout@v5 and actions/setup-node@v5 (v5 runs on Node.js 24 runners, avoiding the Node.js 20 deprecation).
Peer dependency installation: EmDash plugins declare emdash as a peer dependency. For type-checking in CI, you must explicitly install emdash (and @types/react if the plugin has .tsx files) since peer dependencies aren't auto-installed in a standalone plugin repo.
The --skipLibCheck flag: Use --skipLibCheck when running tsc in CI. EmDash and its transitive dependencies may have internal type issues that aren't relevant to the plugin author. --skipLibCheck skips checking .d.ts files while still fully checking the plugin's own source code.
The find command for file discovery: Don't use shell globs like src/**/*.ts in CI commands — they fail when no files match at a given depth. Use $(find src -name '*.ts' -o -name '*.tsx') instead.
Branch naming: Most EmDash plugin repos use main as the default branch. Always check the actual repo and use the correct branch name in workflow triggers.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

