checking-go-embed
Checks that the paths a Go program reads from an embed.FS are really embedded, by comparing ReadFile, Open, ReadDir, fs.Sub, fs.Glob, http.ServeFileFS and template.ParseFS calls with the //go:embed patterns and the files on disk. Finds typos, files left out because their names start with _ or ., fs.Sub calls that point at the wrong directory, template patterns that match nothing, filepath.Join paths that break on Windows, and secrets such as .env pulled in by all: patterns. Use when a Go program returns "file does not exist" or 404 for embedded files, when templates fail with "pattern matches no files", or when reviewing changes to //go:embed lines or embedded assets.
Source facts
- Repository
- GillMacedo/embedgap
- Last source activity
- November 7, 2026 at 16:13
- Detected SKILL.md language
- English
- Stars
- 0
- Forks
- 1
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
Showing SKILL.md
- name
- checking-go-embed
- description
- Checks that the paths a Go program reads from an embed.FS are really embedded, by comparing ReadFile, Open, ReadDir, fs.Sub, fs.Glob, http.ServeFileFS and template.ParseFS calls with the //go:embed patterns and the files on disk. Finds typos, files left out because their names start with _ or ., fs.Sub calls that point at the wrong directory, template patterns that match nothing, filepath.Join paths that break on Windows, and secrets such as .env pulled in by all: patterns. Use when a Go program returns "file does not exist" or 404 for embedded files, when templates fail with "pattern matches no files", or when reviewing changes to //go:embed lines or embedded assets.