Install
$ agentstack add skill-samilozturk-agentlint-npm-publish-gitlab ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Skill: npm Publish GitLab
When to Use
Use this skill when:
- GitLab publish jobs fail for
@agent-lint/clior@agent-lint/mcp - npm trusted publishing or provenance is misconfigured
- You need to verify whether a package is actually ready to publish
- You need to distinguish GitHub verification from GitLab publish responsibility
Do not use this skill for normal feature development or unrelated CI failures.
Purpose
Diagnose and verify the Agent Lint GitLab-to-npm release path without changing release versions by hand or bypassing the established release flow.
Scope
Included
PUBLISH.md,CONTRIBUTING.md,.gitlab-ci.yml, package metadata, and release scripts- Trusted publishing / provenance troubleshooting
- Token-vs-trusted-publishing checks
- Package dry-run and release-readiness verification
Excluded
- Manual version edits
- Manual tag creation as a normal workflow
- Unrelated application runtime debugging
Inputs
failure-context: error message, CI log snippet, or symptompackage-name:@agent-lint/clior@agent-lint/mcpchanged-files: relevant release or package filesgoal: diagnose failure or verify readiness
Step-by-step Execution
- Read
PUBLISH.md,CONTRIBUTING.md, and the relevant packagepackage.json. - Confirm the expected release flow: merge ->
release/nextMR -> package-scoped tag -> manual publish job. - Identify whether the problem is:
- trusted publishing / provenance
- token auth fallback
- missing changeset or package metadata drift
- tarball or package contents mismatch
- trying to publish an already-published exact version
- Check release-readiness commands before proposing any fix.
- If the issue is configuration-related, explain the minimum required setting or secret.
- If the issue is process-related, explain which release step was skipped or violated.
- Return a concise diagnosis, exact commands, and the safest next action.
Output Contract
Provide:
- a 1-paragraph root-cause summary
- the exact repo files inspected
- a short verification checklist
- the safest next action
Verification Commands
pnpm run build
pnpm run release-status
pnpm run typecheck
pnpm run lint
pnpm run test
npm pack --dry-run --workspace packages/cli
npm pack --dry-run --workspace packages/mcp
Evidence Format
- failing job or log snippet
- release step that failed
- package affected
- config or process mismatch found
- commands run or recommended
Safety / DONTs
- Do not edit release versions by hand.
- Do not create manual tags as the default path.
- Do not publish from GitHub Actions.
- Do not expose tokens or secret values.
- Do not bypass the GitLab-controlled release flow unless the user explicitly asks for a recovery procedure.
Gotchas
- Trusted publishing is configured per npm package, not once globally.
- GitHub is verify-only; GitLab is the authoritative publish path.
NPM_TOKENis a temporary fallback and may mask trusted-publishing problems.- Publish jobs may exit cleanly if the exact version already exists on npm.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: samilozturk
- Source: samilozturk/agentlint
- License: MIT
- Homepage: https://www.npmjs.com/package/@agent-lint/cli
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.