Arckit tcop

From tractorjuice/arckit-codex · View interactive version

Arckit tcop is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Generate a Technology Code of Practice (TCoP) review document for a UK Government technology project

How to use this skill

Skill file

Technology Code of Practice Review

You are helping to conduct a Technology Code of Practice (TCoP) review for a UK Government technology project or programme.

User Input

$ARGUMENTS

Context

The Technology Code of Practice is a set of 13 criteria to help government design, build and buy technology.

GOV.UK's TCoP page still describes TCoP as the standard for the Cabinet Office spend control process, but the digital and technology spend controls were removed on 1 April 2026. The Digital Assurance Playbook replaced them:

Do not describe a "spend control submission" or "GDS spend approval" in the review. Name the approval and assurance route that applies to the project instead.

TCoP Reference: https://www.gov.uk/guidance/the-technology-code-of-practice

Digital Assurance Playbook: https://www.gov.uk/government/publications/digital-assurance-playbook/digital-assurance-playbook

Your Task

Generate a comprehensive TCoP review document by:

  1. Loading the template (with user override support):

> Tip: Users can customize templates with $arckit-customize tcop

  1. Read Available Documents:

> Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

MANDATORY (warn if missing):

RECOMMENDED (read if available, note if missing):

OPTIONAL (read if available, skip silently if missing):

  1. Assess compliance: Based on the user's description and any existing project documentation, assess compliance against all 13 TCoP points:
  1. Read external documents and policies:
  1. For each TCoP point:
  1. Provide realistic assessments:
  1. Generate compliance scorecard: Create a summary showing status of all 13 points
  1. Prioritize actions: Identify critical issues requiring immediate attention
  1. Detect version: follow .arckit/references/version-detection.md for ARC-{PROJECT_ID}-TCOP-v*.md in the project directory, comparing against the current project state and compliance evidence. For a TCoP review:

Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus the TCOP per-type checks pass. Fix any failures before proceeding.

  1. Save the document: Write to projects/[project-folder]/ARC-{PROJECT_ID}-TCOP-v${VERSION}.md

CRITICAL - Auto-Populate Document Control Fields:

Before completing the document, populate ALL document control fields in the header:

Step 1: Construct Document ID

Step 2: Populate Required Fields

Auto-populated fields (populate these automatically):

User-provided fields (extract from project metadata or user input):

Calculated fields:

Pending fields (leave as [PENDING] until manually updated):

Step 3: Populate Revision History

| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-tcop` command | [PENDING] | [PENDING] |

Step 4: Populate Generation Metadata Footer

The footer should be populated with:

**Generated by**: ArcKit `$arckit-tcop` command
**Generated on**: {DATE} {TIME} GMT
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: {PROJECT_NAME} (Project {PROJECT_ID})
**AI Model**: [Use actual model name, e.g., "Claude Sonnet 5 (session default)"]
**Generation Context**: [Brief note about source documents used]

Example Rendered Header and Revision History

## Document Control

<!-- DOC-CONTROL-HEADER -->
<!-- Resolved at command-execution time per _partials/RENDERING.md. -->

## Revision History

| Version | Date | Author | Changes | Approved By | Approval Date |
|---------|------|--------|---------|-------------|---------------|
| 1.0 | 2025-10-29 | ArcKit AI | Initial creation from `$arckit-tcop` command | [PENDING] | [PENDING] |

Output Format

The document must include:

Assessment Guidelines

When assessing compliance:

Common critical issues:

Project phases matter:

Special Considerations

For AI/ML systems: Also consider requirements from the AI Playbook (may need ATRS - Algorithmic Transparency Record)

For public-facing services: Point 13 (Service Standard) is mandatory - must pass GDS service assessments

For approval and assurance under the Digital Assurance Playbook: In the GovS 005 governance obligations, record which route applies:

Give particular attention to these points:

Data protection: If processing personal data, Point 7 is critical - DPIA completion is mandatory before going live

UK Government Context

Be aware of:

Example Output Structure

# Technology Code of Practice (TCoP) Review

**Project**: Benefits Eligibility Chatbot
**Overall TCoP Compliance**: Partially Compliant

## TCoP Point 1: Define User Needs
**Status**: ✅ Compliant
**Evidence**: User research completed with 50+ DWP claimants...
[Checked items and gaps listed]

## TCoP Point 6: Make Things Secure
**Status**: ⚠️ Partially Compliant
**Evidence**: Threat model exists, but penetration testing not yet completed...
**Gaps/Actions Required**:
- Schedule pen test before Private Beta (HIGH PRIORITY)
...

## Overall Compliance Summary
**Score**: 9/13 Compliant (3 Partially Compliant, 1 N/A)
**Critical Issues**:
1. DPIA not completed (Point 7) - BLOCKING for Beta
2. Accessibility audit incomplete (Point 2) - Required for Beta

Notes

Generate the TCoP review now based on the project information provided.

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.