zrwangems/dsh-zrwang-plugin / ars/skills/academic-paper
academic-paper
Flagged学术论文写作:按 IMRaD 或领域结构成稿,含大纲、论证地图、双语摘要、图表与题注、引用格式转换、返修与逐条回复、AI 使用声明。Triggers: write a paper, academic paper, paper outline, revise paper, reviewer comments, rebuttal, citation check, abstract | 写论文, 论文大纲, 修改论文, 审稿意见, 返修, 审稿回复, 引文核对, 写摘要。
_shared/contracts/audit/cross_document_source_manifest.schema.json
View on GitHub{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/Imbad0202/academic-research-skills/shared/contracts/audit/cross_document_source_manifest.schema.json",
"title": "Cross-document consistency source manifest",
"description": "Closed cross-document-source-manifest/1.0 authority for exactly one accepted Stage 4.5 manuscript and one preregistration sidecar projection. Paths are inert relative display paths; this manifest never locates, scans, or fetches content.",
"type": "object",
"additionalProperties": false,
"required": [
"schema_version",
"manifest_id",
"accepted_draft_artifact_id",
"accepted_draft_sha256",
"artifacts",
"manifest_digest"
],
"properties": {
"schema_version": {"const": "cross-document-source-manifest/1.0"},
"manifest_id": {"$ref": "#/$defs/identifier"},
"accepted_draft_artifact_id": {"$ref": "#/$defs/identifier"},
"accepted_draft_sha256": {"$ref": "#/$defs/sha256"},
"artifacts": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {"$ref": "#/$defs/artifact"},
"allOf": [
{
"contains": {
"type": "object",
"properties": {"document_kind": {"const": "manuscript"}},
"required": ["document_kind"]
},
"minContains": 1,
"maxContains": 1
},
{
"contains": {
"type": "object",
"properties": {"document_kind": {"const": "preregistration"}},
"required": ["document_kind"]
},
"minContains": 1,
"maxContains": 1
}
]
},
"manifest_digest": {"$ref": "#/$defs/sha256"}
},
"$defs": {
"identifier": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[a-z0-9][a-z0-9._-]{0,199}$"
},
"sha256": {
"type": "string",
"minLength": 64,
"maxLength": 64,
"pattern": "^[0-9a-f]{64}$"
},
"relative_path": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"pattern": "^[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\uD800-\\uDFFF][^\\\\\\u0000-\\u001f\\u007f-\\u009f\\uD800-\\uDFFF]*$",
"allOf": [
{"not": {"pattern": "(?:^|/)(?:\\.|\\.\\.)(?:/|$)"}},
{"not": {"pattern": "//|/$"}},
{
"not": {
"pattern": "[-------]"
}
}
]
},
"artifact": {
"type": "object",
"additionalProperties": false,
"required": [
"artifact_id",
"document_kind",
"relative_path",
"artifact_state",
"artifact_provenance",
"source_artifact_sha256",
"source_artifact_size_bytes",
"source_content_sha256",
"source_content_utf8_bytes"
],
"properties": {
"artifact_id": {"$ref": "#/$defs/identifier"},
"document_kind": {"enum": ["manuscript", "preregistration"]},
"relative_path": {
"oneOf": [{"$ref": "#/$defs/relative_path"}, {"type": "null"}]
},
"artifact_state": {
"enum": ["present", "source_missing", "access_failed", "retrieval_failed"]
},
"artifact_provenance": {
"enum": [
"author_provided_manuscript",
"author_provided_completed_preregistration",
"synthetic_fixture",
"not_provided"
]
},
"source_artifact_sha256": {
"oneOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]
},
"source_artifact_size_bytes": {
"type": ["integer", "null"],
"minimum": 0,
"maximum": 67108864
},
"source_content_sha256": {
"oneOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]
},
"source_content_utf8_bytes": {
"type": ["integer", "null"],
"minimum": 0,
"maximum": 67108864
}
},
"allOf": [
{
"if": {
"properties": {"artifact_state": {"const": "present"}},
"required": ["artifact_state"]
},
"then": {
"properties": {
"relative_path": {"$ref": "#/$defs/relative_path"},
"source_artifact_sha256": {"$ref": "#/$defs/sha256"},
"source_artifact_size_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 67108864
},
"source_content_sha256": {"$ref": "#/$defs/sha256"},
"source_content_utf8_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 67108864
}
}
},
"else": {
"properties": {
"relative_path": {"type": "null"},
"artifact_provenance": {"const": "not_provided"},
"source_artifact_sha256": {"type": "null"},
"source_artifact_size_bytes": {"type": "null"},
"source_content_sha256": {"type": "null"},
"source_content_utf8_bytes": {"type": "null"}
}
}
},
{
"if": {
"properties": {"document_kind": {"const": "manuscript"}},
"required": ["document_kind"]
},
"then": {
"properties": {
"artifact_state": {"const": "present"},
"artifact_provenance": {
"enum": ["author_provided_manuscript", "synthetic_fixture"]
},
"source_artifact_size_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 8388608
},
"source_content_utf8_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 8388608
}
}
},
"else": {
"if": {
"properties": {"artifact_state": {"const": "present"}},
"required": ["artifact_state"]
},
"then": {
"properties": {
"artifact_provenance": {
"enum": [
"author_provided_completed_preregistration",
"synthetic_fixture"
]
}
}
}
}
}
]
}
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| add-product-e2e-evalpaperclipai/paperclipAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| diagnose-why-work-stoppedpaperclipai/paperclipCompatibility entry point for failed, stalled, looping, or over-recovered Paperclip work. Use fix-failed-paperclip-run for the full diagnosis, regression, repair, real verification, and green-PR workflow; honor an explicitly requested diagnosis-only scope. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| fix-failed-paperclip-runpaperclipai/paperclipDiagnose and fix failed, stuck, slow, or incorrectly blocked Paperclip tasks and runs. Use with a task/run URL or failure report to trace the root cause, prove a regression red then green, check second-order effects, verify the real workflow, and deliver a PR with passing checks. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |