{"skills":[{"name":"Check whether furniture will fit through the delivery route","description":"Test a packed item against doors and straight passages and identify which turns or clearances still need measuring.","content":"# Check whether furniture will fit through the delivery route\n\nTest a packed item against doors and straight passages and identify which turns or clearances still need measuring.\n\n## When to use this skill\n\n- Someone is buying a sofa, bed, wardrobe or appliance and wants to know if it will get through the front door, hall and stairs.\n- A delivery has already failed at one point and the person wants to know what else to measure before rebooking.\n- The retailer has given packed carton sizes and the person has measured their doorways.\n\n## When not to use it\n\n- Planning to take doors off, remove banisters or lift items through a window. The delivery team or a tradesperson must assess that on site.\n- Whether the item suits the room once inside, such as space to open doors or walk round it.\n- Retailer delivery terms, failed-delivery charges or return rights. Check the retailer's terms before ordering.\n\n## What you need\n\n- Packaged dimensions for each separate piece, allowed orientations, delivery margin and confirmed removable parts.\n- The access route in order with clear openings, turns, landings and lifts. Supply actual clear widths after handles or rails.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What are the packed dimensions of each separate carton, and has the retailer confirmed whether any piece can be unboxed or have legs removed?\n- Must the item stay upright, or can it be tipped on its side or end?\n- What is the route in order from the van to the room, with the clear width and height of each opening after handles, rails, radiators and door stops?\n- Are there turns, landings, low ceilings or lifts, and how deep and wide is the space at each one?\n\n## Method\n\n1. List the route in order from kerb to room: every door, hall, stair, landing, turn and lift. For each, record the clear width and height at the narrowest point after handles, hinges, door stops, rails and radiators. A door leaf size or a building regulations clear width is not enough, because regulations measure ignoring handles.\n2. Use the packed carton dimensions for each separate piece until the retailer confirms it can be unpacked or have parts removed. Convert everything to millimetres.\n3. Fix the permitted orientations. If the item must stay upright, its height stays vertical, and when it moves length first the cross-section is its width by its height. Add the agreed handling margin to each of those dimensions.\n4. At each straight opening, compare both cross-section dimensions with the clear width and height together, in each permitted orientation, and record the slack, which may be negative.\n5. At every turn, landing and lift, check the turning space, headroom and the lift's internal size and door, not only the openings either side. If any of these is unmeasured, mark the stage to measure even when both doors pass.\n6. Report the first stage that fails or cannot be assessed. Keep a failure on known dimensions separate from a stage that is only unmeasured, and give the smallest slack.\n7. Where only tipping, angling or a diagonal move would work, say the route depends on the delivery team's judgement on site and do not report it as passing.\n\n## Checks before you deliver\n\n- A sofa\u2019s assembled seat width can be smaller than the carton.\n- Area alone cannot establish whether an object fits. A tall narrow box and short wide opening can have the same area.\n- Measuring the door leaf or frame instead of the clear gap left by the open door, the stop and the handle.\n- Checking only the doors and not the turn between them, where long items most often stick.\n- Tipping a carton marked to stay upright to make the numbers work.\n\n## How to present the result\n\nLead with the verdict: passes the checks given, blocked at a named point, or needs a measurement at a named point. Then give the route as a table in order: stage, clear width and height, required size with margin, slack and result. Finish with the measurements still needed and what to ask the retailer, such as removable legs or a different packing.\n\n## Worked example\n\n**Request:** Check the boxed sofa against both doors.\n\n**Supplied material:**\n\n```text\nCarton L2050 W820 H740 mm. Upright, length first only. Add 10 mm total margin to each cross-section dimension. Straight approach and exit.\nPorch clear W900 H2050. Hall clear W825 H1980 after handles.\n```\n\n**Answer:** The porch passes. At the hall, the upright carton needs 830 mm including your clearance, but the clear opening is 825 mm. This route falls short by 5 mm.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn route_status as 'passes-stated-checks', 'blocked' or 'measure', and first_issue as the first unresolved or failed stage name, or null. Return clearance_mm as the smallest remaining slack at the issue opening (or across all checked openings if they pass), after the stated total margin, or null for an unknown turn. For upright length-first movement use carton width and height.\n\n## Sources\n\n- [Manor Furniture: measuring delivery access](https:\/\/www.manorfurniture.co.uk\/guides\/measure-furniture-delivery-access\/): A UK furniture retailer's guide to measuring the narrowest usable gap between frame, handle and fixed obstructions along the whole route. It warns that corners need room to rotate the item and that packed sizes can exceed assembled ones. This is why the skill checks every stage and treats an unmeasured turn as unresolved.\n- [Approved Document M, volume 1: dwellings (England)](https:\/\/assets.publishing.service.gov.uk\/government\/uploads\/system\/uploads\/attachment_data\/file\/540330\/BR_PDF_AD_M1_2015_with_2016_amendments_V3.pdf): Diagram 1.1 defines a door's clear opening width as the gap from the door frame or stop to the face of the open door, and says handles and other door furniture are ignored for that measurement. A regulation width can therefore overstate the gap a carton can use, which is why the skill asks for the width after handles.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/furniture-delivery-fit\n","scope":"contextual","trigger_keywords":["Check whether furniture will fit through the delivery route","furniture-delivery-fit","furniture delivery fit","Will this sofa fit through my front door and up the stairs?","Will this sofa fit through my front door and up the stairs","will this sofa fit","will this furniture fit","furniture fit through"],"is_private":true,"is_active":true,"scripts":[{"name":"furniture-delivery-fit-check","description":"Compare a saved JSON answer with a published test. Pass tests\/case-1\/expected.json (or another case) and the path to your answer.","language":"python","filename":"furniture-delivery-fit-check.py","content":"from pathlib import Path\nimport runpy\n\nrunpy.run_path(str(Path(__file__).parent \/ 'tests' \/ 'check.py'), run_name='__main__')\n","supporting_files":[{"path":"SKILL.md","content":"---\nname: furniture-delivery-fit\ndescription: \"Check a packed sofa, wardrobe or other large item against each door, hall, stair, turn and lift on the delivery route, with the handling margin, and name the first point that fails or needs measuring. Use when someone asks whether furniture will fit through their door, hall or stairs.\"\nlicense: CC-BY-4.0\nmetadata:\n  author: Raq.com\n  version: \"2026-11-22\"\n  homepage: https:\/\/skills.raq.com\/skills\/furniture-delivery-fit\n---\n\n# Check whether furniture will fit through the delivery route\n\nTest a packed item against doors and straight passages and identify which turns or clearances still need measuring.\n\n## When to use this skill\n\n- Someone is buying a sofa, bed, wardrobe or appliance and wants to know if it will get through the front door, hall and stairs.\n- A delivery has already failed at one point and the person wants to know what else to measure before rebooking.\n- The retailer has given packed carton sizes and the person has measured their doorways.\n\n## When not to use it\n\n- Planning to take doors off, remove banisters or lift items through a window. The delivery team or a tradesperson must assess that on site.\n- Whether the item suits the room once inside, such as space to open doors or walk round it.\n- Retailer delivery terms, failed-delivery charges or return rights. Check the retailer's terms before ordering.\n\n## What you need\n\n- Packaged dimensions for each separate piece, allowed orientations, delivery margin and confirmed removable parts.\n- The access route in order with clear openings, turns, landings and lifts. Supply actual clear widths after handles or rails.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What are the packed dimensions of each separate carton, and has the retailer confirmed whether any piece can be unboxed or have legs removed?\n- Must the item stay upright, or can it be tipped on its side or end?\n- What is the route in order from the van to the room, with the clear width and height of each opening after handles, rails, radiators and door stops?\n- Are there turns, landings, low ceilings or lifts, and how deep and wide is the space at each one?\n\n## Method\n\n1. List the route in order from kerb to room: every door, hall, stair, landing, turn and lift. For each, record the clear width and height at the narrowest point after handles, hinges, door stops, rails and radiators. A door leaf size or a building regulations clear width is not enough, because regulations measure ignoring handles.\n2. Use the packed carton dimensions for each separate piece until the retailer confirms it can be unpacked or have parts removed. Convert everything to millimetres.\n3. Fix the permitted orientations. If the item must stay upright, its height stays vertical, and when it moves length first the cross-section is its width by its height. Add the agreed handling margin to each of those dimensions.\n4. At each straight opening, compare both cross-section dimensions with the clear width and height together, in each permitted orientation, and record the slack, which may be negative.\n5. At every turn, landing and lift, check the turning space, headroom and the lift's internal size and door, not only the openings either side. If any of these is unmeasured, mark the stage to measure even when both doors pass.\n6. Report the first stage that fails or cannot be assessed. Keep a failure on known dimensions separate from a stage that is only unmeasured, and give the smallest slack.\n7. Where only tipping, angling or a diagonal move would work, say the route depends on the delivery team's judgement on site and do not report it as passing.\n\n## Checks before you deliver\n\n- A sofa\u2019s assembled seat width can be smaller than the carton.\n- Area alone cannot establish whether an object fits. A tall narrow box and short wide opening can have the same area.\n- Measuring the door leaf or frame instead of the clear gap left by the open door, the stop and the handle.\n- Checking only the doors and not the turn between them, where long items most often stick.\n- Tipping a carton marked to stay upright to make the numbers work.\n\n## How to present the result\n\nLead with the verdict: passes the checks given, blocked at a named point, or needs a measurement at a named point. Then give the route as a table in order: stage, clear width and height, required size with margin, slack and result. Finish with the measurements still needed and what to ask the retailer, such as removable legs or a different packing.\n\n## Worked example\n\n**Request:** Check the boxed sofa against both doors.\n\n**Supplied material:**\n\n```text\nCarton L2050 W820 H740 mm. Upright, length first only. Add 10 mm total margin to each cross-section dimension. Straight approach and exit.\nPorch clear W900 H2050. Hall clear W825 H1980 after handles.\n```\n\n**Answer:** The porch passes. At the hall, the upright carton needs 830 mm including your clearance, but the clear opening is 825 mm. This route falls short by 5 mm.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn route_status as 'passes-stated-checks', 'blocked' or 'measure', and first_issue as the first unresolved or failed stage name, or null. Return clearance_mm as the smallest remaining slack at the issue opening (or across all checked openings if they pass), after the stated total margin, or null for an unknown turn. For upright length-first movement use carton width and height.\n\n## Sources\n\n- [Manor Furniture: measuring delivery access](https:\/\/www.manorfurniture.co.uk\/guides\/measure-furniture-delivery-access\/): A UK furniture retailer's guide to measuring the narrowest usable gap between frame, handle and fixed obstructions along the whole route. It warns that corners need room to rotate the item and that packed sizes can exceed assembled ones. This is why the skill checks every stage and treats an unmeasured turn as unresolved.\n- [Approved Document M, volume 1: dwellings (England)](https:\/\/assets.publishing.service.gov.uk\/government\/uploads\/system\/uploads\/attachment_data\/file\/540330\/BR_PDF_AD_M1_2015_with_2016_amendments_V3.pdf): Diagram 1.1 defines a door's clear opening width as the gap from the door frame or stop to the face of the open door, and says handles and other door furniture are ignored for that measurement. A regulation width can therefore overstate the gap a carton can use, which is why the skill asks for the width after handles.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/furniture-delivery-fit\n"},{"path":"LICENSE.txt","content":"Original Raq.com instructions and synthetic examples: CC BY 4.0.\nhttps:\/\/creativecommons.org\/licenses\/by\/4.0\/\nAttribution: Raq.com, https:\/\/skills.raq.com\/skills\/furniture-delivery-fit\nReferenced third-party materials retain their own terms.\n"},{"path":"examples\/worked-example.md","content":"# Handle reduces the doorway\n\nCheck the boxed sofa against both doors.\n\n## Supplied material\n\nCarton L2050 W820 H740 mm. Upright, length first only. Add 10 mm total margin to each cross-section dimension. Straight approach and exit.\nPorch clear W900 H2050. Hall clear W825 H1980 after handles.\n\n## Worked answer\n\nThe porch passes. At the hall, the upright carton needs 830 mm including your clearance, but the clear opening is 825 mm. This route falls short by 5 mm.\n\n## Reasoning\n\nThe hall clears the bare box by 5 mm but misses the required handling margin by 5 mm.\n"},{"path":"tests\/check.py","content":"\"\"\"Check a saved agent answer locally with Python 3 (standard library only).\"\"\"\nimport json\nimport math\nimport sys\nfrom pathlib import Path\n\n\ndef compare(expected, actual, path=\"$\", accepted=None):\n    if isinstance(expected, bool) or isinstance(actual, bool):\n        if expected is not actual:\n            yield path\n    elif isinstance(expected, (int, float)) and isinstance(actual, (int, float)):\n        if not math.isclose(expected, actual, rel_tol=0, abs_tol=1e-8):\n            yield path\n    elif isinstance(expected, dict) and isinstance(actual, dict):\n        for key in sorted(set(expected) | set(actual)):\n            if key not in expected or key not in actual:\n                yield f\"{path}.{key}\"\n            elif not any(\n                not list(compare(option, actual[key]))\n                for option in (accepted or {}).get(key, [])\n            ):\n                yield from compare(expected[key], actual[key], f\"{path}.{key}\")\n    elif isinstance(expected, list) and isinstance(actual, list):\n        if len(expected) != len(actual):\n            yield f\"{path} (length)\"\n        for i, (left, right) in enumerate(zip(expected, actual)):\n            yield from compare(left, right, f\"{path}[{i}]\")\n    elif type(expected) != type(actual) or expected != actual:\n        yield path\n\n\ndef main():\n    if len(sys.argv) != 3:\n        raise SystemExit(\"Usage: python3 check.py expected.json answer.json\")\n    try:\n        expected, actual = [json.loads(Path(p).read_text(encoding=\"utf-8\")) for p in sys.argv[1:]]\n        alternatives = Path(sys.argv[1]).with_name(\"accepted.json\")\n        accepted = json.loads(alternatives.read_text(encoding=\"utf-8\")) if alternatives.is_file() else {}\n    except (ValueError, OSError) as error:\n        raise SystemExit(str(error))\n    differences = list(compare(expected, actual, accepted=accepted))\n    if differences:\n        raise SystemExit(\"Different fields: \" + \", \".join(differences))\n    print(\"Pass\")\n\n\nif __name__ == \"__main__\":\n    main()\n"},{"path":"tests\/README.md","content":"Give your agent SKILL.md and one request.txt in a fresh session. Keep the expected answer aside. Save the reply as answer.json, then run this from the tests folder:\n\n    python3 check.py case-1\/expected.json answer.json\n\nEach case also has an explanation. Where accepted.json exists, the checker accepts the alternatives listed there.\n"},{"path":"tests\/case-1\/request.txt","content":"Check the boxed sofa against both doors.\nReturn only the JSON specified in SKILL.md for this test.\n\nCarton L2050 W820 H740 mm. Upright, length first only. Add 10 mm total margin to each cross-section dimension. Straight approach and exit.\nPorch clear W900 H2050. Hall clear W825 H1980 after handles.\n"},{"path":"tests\/case-1\/expected.json","content":"{\n    \"route_status\": \"blocked\",\n    \"first_issue\": \"Hall\",\n    \"clearance_mm\": -5\n}\n"},{"path":"tests\/case-1\/explanation.txt","content":"The hall clears the bare box by 5 mm but misses the required handling margin by 5 mm.\n"},{"path":"tests\/case-2\/request.txt","content":"Can we confirm the delivery route for this wardrobe?\nReturn only the JSON specified in SKILL.md for this test.\n\nCarton L1700 W600 H800 mm, upright length first only. Total margin 20 mm. Front door clear W850 H1950. Landing is a right-angle turn, depth unknown. Bedroom door clear W820 H1950.\n"},{"path":"tests\/case-2\/expected.json","content":"{\n    \"route_status\": \"measure\",\n    \"first_issue\": \"Landing\",\n    \"clearance_mm\": null\n}\n"},{"path":"tests\/case-2\/explanation.txt","content":"Checking both doors cannot settle whether a 1.7 m carton can turn on the landing.\n"}],"is_active":true,"is_approved":false}]}]}