A place to cache linked articles (think custom and personal wayback machine)
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.md 25KB

4 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. title: U.S. Digital Services Playbook
  2. url: https://playbook.cio.gov/
  3. hash_url: 453b32d5199b5c977224a58d77efd2cf
  4. <div id="plays" class="outer_container">
  5. <div class="inner_container">
  6. <h6>PLAY 1</h6>
  7. <h2 class="display">Understand what people need</h2>
  8. <p>We must begin digital projects by exploring and pinpointing the needs of the people who will use the service, and the ways the service will fit into their lives. Whether the users are members of the public or government employees, policy makers must include real people in their design process from the beginning. The needs of people — not constraints of government structures or silos — should inform technical and design decisions. We need to continually test the products we build with real people to keep us honest about what is important.</p>
  9. <h3>Checklist</h3>
  10. <ol>
  11. <li>Early in the project, spend time with current and prospective users of the service</li>
  12. <li>Use a range of qualitative and quantitative research methods to determine people’s goals, needs, and behaviors; be thoughtful about the time spent</li>
  13. <li>Test prototypes of solutions with real people, in the field if possible</li>
  14. <li>Document the findings about user goals, needs, behaviors, and preferences</li>
  15. <li>Share findings with the team and agency leadership</li>
  16. <li>Create a prioritized list of tasks the user is trying to accomplish, also known as "user stories"</li>
  17. <li>As the digital service is being built, regularly test it with potential users to ensure it meets people’s needs</li>
  18. </ol>
  19. <h3>Key Questions</h3>
  20. <ul>
  21. <li>Who are your primary users?</li>
  22. <li>What user needs will this service address?</li>
  23. <li>Why does the user want or need this service?</li>
  24. <li>Which people will have the most difficulty with the service?</li>
  25. <li>Which research methods were used?</li>
  26. <li>What were the key findings?</li>
  27. <li>How were the findings documented? Where can future team members access the documentation?</li>
  28. <li>How often are you testing with real people?</li>
  29. </ul>
  30. </div>
  31. <div class="inner_container">
  32. <h6>PLAY 2</h6>
  33. <h2 class="display">Address the whole experience, from start to finish</h2>
  34. <p>We need to understand the different ways people will interact with our services, including the actions they take online, through a mobile application, on a phone, or in person. Every encounter — whether it's online or offline — should move the user closer towards their goal.</p>
  35. <h3>Checklist</h3>
  36. <ol>
  37. <li>Understand the different points at which people will interact with the service – both online and in person</li>
  38. <li>Identify pain points in the current way users interact with the service, and prioritize these according to user needs</li>
  39. <li>Design the digital parts of the service so that they are integrated with the offline touch points people use to interact with the service</li>
  40. <li>Develop metrics that will measure how well the service is meeting user needs at each step of the service</li>
  41. </ol>
  42. <h3>Key Questions</h3>
  43. <ul>
  44. <li>What are the different ways (both online and offline) that people currently accomplish the task the digital service is designed to help with?</li>
  45. <li>Where are user pain points in the current way people accomplish the task?</li>
  46. <li>Where does this specific project fit into the larger way people currently obtain the service being offered?</li>
  47. <li>What metrics will best indicate how well the service is working for its users?</li>
  48. </ul>
  49. </div>
  50. <div class="inner_container">
  51. <h6>PLAY 3</h6>
  52. <h2 class="display">Make it simple and intuitive</h2>
  53. <p>Using a government service shouldn’t be stressful, confusing, or daunting. It’s our job to build services that are simple and intuitive enough that users succeed the first time, unaided.</p>
  54. <h3>Checklist</h3>
  55. <ol>
  56. <li>Use a simple and flexible design style guide for the service. Use the <a href="https://playbook.cio.gov/designstandards">U.S. Web Design Standards</a> as a default</li>
  57. <li>Use the design style guide consistently for related digital services</li>
  58. <li>Give users clear information about where they are in each step of the process</li>
  59. <li>Follow accessibility best practices to ensure all people can use the service</li>
  60. <li>Provide users with a way to exit and return later to complete the process</li>
  61. <li>Use language that is familiar to the user and easy to understand</li>
  62. <li>Use language and design consistently throughout the service, including online and offline touch points</li>
  63. </ol>
  64. <h3>Key Questions</h3>
  65. <ul>
  66. <li>What primary tasks are the user trying to accomplish?</li>
  67. <li>Is the language as plain and universal as possible?</li>
  68. <li>What languages is your service offered in?</li>
  69. <li>If a user needs help while using the service, how do they go about getting it?</li>
  70. <li>How does the service’s design visually relate to other government services?</li>
  71. </ul>
  72. </div>
  73. <div class="inner_container">
  74. <h6>PLAY 4</h6>
  75. <h2 class="display">Build the service using agile and iterative practices</h2>
  76. <p>We should use an incremental, fast-paced style of software development to reduce the risk of failure. We want to get working software into users’ hands as early as possible to give the design and development team opportunities to adjust based on user feedback about the service. A critical capability is being able to automatically test and deploy the service so that new features can be added often and be put into production easily.</p>
  77. <h3>Checklist</h3>
  78. <ol>
  79. <li>Ship a functioning “minimum viable product” (MVP) that solves a core user need as soon as possible, no longer than three months from the beginning of the project, using a “beta” or “test” period if needed</li>
  80. <li>Run usability tests frequently to see how well the service works and identify improvements that should be made</li>
  81. <li>Ensure the individuals building the service communicate closely using techniques such as launch meetings, war rooms, daily standups, and team chat tools</li>
  82. <li>Keep delivery teams small and focused; limit organizational layers that separate these teams from the business owners</li>
  83. <li>Release features and improvements multiple times each month</li>
  84. <li>Create a prioritized list of features and bugs, also known as the “feature backlog” and “bug backlog”</li>
  85. <li>Use a source code version control system</li>
  86. <li>Give the entire project team access to the issue tracker and version control system</li>
  87. <li>Use code reviews to ensure quality</li>
  88. </ol>
  89. <h3>Key Questions</h3>
  90. <ul>
  91. <li>How long did it take to ship the MVP? If it hasn't shipped yet, when will it?</li>
  92. <li>How long does it take for a production deployment?</li>
  93. <li>How many days or weeks are in each iteration/sprint?</li>
  94. <li>Which version control system is being used?</li>
  95. <li>How are bugs tracked and tickets issued? What tool is used?</li>
  96. <li>How is the feature backlog managed? What tool is used?</li>
  97. <li>How often do you review and reprioritize the feature and bug backlog?</li>
  98. <li>How do you collect user feedback during development? How is that feedback used to improve the service?</li>
  99. <li>At each stage of usability testing, which gaps were identified in addressing user needs?</li>
  100. </ul>
  101. </div>
  102. <div class="inner_container">
  103. <h6>PLAY 5</h6>
  104. <h2 class="display">Structure budgets and contracts to support delivery</h2>
  105. <p>To improve our chances of success when contracting out development work, we need to work with experienced budgeting and contracting officers. In cases where we use third parties to help build a service, a well-defined contract can facilitate good development practices like conducting a research and prototyping phase, refining product requirements as the service is built, evaluating open source alternatives, ensuring frequent delivery milestones, and allowing the flexibility to purchase cloud computing resources.</p>
  106. <p><a href="https://playbook.cio.gov/techfar/">The TechFAR Handbook</a> provides a detailed explanation of the flexibilities in the Federal Acquisition Regulation (FAR) that can help agencies implement this play.</p>
  107. <h3>Checklist</h3>
  108. <ol>
  109. <li>Budget includes research, discovery, and prototyping activities</li>
  110. <li>Contract is structured to request frequent deliverables, not multi-month milestones</li>
  111. <li>Contract is structured to hold vendors accountable to deliverables</li>
  112. <li>Contract gives the government delivery team enough flexibility to adjust feature prioritization and delivery schedule as the project evolves</li>
  113. <li>Contract ensures open source solutions are evaluated when technology choices are made</li>
  114. <li>Contract specifies that software and data generated by third parties remains under our control, and can be reused and released to the public as appropriate and in accordance with the law</li>
  115. <li>Contract allows us to use tools, services, and hosting from vendors with a variety of pricing models, including fixed fees and variable models like “pay-for-what-you-use” services</li>
  116. <li>Contract specifies a warranty period where defects uncovered by the public are addressed by the vendor at no additional cost to the government</li>
  117. <li>Contract includes a transition of services period and transition-out plan</li>
  118. </ol>
  119. <h3>Key Questions</h3>
  120. <ul>
  121. <li>What is the scope of the project? What are the key deliverables?</li>
  122. <li>What are the milestones? How frequent are they?</li>
  123. <li>What are the performance metrics defined in the contract (e.g., response time, system uptime, time period to address priority issues)?</li>
  124. </ul>
  125. </div>
  126. <div class="inner_container">
  127. <h6>PLAY 6</h6>
  128. <h2 class="display">Assign one leader and hold that person accountable</h2>
  129. <p>There must be a single product owner who has the authority and responsibility to assign tasks and work elements; make business, product, and technical decisions; and be accountable for the success or failure of the overall service. This product owner is ultimately responsible for how well the service meets needs of its users, which is how a service should be evaluated. The product owner is responsible for ensuring that features are built and managing the feature and bug backlogs.</p>
  130. <h3>Checklist</h3>
  131. <ol>
  132. <li>A product owner has been identified</li>
  133. <li>All stakeholders agree that the product owner has the authority to assign tasks and make decisions about features and technical implementation details</li>
  134. <li>The product owner has a product management background with technical experience to assess alternatives and weigh tradeoffs</li>
  135. <li>The product owner has a work plan that includes budget estimates and identifies funding sources</li>
  136. <li>The product owner has a strong relationship with the contracting officer</li>
  137. </ol>
  138. <h3>Key Questions</h3>
  139. <ul>
  140. <li>Who is the product owner?</li>
  141. <li>What organizational changes have been made to ensure the product owner has sufficient authority over and support for the project?</li>
  142. <li>What does it take for the product owner to add or remove a feature from the service?</li>
  143. </ul>
  144. </div>
  145. <div class="inner_container">
  146. <h6>PLAY 7</h6>
  147. <h2 class="display">Bring in experienced teams</h2>
  148. <p>We need talented people working in government who have experience creating modern digital services. This includes bringing in seasoned product managers, engineers, and designers. When outside help is needed, our teams should work with contracting officers who understand how to evaluate third-party technical competency so our teams can be paired with contractors who are good at both building and delivering effective digital services. The makeup and experience requirements of the team will vary depending on the scope of the project.</p>
  149. <h3>Checklist</h3>
  150. <ol>
  151. <li>Member(s) of the team have experience building popular, high-traffic digital services</li>
  152. <li>Member(s) of the team have experience designing mobile and web applications</li>
  153. <li>Member(s) of the team have experience using automated testing frameworks</li>
  154. <li>Member(s) of the team have experience with modern development and operations (DevOps) techniques like continuous integration and continuous deployment</li>
  155. <li>Member(s) of the team have experience securing digital services</li>
  156. <li>A Federal contracting officer is on the internal team if a third party will be used for development work</li>
  157. <li>A Federal budget officer is on the internal team or is a partner</li>
  158. <li>The appropriate privacy, civil liberties, and/or legal advisor for the department or agency is a partner</li>
  159. </ol>
  160. </div>
  161. <div class="inner_container">
  162. <h6>PLAY 8</h6>
  163. <h2 class="display">Choose a modern technology stack</h2>
  164. <p>The technology decisions we make need to enable development teams to work efficiently and enable services to scale easily and cost-effectively. Our choices for hosting infrastructure, databases, software frameworks, programming languages and the rest of the technology stack should seek to avoid vendor lock-in and match what successful modern consumer and enterprise software companies would choose today. In particular, digital services teams should consider using open source, cloud-based, and commodity solutions across the technology stack, because of their widespread adoption and support by successful consumer and enterprise technology companies in the private sector.</p>
  165. <h3>Checklist</h3>
  166. <ol>
  167. <li>Choose software frameworks that are commonly used by private-sector companies creating similar services</li>
  168. <li>Whenever possible, ensure that software can be deployed on a variety of commodity hardware types</li>
  169. <li>Ensure that each project has clear, understandable instructions for setting up a local development environment, and that team members can be quickly added or removed from projects</li>
  170. <li><a href="http://www.whitehouse.gov/sites/default/files/omb/assets/egov_docs/memotociostechnologyneutrality.pdf">Consider open source software solutions</a> at every layer of the stack</li>
  171. </ol>
  172. <h3>Key Questions</h3>
  173. <ul>
  174. <li>What is your development stack and why did you choose it?</li>
  175. <li>Which databases are you using and why did you choose them?</li>
  176. <li>How long does it take for a new team member to start developing?</li>
  177. </ul>
  178. </div>
  179. <div class="inner_container">
  180. <h6>PLAY 9</h6>
  181. <h2 class="display">Deploy in a flexible hosting environment</h2>
  182. <p>Our services should be deployed on flexible infrastructure, where resources can be provisioned in real-time to meet spikes traffic and user demand. Our digital services are crippled when we host them in data centers that market themselves as “cloud hosting” but require us to manage and maintain hardware directly. This outdated practice wastes time, weakens our disaster recovery plans, and results in significantly higher costs.</p>
  183. <h3>Checklist</h3>
  184. <ol>
  185. <li>Resources are provisioned on demand</li>
  186. <li>Resources scale based on real-time user demand</li>
  187. <li>Resources are provisioned through an API</li>
  188. <li>Resources are available in multiple regions</li>
  189. <li>We only pay for resources we use</li>
  190. <li>Static assets are served through a content delivery network</li>
  191. <li>Application is hosted on commodity hardware</li>
  192. </ol>
  193. <h3>Key Questions</h3>
  194. <ul>
  195. <li>Where is your service hosted?</li>
  196. <li>What hardware does your service use to run?</li>
  197. <li>What is the demand or usage pattern for your service?</li>
  198. <li>What happens to your service when it experiences a surge in traffic or load?</li>
  199. <li>How much capacity is available in your hosting environment?</li>
  200. <li>How long does it take you to provision a new resource, like an application server?</li>
  201. <li>How have you designed your service to scale based on demand?</li>
  202. <li>How are you paying for your hosting infrastructure (e.g., by the minute, hourly, daily, monthly, fixed)?</li>
  203. <li>Is your service hosted in multiple regions, availability zones, or data centers?</li>
  204. <li>In the event of a catastrophic disaster to a datacenter, how long will it take to have the service operational?</li>
  205. <li>What would be the impact of a prolonged downtime window?</li>
  206. <li>What data redundancy do you have built into the system, and what would be the impact of a catastrophic data loss?</li>
  207. <li>How often do you need to contact a person from your hosting provider to get resources or to fix an issue?</li>
  208. </ul>
  209. </div>
  210. <div class="inner_container">
  211. <h6>PLAY 10</h6>
  212. <h2 class="display">Automate testing and deployments</h2>
  213. <p>Today, developers write automated scripts that can verify thousands of scenarios in minutes and then deploy updated code into production environments multiple times a day. They use automated performance tests which simulate surges in traffic to identify performance bottlenecks. While manual tests and quality assurance are still necessary, automated tests provide consistent and reliable protection against unintentional regressions, and make it possible for developers to confidently release frequent updates to the service.</p>
  214. <h3>Checklist</h3>
  215. <ol>
  216. <li>Create automated tests that verify all user-facing functionality</li>
  217. <li>Create unit and integration tests to verify modules and components</li>
  218. <li>Run tests automatically as part of the build process</li>
  219. <li>Perform deployments automatically with deployment scripts, continuous delivery services, or similar techniques</li>
  220. <li>Conduct load and performance tests at regular intervals, including before public launch</li>
  221. </ol>
  222. <h3>Key Questions</h3>
  223. <ul>
  224. <li>What percentage of the code base is covered by automated tests?</li>
  225. <li>How long does it take to build, test, and deploy a typical bug fix?</li>
  226. <li>How long does it take to build, test, and deploy a new feature into production?</li>
  227. <li>How frequently are builds created?</li>
  228. <li>What test tools are used?</li>
  229. <li>Which deployment automation or continuous integration tools are used?</li>
  230. <li>What is the estimated maximum number of concurrent users who will want to use the system?</li>
  231. <li>How many simultaneous users could the system handle, according to the most recent capacity test?</li>
  232. <li>How does the service perform when you exceed the expected target usage volume? Does it degrade gracefully or catastrophically?</li>
  233. <li>What is your scaling strategy when demand increases suddenly?</li>
  234. </ul>
  235. </div>
  236. <div class="inner_container">
  237. <h6>PLAY 11</h6>
  238. <h2 class="display">Manage security and privacy through reusable processes</h2>
  239. <p>Our digital services have to protect sensitive information and keep systems secure. This is typically a process of continuous review and improvement which should be built into the development and maintenance of the service. At the start of designing a new service or feature, the team lead should engage the appropriate privacy, security, and legal officer(s) to discuss the type of information collected, how it should be secured, how long it is kept, and how it may be used and shared. The sustained engagement of a privacy specialist helps ensure that personal data is properly managed. In addition, a key process to building a secure service is comprehensively testing and certifying the components in each layer of the technology stack for security vulnerabilities, and then to re-use these same pre-certified components for multiple services.</p>
  240. <p>The following checklist provides a starting point, but teams should work closely with their privacy specialist and security engineer to meet the needs of the specific service.</p>
  241. <h3>Checklist</h3>
  242. <ol>
  243. <li>Contact the appropriate privacy or legal officer of the department or agency to determine whether a System of Records Notice (SORN), Privacy Impact Assessment, or other review should be conducted</li>
  244. <li>Determine, in consultation with a records officer, what data is collected and why, how it is used or shared, how it is stored and secured, and how long it is kept</li>
  245. <li>Determine, in consultation with a privacy specialist, whether and how users are notified about how personal information is collected and used, including whether a privacy policy is needed and where it should appear, and how users will be notified in the event of a security breach</li>
  246. <li>Consider whether the user should be able to access, delete, or remove their information from the service</li>
  247. <li>“Pre-certify” the hosting infrastructure used for the project using FedRAMP</li>
  248. <li>Use deployment scripts to ensure configuration of production environment remains consistent and controllable</li>
  249. </ol>
  250. <h3>Key Questions</h3>
  251. <ul>
  252. <li>Does the service collect personal information from the user? How is the user notified of this collection?</li>
  253. <li>Does it collect more information than necessary? Could the data be used in ways an average user wouldn't expect?</li>
  254. <li>How does a user access, correct, delete, or remove personal information?</li>
  255. <li>Will any of the personal information stored in the system be shared with other services, people, or partners?</li>
  256. <li>How and how often is the service tested for security vulnerabilities?</li>
  257. <li>How can someone from the public report a security issue?</li>
  258. </ul>
  259. </div>
  260. <div class="inner_container">
  261. <h6>PLAY 12</h6>
  262. <h2 class="display">Use data to drive decisions</h2>
  263. <p>At every stage of a project, we should measure how well our service is working for our users. This includes measuring how well a system performs and how people are interacting with it in real-time. Our teams and agency leadership should carefully watch these metrics to find issues and identify which bug fixes and improvements should be prioritized. Along with monitoring tools, a feedback mechanism should be in place for people to report issues directly.</p>
  264. <h3>Checklist</h3>
  265. <ol>
  266. <li>Monitor system-level resource utilization in real time</li>
  267. <li>Monitor system performance in real-time (e.g. response time, latency, throughput, and error rates)</li>
  268. <li>Ensure monitoring can measure median, 95th percentile, and 98th percentile performance</li>
  269. <li>Create automated alerts based on this monitoring</li>
  270. <li>Track concurrent users in real-time, and monitor user behaviors in the aggregate to determine how well the service meets user needs</li>
  271. <li>Publish metrics internally</li>
  272. <li>Publish metrics externally</li>
  273. <li>Use an experimentation tool that supports multivariate testing in production</li>
  274. </ol>
  275. <h3>Key Questions</h3>
  276. <ul>
  277. <li>What are the key metrics for the service?</li>
  278. <li>How have these metrics performed over the life of the service?</li>
  279. <li>Which system monitoring tools are in place?</li>
  280. <li>What is the targeted average response time for your service? What percent of requests take more than 1 second, 2 seconds, 4 seconds, and 8 seconds?</li>
  281. <li>What is the average response time and percentile breakdown (percent of requests taking more than 1s, 2s, 4s, and 8s) for the top 10 transactions?</li>
  282. <li>What is the volume of each of your service’s top 10 transactions? What is the percentage of transactions started vs. completed?</li>
  283. <li>What is your service’s monthly uptime target?</li>
  284. <li>What is your service’s monthly uptime percentage, including scheduled maintenance? Excluding scheduled maintenance?</li>
  285. <li>How does your team receive automated alerts when incidents occur?</li>
  286. <li>How does your team respond to incidents? What is your post-mortem process?</li>
  287. <li>Which tools are in place to measure user behavior?</li>
  288. <li>What tools or technologies are used for A/B testing?</li>
  289. <li>How do you measure customer satisfaction?</li>
  290. </ul>
  291. </div>
  292. <div class="inner_container">
  293. <h6>PLAY 13</h6>
  294. <h2 class="display">Default to open</h2>
  295. <p>When we collaborate in the open and publish our data publicly, we can improve Government together. By building services more openly and publishing open data, we simplify the public’s access to government services and information, allow the public to contribute easily, and enable reuse by entrepreneurs, nonprofits, other agencies, and the public.</p>
  296. <h3>Checklist</h3>
  297. <ol>
  298. <li>Offer users a mechanism to report bugs and issues, and be responsive to these reports</li>
  299. <li>Provide datasets to the public, in their entirety, through bulk downloads and APIs (application programming interfaces)</li>
  300. <li>Ensure that data from the service is explicitly in the public domain, and that rights are waived globally via an international public domain dedication, such as the “Creative Commons Zero” waiver</li>
  301. <li>Catalog data in the agency’s enterprise data inventory and add any public datasets to the agency’s public data listing</li>
  302. <li>Ensure that we maintain the rights to all data developed by third parties in a manner that is releasable and reusable at no cost to the public</li>
  303. <li>Ensure that we maintain contractual rights to all custom software developed by third parties in a manner that is publishable and reusable at no cost</li>
  304. <li>When appropriate, create an API for third parties and internal users to interact with the service directly</li>
  305. <li>When appropriate, publish source code of projects or components online</li>
  306. <li>When appropriate, share your development process and progress publicly</li>
  307. </ol>
  308. <h3>Key Questions</h3>
  309. <ul>
  310. <li>How are you collecting user feedback for bugs and issues?</li>
  311. <li>If there is an API, what capabilities does it provide? Who uses it? How is it documented?</li>
  312. <li>If the codebase has not been released under an open source license, explain why.</li>
  313. <li>What components are made available to the public as open source?</li>
  314. <li>What datasets are made available to the public?</li>
  315. </ul>
  316. </div>
  317. </div>