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/tortured_phrase_snapshot.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/tortured_phrase_snapshot.schema.json",
"title": "Tortured-phrase canonical snapshot",
"description": "Closed canonical-AST snapshot for deterministic tortured-phrase list matching. The grammar is positive-only: exclusion contexts are represented solely by rule.exclude_if[]. There is no NOT, regex, wildcard, executable expression, or implicit operator. Cross-rule identifier uniqueness, AST depth, word budgets, and exact snapshot-byte replay are enforced by the runtime.",
"type": "object",
"additionalProperties": false,
"required": [
"schema_version",
"snapshot_id",
"grammar_profile",
"normalizer_profile",
"rules"
],
"properties": {
"schema_version": {
"const": "tortured-phrase-snapshot/1.0"
},
"snapshot_id": {
"$ref": "#/$defs/identifier"
},
"grammar_profile": {
"const": "ars-tortured-phrase-canonical-ast/1.0"
},
"normalizer_profile": {
"const": "ars-nfkc-casefold-token/1.0"
},
"rules": {
"type": "array",
"minItems": 1,
"maxItems": 512,
"uniqueItems": true,
"items": {
"$ref": "#/$defs/rule"
}
}
},
"$defs": {
"identifier": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
},
"literal": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\u0000-\\u001F\\u007F]+$",
"description": "A bounded literal token sequence. Metacharacters have no special meaning: regex and wildcard interpretation are forbidden. The runtime additionally caps a literal at eight normalized tokens."
},
"expression": {
"oneOf": [
{
"$ref": "#/$defs/literal_expression"
},
{
"$ref": "#/$defs/all_expression"
},
{
"$ref": "#/$defs/any_expression"
},
{
"$ref": "#/$defs/near_expression"
}
]
},
"literal_expression": {
"type": "object",
"additionalProperties": false,
"required": [
"op",
"value"
],
"properties": {
"op": {
"const": "literal"
},
"value": {
"$ref": "#/$defs/literal"
}
}
},
"all_expression": {
"type": "object",
"additionalProperties": false,
"required": [
"op",
"terms",
"max_span_tokens"
],
"properties": {
"op": {
"const": "all"
},
"terms": {
"type": "array",
"minItems": 2,
"maxItems": 8,
"uniqueItems": true,
"items": {
"$ref": "#/$defs/expression"
}
},
"max_span_tokens": {
"type": "integer",
"minimum": 1,
"maximum": 64
}
}
},
"any_expression": {
"type": "object",
"additionalProperties": false,
"required": [
"op",
"alternatives"
],
"properties": {
"op": {
"const": "any"
},
"alternatives": {
"type": "array",
"minItems": 2,
"maxItems": 8,
"uniqueItems": true,
"items": {
"$ref": "#/$defs/expression"
}
}
}
},
"near_expression": {
"type": "object",
"additionalProperties": false,
"required": [
"op",
"left",
"right",
"max_gap_tokens",
"ordered"
],
"properties": {
"op": {
"const": "near"
},
"left": {
"$ref": "#/$defs/expression"
},
"right": {
"$ref": "#/$defs/expression"
},
"max_gap_tokens": {
"type": "integer",
"minimum": 0,
"maximum": 64
},
"ordered": {
"type": "boolean"
}
}
},
"exclusion": {
"type": "object",
"additionalProperties": false,
"required": [
"expression",
"within_tokens"
],
"properties": {
"expression": {
"$ref": "#/$defs/expression"
},
"within_tokens": {
"type": "integer",
"minimum": 0,
"maximum": 64
}
}
},
"rule": {
"type": "object",
"additionalProperties": false,
"required": [
"rule_id",
"expression"
],
"properties": {
"rule_id": {
"$ref": "#/$defs/identifier"
},
"expression": {
"$ref": "#/$defs/expression"
},
"exclude_if": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"uniqueItems": true,
"items": {
"$ref": "#/$defs/exclusion"
}
}
}
}
}
}
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 |