using-marketplace-sec
Skill8 starsChanged 16 days agoMITView on GitHub
Use when running the full Marketplace security pre-submission flow for Bitrix modules: scan one module, review BUS severity, update the cumulative vulnerability journal, validate saved developer feedback, and summarize release readiness.
In this repository4 other files it gives its agents.
- journal-reviewSkill
- journal-updateSkill
- scan-composerSkill
- scanSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when a Bitrix module developer needs the full partner-side pre-submission process, not just a raw scan.
- Very specific: line 20
If a previous security-journal.json exists, prepare it as context for the scan.
- Very specific: line 23
Run journal-review on that scan output.
- Very specific: line 69
Only reports/security-journal.json is the stable partner submission artifact.
- Very specific: line 73
Do not modify scan behavior from this skill.
- Very specific: line 74
Do not manually edit reviewed severity.
- Very specific: line 75
Do not manually update lifecycle counters.
- Distinctive: line 76
Do not consider the full flow complete until the local journal UI has been launched and checked against the latest journal.
- Distinctive: line 77
If the updater cannot classify a lifecycle transition, stop and explain the exact ambiguous case instead of inventing journal state.
≈ “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
Using Marketplace Security
Use this skill when a Bitrix module developer needs the full partner-side pre-submission process, not just a raw scan.
This skill is an orchestrator. It does not contain security-audit heuristics. Keep audit improvements in scan; keep BUS severity policy in journal-review; keep lifecycle state in journal-update.
Inputs
- module path, for example
modules/vendor.module - optional previous
security-journal.json - optional final archive SHA-256
Required Workflow
- If a previous
security-journal.jsonexists, prepare it as context for the scan. The scan skill may use it aslast-result.json, but it must still verify findings against real code. - Run
scan <module_path>.- Expected output:
reports/<module_code>.json
- Expected output:
- Run
journal-reviewon that scan output.- Recommended output:
reports/<module_code>.reviewed.json
- Recommended output:
- Run
journal-update:
python3 <journal-update-skill>/scripts/update_journal.py \
reports/<module_code>.reviewed.json \
--previous reports/security-journal.json \
--module-path <module_path> \
--archive-sha256 <sha256> \
--output reports/security-journal.jsonFor the first run, omit --previous.
- Validate the journal:
python3 <journal-update-skill>/scripts/update_journal.py \
--validate-only reports/security-journal.json- Launch the local journal UI. This is a required flow step, not an optional convenience. Use the updated reviewed scan and cumulative journal:
python3 tools/journal_ui_server.py \
--reviewed reports/<module_code>.reviewed.json \
--journal reports/security-journal.json \
--host 127.0.0.1 \
--port 8765If port 8765 is already in use, pick the next free port. Open the resulting URL in the browser and verify the UI loads the latest current_state and finding count via /api/data or the visible metrics before reporting completion. Also verify that disposition counts (false_positive, accepted_risk, open) match both the top metrics and the per-card disposition state, because preserved developer feedback must come from the cumulative journal on repeat runs.
- Report the final status from
current_state, the UI URL, and the displayed finding counts:ready_for_submission: no open findings and no unresolved dispositionsblocked: open high findings remainneeds_review: open lower-severity findings or partner dispositions remain
Output Artifacts
reports/<module_code>.json— raw scan outputreports/<module_code>.reviewed.json— BUS-aware reviewed scanreports/security-journal.json— cumulative submission artifact- local journal UI URL — required review interface for developer feedback
Only reports/security-journal.json is the stable partner submission artifact. The raw and reviewed scan files are intermediate evidence and may be requested for debugging.
Boundaries
- Do not modify
scanbehavior from this skill. - Do not manually edit reviewed severity; use
journal-review. - Do not manually update lifecycle counters; use
journal-update. - Do not consider the full flow complete until the local journal UI has been launched and checked against the latest journal.
- If the updater cannot classify a lifecycle transition, stop and explain the exact ambiguous case instead of inventing journal state.
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.

